This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:cfd-ace [2015/10/14 12:20] ccrosby |
howto:cfd-ace [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ESI CFD-Ace ====== | ====== ESI CFD-Ace ====== | ||
| - | The CHPC has an installation of the CFD-Ace suite of software, including Ace, Fastran, Geom, View and VisCART, but with no license. | + | The CHPC has an installation of the CFD-Ace suite of software, including Ace, Geom, View and VisCART, but with no license. |
| ===== Installation ===== | ===== Installation ===== | ||
| - | The ESI-CFD suite is installed under '''/ | + | The ESI-CFD suite is installed under '''/ |
| ===== Licensing ===== | ===== Licensing ===== | ||
| - | Because the cluster compute nodes do not have direct access to the internet, it is necessary to use ssh-tunneling through another node to contact the user's license server, which will need to have the license manager and vendor daemon ports open. Tunneling is done via a separate node, chpcsp02, that is not by default accessible to CHPC users. Please apply to [[http:// | + | Because the cluster compute nodes do not have direct access to the internet, it is necessary to use ssh-tunneling through another node to contact the user's license server, which will need to have the license manager and vendor daemon ports open. Tunneling is done via a separate node, chpcslic1. Please apply to [[http:// |
| ===== Running a CFD-Ace Job ===== | ===== Running a CFD-Ace Job ===== | ||
| - | On the CHPC clusters all simulations are submitted as jobs to the PBS Pro job scheduler which will assign your job to the appropriate queue and machine. CFD-Ace runs on the three Intel Xeon based clusters: Nehalem, Westmere and Dell. Unlike other software packages, CFD-Ace is not compatible with the parallel Lustre scratch file system. | + | On the CHPC clusters all simulations are submitted as jobs to the PBS Pro job scheduler which will assign your job to the appropriate queue and machine. |
| Example job script: | Example job script: | ||
| - | <code> | + | <file bash runAce.qsub> |
| #!/bin/bash | #!/bin/bash | ||
| - | ##### The following line will request | + | ##### The following line will request |
| - | ##### a total of 24-way parallel. | + | ##### a total of 24-way parallel. |
| - | #PBS -l select=2:ncpus=12:mpiprocs=12:mem=4GB: | + | #PBS -l select=10:ncpus=24:mpiprocs=24:mem=4GB |
| - | #PBS -q workq | + | #PBS -q normal |
| + | ##### Supply YOUR resource programme code in the next line | ||
| + | #PBS -P MECH0000 | ||
| #PBS -l walltime=1: | #PBS -l walltime=1: | ||
| #### CFD-Ace will not work on scratch, work in home directory: | #### CFD-Ace will not work on scratch, work in home directory: | ||
| - | #PBS -o /export/ | + | #PBS -o / |
| - | #PBS -e /export/ | + | #PBS -e / |
| ##### The following two lines will send the user an e-mail when the job aborts, begins or ends. | ##### The following two lines will send the user an e-mail when the job aborts, begins or ends. | ||
| #PBS -m abe | #PBS -m abe | ||
| Line 35: | Line 37: | ||
| ##### Set up path. To ensure that the compute nodes also have access to this path, | ##### Set up path. To ensure that the compute nodes also have access to this path, | ||
| ##### also add these lines to your .bashrc file | ##### also add these lines to your .bashrc file | ||
| - | export ESI_HOME=/opt/gridware/non-supported/ESI | + | export ESI_HOME=/apps/chpc/compmech/ |
| - | export PATH=$ESI_HOME/ | + | export PATH=$ESI_HOME/ |
| - | export LD_LIBRARY_PATH=$ESI_HOME/ | + | export LD_LIBRARY_PATH=$ESI_HOME/ |
| ##### set up ssh-tunnels to your license server. Obviously use the right port numbers. And server URL. | ##### set up ssh-tunnels to your license server. Obviously use the right port numbers. And server URL. | ||
| #### lmgrd daemon | #### lmgrd daemon | ||
| - | ssh -f username@chpcsp03 | + | ssh -f username@chpclic1 |
| #### vendor daemon port | #### vendor daemon port | ||
| - | ssh -f username@chpcsp03 | + | ssh -f username@chpclic1 |
| #### Tell solver where to look for the license. | #### Tell solver where to look for the license. | ||
| #### localhost is correct here, it follows from the ssh-tunneling | #### localhost is correct here, it follows from the ssh-tunneling | ||
| Line 49: | Line 51: | ||
| #### explicitly set working directory and change to that. | #### explicitly set working directory and change to that. | ||
| #### CFD-Ace will not work on scratch, work in home directory. | #### CFD-Ace will not work on scratch, work in home directory. | ||
| - | export PBS_JOBDIR=/export/ | + | export PBS_JOBDIR=/ |
| cd $PBS_JOBDIR | cd $PBS_JOBDIR | ||
| nproc=`cat $PBS_NODEFILE | wc -l` | nproc=`cat $PBS_NODEFILE | wc -l` | ||
| Line 56: | Line 58: | ||
| CFD-SOLVER --model=test01 --wd=$PBS_JOBDIR --num=$nproc --hosts=$PBS_NODEFILE --sim=1 > test01.out | CFD-SOLVER --model=test01 --wd=$PBS_JOBDIR --num=$nproc --hosts=$PBS_NODEFILE --sim=1 > test01.out | ||
| - | </code> | + | </file> |
| ===== Monitoring a CFD-Ace Job ===== | ===== Monitoring a CFD-Ace Job ===== | ||
| - | There are different ways of monitoring your solution. | + | There are different ways of monitoring your solution. |