Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
doku:openfoam [2014/07/25 06:26] – [INTEL icc and Intel MPI on VSC-2] markus | doku:openfoam [2023/05/17 14:16] – msiegel | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== OpenFOAM | + | ===== OpenFOAM ===== |
- | a simple jobscript for using the / | + | |
- | {{: | + | ==== OpenFOAM on VSC-4 ==== |
+ | check currently available openfoam modules/ | ||
- | ===== OpenFOAM compile scripts ===== | + | < |
- | ==== INTEL icc and INTELMPI on VSC-1 ==== | + | module avail openfoam* |
+ | </ | ||
- | 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 | + | load openfoam: |
- | ==== (old): INTEL icc and Qlogic MPI on VSC-1 ==== | + | < |
+ | spack load -r openfoam-org@7 %intel@19.0.5.281 | ||
+ | module load intel/ | ||
+ | </ | ||
- | Set the [[doku:vsc2&#mpi_version|MPI Version]] to ' | + | Example submission script: |
+ | < | ||
+ | #!/bin/sh | ||
+ | # | ||
+ | #SBATCH -N 1 | ||
+ | #SBATCH -A p71428 | ||
+ | #SBATCH --qos p71428_0096 | ||
+ | #SBATCH --tasks-per-node=48 | ||
- | Download the source packages for OpenFoam and Thirdparties. Place them at the same directory as the scripts which are provided below. | + | module purge |
+ | spack load -r openfoam-org@7 %intel@19.0.5.281 | ||
+ | module load intel/ | ||
- | === (old) Version 1.7.1 === | + | EXE=`which foamExec` |
+ | $EXE decomposePar -allRegions | ||
+ | mpirun -np 48 $EXE chtMultiRegionFoam -parallel | ||
+ | $EXE reconstructPar -newTimes -allRegions | ||
+ | $EXE rm -r processor* | ||
+ | </ | ||
- | {{: | ||
- | Patched File: {{:doku:openfoam:turbulentheatfluxtemperaturefvpatchscalarfield.c}} | + | load openfoam |
+ | < | ||
+ | source $WM_PROJECT_DIR/ | ||
+ | </ | ||
- | Place at same directory as the script is executed. | + | ODE-Solvers within openFoam-org versions should be used with the gcc-compiler. |
- | + | ||
- | === (old) Version 2.1.1 === | + | |
- | {{: | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ==== INTEL icc and Intel MPI on VSC-2 ==== | + | |
- | + | ||
- | Set the [[doku: | + | |
- | + | ||
- | Download | + | |
- | + | ||
- | === Version 1.7.1 === | + | |
- | {{: | + | |
- | + | ||
- | Patched File: {{: | + | |
- | + | ||
- | Place at same directory as the script is executed. | + | |
- | + | ||
- | === Version 2.1.1 === | + | |
- | {{: | + | |
- | + | ||
- | === Version 2.2.0 === | + | |
- | {{: | + | |
- | + | ||
- | === Version 2.2.2 === | + | |
- | {{: | + | |
- | + | ||
- | + | ||
- | === Version 2.3.x ==== | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | 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 ==== | + | |
- | + | ||
- | | + | |
- | + | ||
- | script may needed to be run twice, because git clone some how terminates the script ... | + | |
Line 136: | Line 108: | ||
| 128| 224 | 333 | | | 128| 224 | 333 | | ||
| 256| | | 256| | ||
- | ==== FoamPro ==== | ||
- | |||
- | was used; ask admins | ||
- | |||