Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
doku:openfoam [2014/07/25 06:23] – [INTEL icc and Intel MPI on VSC-2] markus | doku:openfoam [2022/07/19 07:59] – Added information about OpenFOAM on VSC-4 (loading, example submission script, Info on Openfoam-org). Marked the old information (vsc-1 and vsc-2) as old ewartha | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== OpenFOAM and local temp space on VSC-1 ===== | + | ===== OpenFOAM ===== |
+ | |||
+ | ==== OpenFOAM on VSC-4 ==== | ||
+ | |||
+ | check currently available openfoam modules/ | ||
+ | |||
+ | < | ||
+ | module avail openfoam* | ||
+ | </ | ||
+ | |||
+ | load openfoam: | ||
+ | |||
+ | < | ||
+ | spack load -r openfoam-org@7 %intel@19.0.5.281 | ||
+ | module load intel/ | ||
+ | </ | ||
+ | |||
+ | Example submission script: | ||
+ | < | ||
+ | #!/bin/sh | ||
+ | #SBATCH -J sim | ||
+ | #SBATCH -N 1 | ||
+ | #SBATCH -A p71428 | ||
+ | #SBATCH --qos p71428_0096 | ||
+ | #SBATCH --tasks-per-node=48 | ||
+ | |||
+ | module purge | ||
+ | spack load -r openfoam-org@7 %intel@19.0.5.281 | ||
+ | module load intel/ | ||
+ | |||
+ | EXE=`which foamExec` | ||
+ | |||
+ | $EXE decomposePar -allRegions | ||
+ | mpirun -np 48 $EXE chtMultiRegionFoam -parallel | ||
+ | $EXE reconstructPar -newTimes -allRegions | ||
+ | $EXE rm -r processor* | ||
+ | </ | ||
+ | |||
+ | |||
+ | load openfoam source file to have environment variables and be able to compile custom code: | ||
+ | < | ||
+ | source $WM_PROJECT_DIR/ | ||
+ | </ | ||
+ | |||
+ | ODE-Solvers within openFoam-org versions should be used with the gcc-compiler. | ||
+ | |||
+ | ===== (old): | ||
a simple jobscript for using the / | a simple jobscript for using the / | ||
Line 5: | Line 51: | ||
- | ===== OpenFOAM compile scripts ===== | + | ===== (old): |
- | ==== INTEL icc and INTELMPI on VSC-1 ==== | + | ==== (old): |
in July 2013 VSC-1 has been updated to Scientific Linux 6.4 (identical with VSC-2). Also the latest Infiniband Software only includes Intel MPI. For installing OpenFoam on VSC-1 please use the installation Scripts from VSC-2 | in July 2013 VSC-1 has been updated to Scientific Linux 6.4 (identical with VSC-2). Also the latest Infiniband Software only includes Intel MPI. For installing OpenFoam on VSC-1 please use the installation Scripts from VSC-2 | ||
Line 32: | Line 78: | ||
- | ==== INTEL icc and Intel MPI on VSC-2 ==== | + | ==== (old): |
Set the [[doku: | Set the [[doku: | ||
Line 38: | Line 84: | ||
Download the source packages for OpenFoam and Thirdparties. Place them at the same directory as the scripts which are provided below. | Download the source packages for OpenFoam and Thirdparties. Place them at the same directory as the scripts which are provided below. | ||
- | === Version 1.7.1 === | + | === (old): |
{{: | {{: | ||
Line 45: | Line 91: | ||
Place at same directory as the script is executed. | Place at same directory as the script is executed. | ||
- | === Version 2.1.1 === | + | === (old): |
{{: | {{: | ||
- | === Version 2.2.0 === | + | === (old): |
{{: | {{: | ||
- | === Version 2.2.2 === | + | === (old): |
{{: | {{: | ||
- | === Version 2.3.x ==== | + | === (old): |
{{: | {{: | ||
Line 61: | Line 107: | ||
version using the latest git repository of openfoam: | version using the latest git repository of openfoam: | ||
- | {{: | + | intel mpi 4.1.0.024 |
+ | {{: | ||
+ | intel mpi 4.1.3.045 | ||
{{: | {{: | ||
- | === Version foam-ext-3.0 ==== | + | === (old): |
| | ||
script may needed to be run twice, because git clone some how terminates the script ... | script may needed to be run twice, because git clone some how terminates the script ... | ||
+ | === (old): Version foam-ext-3.1 ==== | ||
+ | |||
+ | | ||
+ | compilation succeeded except some mesh conversion tools | ||
===== Scaling of OpenFOAM ===== | ===== Scaling of OpenFOAM ===== |