CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

writing a batch for a parallel run

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 13, 2005, 05:49
Default writing a batch for a parallel run
  #1
M
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?

  Reply With Quote

Old   December 13, 2005, 07:02
Default Re: writing a batch for a parallel run
  #2
TB
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.
  Reply With Quote

Old   December 13, 2005, 07:28
Default Re: writing a batch for a parallel run
  #3
M
Guest
 
Posts: n/a
im using windows, i cannot find the examlpe in the maual
  Reply With Quote

Old   December 13, 2005, 08:39
Default Re: writing a batch for a parallel run
  #4
Henrik
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"

  Reply With Quote

Old   December 15, 2005, 01:09
Default Re: writing a batch for a parallel run
  #5
test
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
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 04:09.