Skip to content
Snippets Groups Projects
Commit e833c1d3 authored by Tobias Meisel's avatar Tobias Meisel
Browse files

[juwels] Limit CMake processes

parent 149afe2a
No related branches found
No related tags found
No related merge requests found
...@@ -13,5 +13,9 @@ module load ScaLAPACK/2.2.0-fb ...@@ -13,5 +13,9 @@ module load ScaLAPACK/2.2.0-fb
export CC=mpicc export CC=mpicc
export CXX=mpic++ export CXX=mpic++
# CMake may spawn as many processes as available. This may overload the filesystem on JUWELS.
# It is therefore necessary to limit the number of processes with CMAKE_BUILD_PARALLEL_LEVEL.
export CMAKE_BUILD_PARALLEL_LEVEL=6
echo "Example config: cmake --preset release-petsc" echo "Example config: cmake --preset release-petsc"
echo "Example run: srun -n 3 -t 2 -A ogs6hpc4 bin/ogs ../ogs/Tests/Data/EllipticPETSc/cube_1e3_neumann.prj" echo "Example run: srun -n 3 -t 2 -A ogs6hpc4 bin/ogs ../ogs/Tests/Data/EllipticPETSc/cube_1e3_neumann.prj"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment