Difference between revisions of "Ansys"

From HPC users
Jump to navigationJump to search
(Created page with "== Run in parallel == The typical call to launch Ansys CFX program within an SGE script is mpirun -machinefile $TMPDIR/cfx_hostlist -np $NSLOTS <ANSYS_program> <ANSYS_prog...")
 
Line 1: Line 1:
== Run in parallel ==
== Run in parallel ==
The typical call to launch Ansys CFX program within an SGE script is  
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 ....


  mpirun -machinefile $TMPDIR/cfx_hostlist -np $NSLOTS <ANSYS_program> <ANSYS_program_options>


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

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.