|
[Sponsors] |
December 13, 2005, 05:49 |
writing a batch for a parallel run
|
#1 |
Guest
Posts: n/a
|
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? |
|
December 13, 2005, 07:02 |
Re: writing a batch for a parallel run
|
#2 |
Guest
Posts: n/a
|
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. |
|
December 13, 2005, 07:28 |
Re: writing a batch for a parallel run
|
#3 |
Guest
Posts: n/a
|
im using windows, i cannot find the examlpe in the maual
|
|
December 13, 2005, 08:39 |
Re: writing a batch for a parallel run
|
#4 |
Guest
Posts: n/a
|
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" |
|
December 15, 2005, 01:09 |
Re: writing a batch for a parallel run
|
#5 |
Guest
Posts: n/a
|
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel Fluent Error in Batch Mode | Justin | FLUENT | 3 | November 28, 2016 11:50 |
First Parallel Run - need some help | Gian Maria | OpenFOAM | 3 | June 17, 2011 13:08 |
need to run in batch | amazdeh | Main CFD Forum | 0 | September 14, 2009 15:18 |
DPM model in parallel batch mode | Prashanth | FLUENT | 2 | March 6, 2009 08:54 |
Windows 64-bit, Distributed Parallel Run Issues... | Erich | CFX | 3 | March 28, 2006 17:36 |