[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This section outlines the steps necessary on most Windows systems to set up Dynare for parallel execution.
conffile
command line option. The only restrictions are that the
path must be a valid filename, not contain non-alpha-numeric characters, and not contain any whitespaces.
For the configuration file to be accessible without providing an explicit path at the command line, you must save it
under the name ‘dynare.ini’ into your user account’s Application Data
folder.
!psexec
This executes the ‘psexec.exe’ of the ‘PSTools’ on your system and shows whether Dynare will be able to locate it. If Matlab complains at this stage, you did not correctly set your Windows system path for the ‘PSTools’-folder.
parallel
option and providing the path to your configuration file
with the conffile
-option (if you did not save it as ‘%APPDATA%\dynare.ini’ in step 2
where it should be detected automatically)
dynare ls2003 parallel conffile='C:\Users\Dynare~1\parallel\conf_file.ini' |
Please keep in mind that no whitespaces or names longer than 8 characters are allowed in the conffile
-path.
The 8 character restriction can be circumvented
by using the tilde Windows path notation as in the above example.
Example
#cluster needs to always be defined first [cluster] #Provide a name for the cluster Name=Local #declare the nodes being member of the cluster Members=n1 #declare nodes (they need not all be part of a cluster) [node] #name of the node Name=n1 #name of the computer (localhost for the current machine) ComputerName=localhost #cores to be included from this node CPUnbr=[1:2] #path to matlab.exe; on Windows, Matlab's bin folder is in the system path #so we only need to provide the name of the exe file MatlabOctavePath=matlab #Dynare path you are using DynarePath=C:\dynare\2016-05-10\matlab |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated by Stéphane Adjemian on June 11, 2017 using texi2html 1.82.