Running ANSYS CFX5 solver on the HPCC

Tue 30 July 2013 by Dr. Dirk Colbry

Blog post edited by Anonymous - "Migration of unmigrated content due to installation of a new plugin"

The following job submission script should get a parallel MPI solve of the cfx5solver working. In order for this to work on our system I needed to change the ANSYS module file to include setting CFX5RSH to /usr/bin/ssh

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#!/bin/bash -login
#PBS -j oe
#PBS -l walltime=00:10:00,nodes=8:ppn=1,mem=4gb

cd ${PBS_O_WORKDIR}

module load ANSYS

#Hack to create comma seperated list of hosts for this job
echo `cat $PBS_NODEFILE` | sed "s/ /,/g" > Hosts.file
read HOSTS < Hosts.file

cfx5solve -def mymodel.def -start-method 'Platform MPI Distributed Parallel' -par-dist $HOSTS

qstat -f $PBS_JOBID

Users should consider changing the walltime , nodes and def file to get this to work for their program.

View Online

Blogpost migrated from ICER Wiki using custom python script. Comment on errors below.


Comments