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:10]
ccrosby [Installation]
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 15: Line 15:
 ===== Licensing ===== ===== Licensing =====
  
-CHPC has academic licenses for AnsysCFD.  There are "solver" processes, available as "cfd_base" and 4096 "HPC" licenses, available as "anshpc".  There is a license resource management system.  If you request license resources (as in these example scripts), the scheduler will check for license availability before starting a job.  License unavailability will result in the job being held back until the necessary licenses have become available.  Although use of the license resource request is not mandatoryits use is strongly recommended.  If you do not use the license resource requests, the job will fail if no licenses are available.  A single cfd_base license is required to start the solver, and includes up to 4 HPC licenses.  Therefore you should request ($nproc-4) ans_hpc licenses.+CHPC has academic licenses for AnsysCFD.  There are 25 "solver" processes and the license pool is not currently under heavy pressure.  There is a license resource management system to be used for Fluentbut it is not effective for older CFX versions.  
  
 ===== Running a CFX Job ===== ===== Running a CFX Job =====
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.1710400203.txt.gz · Last modified: 2024/03/14 09:10 by ccrosby