This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:cfx [2016/03/22 14:30] agill |
howto:cfx [2025/02/21 12:45] (current) ccrosby [Running a CFX Job] |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== Application Process ===== | ===== Application Process ===== | ||
| - | If you are a **full time** student or staff at an **academic** institution then you may request access to use Ansys-CFD on the CHPC clusters. | + | If you are a **full time** student or staff at an **academic** institution then you may request access to use Ansys-CFD on the CHPC clusters. |
| ===== Installation ===== | ===== Installation ===== | ||
| - | CFX version 5 is installed in ''/ | + | CFX versions are installed in ''/ |
| Line 15: | Line 15: | ||
| ===== Licensing ===== | ===== Licensing ===== | ||
| - | CHPC has academic licenses for AnsysCFD. | + | CHPC has academic licenses for AnsysCFD. |
| ===== Running a CFX Job ===== | ===== Running a CFX Job ===== | ||
| Line 23: | Line 23: | ||
| Example job script: | Example job script: | ||
| - | <code> | + | <file bash runCFX.qsub> |
| #!/bin/bash | #!/bin/bash | ||
| #PBS -P projectid | #PBS -P projectid | ||
| - | #PBS -l select=4: | + | #PBS -l select=4: |
| #PBS -l walltime=2: | #PBS -l walltime=2: | ||
| #PBS -q normal | #PBS -q normal | ||
| - | #PBS -m be | ||
| #PBS -V | #PBS -V | ||
| - | #PBS -o /home/ | + | #PBS -o /mnt/ |
| - | #PBS -e /home/ | + | #PBS -e /mnt/ |
| - | cd / | + | export LM_LICENSE_FILE=1055@login1 |
| - | export CFX5RSH=ssh | + | export ANSYSLMD_LICENSE_FILE=1055@login1 |
| - | cfx=/ | + | #change to CFX case directory |
| - | $cfx -batch -def testCFX.def -par-dist $(tr " | + | cd / |
| - | </code> | + | #force CFX to use ssh instead of rsh |
| + | export CFX5RSH=ssh | ||
| + | # Select IntelMPI-2018 instead of 2021 | ||
| + | export CFX5_IMPI_DIR=/ | ||
| + | cfx=/ | ||
| + | $cfx -batch -def testCFX.def -par-dist $(tr " | ||
| + | </file> | ||
| ===== Different methods of uploading a simulation ===== | ===== Different methods of uploading a simulation ===== | ||