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

batch mode - parallel run

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2011, 00:15
Default batch mode - parallel run
  #1
New Member
 
Join Date: Nov 2010
Posts: 26
Rep Power: 16
turbotel is on a distinguished road
Hi,
generally in I solve the problem on my server machine.
1 master node & 2 compute node, windows HPC server 2008: OS.
i use "HP MPC local parallel" run mode for solving.
---------------------------------------------------------------
this is my script file for batch mode:

#! perl -w
use strict;
my $solver = "C:/Progra~1/AnsysI~1/v130/CFX/bin/cfx5solve.exe";
die "Unable to find program '$solver'" if ! -f $solver;
system "$solver -def 95000rpm_wo2.def -ini 62000rpm_wo2_002.res -par-local \"TRDCFDMASTER01*14\" -start-method \"MPICH Local Parallel"
================================================== =======
and i'm getting the below error message:

unknown command line option TRDCFDMASTER01*14
================================================== ===
TRDCFDMASTER01 - is my master node's name.

************************************************** **************
I've tried with following changes(red font)

#! perl -w
use strict;
my $solver = "C:/Progra~1/AnsysI~1/v130/CFX/bin/cfx5solve.exe";
die "Unable to find program '$solver'" if ! -f $solver;
system "$solver -def 95000rpm_wo2.def -ini 62000rpm_wo2_002.res -par-dist \"TRDCFDMASTER01*14\" -start-method \"MPICH Local Parallel"

and got the following error.

E:\Projects\CFD\W408\new>perl batch.pl
An error has occurred in cfx5solve:

The solver executable C:\Program Files\ANSYS
Inc\v130\CFX\bin\winnt-amd64\solver-mpich.exe could not be found, or is not
readable.
************************************************** **************************************

pls somebody help.

Last edited by turbotel; March 29, 2011 at 00:21. Reason: add info
turbotel is offline   Reply With Quote

Old   March 29, 2011, 17:42
Default
  #2
New Member
 
sam13
Join Date: Jul 2009
Location: St. John's, NL, Canada
Posts: 23
Rep Power: 17
Shafiul is on a distinguished road
Not sure, could be a syntax error. Try this one:

$solver -def 95000rpm_wo2.def -ini 62000rpm_wo2_002.res -par-local "TRDCFDMASTER01*14" -start-method "MPICH Local Parallel"
Shafiul is offline   Reply With Quote

Old   March 29, 2011, 17:53
Default
  #3
Senior Member
 
Join Date: Apr 2009
Posts: 531
Rep Power: 21
stumpy is on a distinguished road
See "cfx5solve -help". For the first error -par-local doesn't have a list of hosts after it, you should combine this with -part to set the number of partitions. For the second error "MPICH Local Parallel" is not a valid start method - try one of the options listed in the Solver Manager when starting a local parallel job.
stumpy is offline   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
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Error within a batch run Jia Li CFX 7 July 29, 2010 19:54
parallel mode failure in 3ddp but not in 2ddp ak6g08 FLUENT 1 September 22, 2009 07:56
Run in parallel a 2mesh case cosimobianchini OpenFOAM Running, Solving & CFD 2 January 11, 2007 07:33
run f;uent job in batch mode? jx FLUENT 5 July 2, 2003 12:29


All times are GMT -4. The time now is 17:33.