Creo Simulate > Creo Simulate > Reference Links > –w working_dir1;working_dir2;...
  
–w working_dir1;working_dir2;...
Specifies the location of the directory or directories in which the engine places temporary files during the run. Creo Simulate creates a subdirectory in the working directory called study.tmp (study is the name of the design study you are running), and deletes the directory at the end of the run.
If you are running a large model or the disk space available on your computer is divided among several different directories, it may help to specify multiple working directories for your Creo Simulate job. You can specify the list of directories to be used as working directories from either the operating system command line or by editing the command line in a Creo Simulate batch file.
You specify the list of working directories with the –w option, as follows (where dir1, dir2, and so forth, are your directory names separated by a semi colon):
<install_dir>/bin/msengine... –w dir1;dir2;...;dirn
If you specify multiple working directories, Creo Simulate sequentially places temporary files in the working directories as they reach capacity. When using multiple directories, be sure that you specify enough directories, and that the directories are large enough, to complete your run. If the directories are filled before the run completes, the run will terminate. You must order your directories in the following way to allow for how Creo Simulate places the files:
Large files, with .bas extensions, fill the directories from left to right. Therefore, specify the largest and fastest directories first in the directory list. The .bas files hold data such as the element stiffness and mass matrices and the factored global stiffness matrix.
Creo Simulate fills the first directory you specify in the command line, followed by the second directory, and so on, until it reaches the dirn directory. For example, Creo Simulate uses the directory dir1 until it is filled, then dir2 is used, and so on.
Other files, such as .tmp files, go only into the last directory specified (dirn). The dirn directory must be big enough to hold all of the .tmp files. Be sure that the last directory can hold at least 50 MB of data. On very large models, this directory may need to hold as much as 5 or 6 GB. Again if you exceed the allotted directory space, the run will terminate, so be sure the last directory specified is sufficiently large.
Input and output files (those with the extensions .mdb, .rpt, .stt, .err, or .pas) can go in the last directory specified, or in a separate directory from the –w list. For higher performance during pre- and post-processing, you can move the input and output files back to the fastest disk.
The working directory is the same as the directory for temporary files you specify on the Run Settings dialog box. By default, Creo Simulate places this directory in the current directory.
Return to Use msengine or Restrictions When Specifying Multiple Working Directories.