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...")
 
 
(One intermediate revision by the same user not shown)
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.

Latest revision as of 11: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.