CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   batch mode - parallel run (https://www.cfd-online.com/Forums/cfx/86636-batch-mode-parallel-run.html)

turbotel March 28, 2011 23:15

batch mode - parallel run
 
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.

Shafiul March 29, 2011 16:42

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"

stumpy March 29, 2011 16:53

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.


All times are GMT -4. The time now is 22:53.