Difference between revisions of "Ansys"

From HPC users
Jump to navigationJump to search
 
Line 11: Line 11:
   # read host list in variable MYHOST
   # read host list in variable MYHOST
   MYHOST=$(cat $TMPDIR/cfx_hostlist)
   MYHOST=$(cat $TMPDIR/cfx_hostlist)
 
 
   # start solver (please add additional command line parameter)
   # start solver (please add additional command line parameter)
   cfx5solve -start-method "HP MPI Distributed Parallel" -par-dist $MYHOST ....
   cfx5solve -start-method "HP MPI Distributed Parallel" -par-dist $MYHOST ....

Latest revision as of 12:12, 16 November 2015

Run in parallel

The typical SGE script to launch Ansys CFX program is

 .....
 # here example for 24 processes
 #$ -pe ansys 24  
 
 # load latest module of Ansys CFX
 module load  ansys
 
 # read host list in variable MYHOST
 MYHOST=$(cat $TMPDIR/cfx_hostlist)
 
 # start solver (please add additional command line parameter)
 cfx5solve -start-method "HP MPI Distributed Parallel" -par-dist $MYHOST ....


Please don't forget to load the correct Ansys module before.