writing a batch for a parallel run
Hi All,
I want to write a batch file for a number of parallel runs but am not sure how to do so. I can write a batch file in the form of : "C:\Program Files\Ansys Inc\CFX\CFX-10.0\bin\cfx5solve" -def C:\Engineering\CFD\################ for serial runs, but how do i include runs for a batch process? |
Re: writing a batch for a parallel run
What OS are you using? If you're using Linux or Unix, write a script file for batch processing...
type "cfx5solve -help" or refer to user manual for parallel run.... there's example in user manual anyway. |
Re: writing a batch for a parallel run
im using windows, i cannot find the examlpe in the maual
|
Re: writing a batch for a parallel run
Try something like this:
C:\Progra~1\AnsysI~1\CFX\CFX-10.0\bin\cfx5solve.exe -batch -double -def ./case2.def -ini ./case2_001.res -par-local -part "2" -start-method "MPICH Local Parallel" |
Re: writing a batch for a parallel run
Hi M,
To get details on the syntax of the batch commands open a CFX launcher, Click on Tools--> Command line. Type "cfx5solve -help". You will get all the syntax of the command with examples. It would be easier to run your bacth file from the command line (from CFX Launcher, instead of dos prompt) since you need not specify the whole path of installation! Do the following: 1. Open Notepad/wordpad and scribble the the batch commands as follows: (example for serial runs) cfx5solve -def case1.def cd d:\cfx\case2 # (if the case files are in different folders) cfx5solve -def case2.def 2. Save the notepad file with an extension ".bat" 3. Open the command line from CFX Launcher and type the name of the batch file Hope this helps Regards, test 2. Save the |
All times are GMT -4. The time now is 01:21. |