User Tools

Site Tools


howto:cfx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:cfx [2024/03/14 09:12]
ccrosby [Licensing]
howto:cfx [2025/02/21 12:45] (current)
ccrosby [Running a CFX Job]
Line 9: Line 9:
 ===== Installation ===== ===== Installation =====
  
-CFX versions are installed in ''/apps/chpc/compmech/CFD/ansys_inc/v???/CFX'', where ??? represents the software release version such as 194, for example. Similarly, IcemCFD is installed under ''/apps/chpc/compmech/CFD/ansys_inc/v???/icemcfd''.+CFX versions are installed in ''/apps/chpc/compmech/CFD/ansys_inc/v???/CFX'', where ??? represents the software release version such as 242, for example. Similarly, IcemCFD is installed under ''/apps/chpc/compmech/CFD/ansys_inc/v???/icemcfd''.
  
  
Line 26: Line 26:
 #!/bin/bash #!/bin/bash
 #PBS -P projectid #PBS -P projectid
-#PBS -l select=4:ncpus=24:mpiprocs=24:mem=24GB:nodetype=haswell_reg+#PBS -l select=4:ncpus=24:mpiprocs=24
 #PBS -l walltime=2:00:00 #PBS -l walltime=2:00:00
 #PBS -q normal #PBS -q normal
-#PBS -m be 
 #PBS -V #PBS -V
-#PBS -o /mnt/lustre3p/users/username/testCFX/test.out +#PBS -o /mnt/lustre/users/username/testCFX/test.out 
-#PBS -e /mnt/lustre3p/users/username/testCFX/test.err+#PBS -e /mnt/lustre/users/username/testCFX/test.err
  
 export LM_LICENSE_FILE=1055@login1 export LM_LICENSE_FILE=1055@login1
 export ANSYSLMD_LICENSE_FILE=1055@login1 export ANSYSLMD_LICENSE_FILE=1055@login1
-cd /mnt/lustre3p/users/username/testCFX #change to CFX case directory +#change to CFX case directory 
-export CFX5RSH=ssh #force CFX to use ssh instead of rsh +cd /mnt/lustre/users/username/testCFX  
-cfx=/apps/chpc/compmech/CFD/ansys_inc/v194/CFX/bin/cfx5solve #path to cfx5 solver +#force CFX to use ssh instead of rsh 
-$cfx -batch -def testCFX.def -par-dist $(tr "\n" "," <$PBS_NODEFILE) > runcfx.log+export CFX5RSH=ssh  
 +# Select IntelMPI-2018 instead of 2021 
 +export CFX5_IMPI_DIR=/apps/chpc/compmech/CFD/ansys_inc/v242/commonfiles/MPI/Intel/2018.3.222/linx64 
 +cfx=/apps/chpc/compmech/CFD/ansys_inc/v242/CFX/bin/cfx5solve #path to cfx5 solver 
 +$cfx -batch -def testCFX.def -par-dist $(tr "\n" "," <$PBS_NODEFILE | rev | cut -c2- | rev) > runcfx.log
 </file> </file>
 ===== Different methods of uploading a simulation ===== ===== Different methods of uploading a simulation =====
/app/dokuwiki/data/attic/howto/cfx.1710400370.txt.gz · Last modified: 2024/03/14 09:12 by ccrosby