Skip to content

Commit 043fc63

Browse files
authored
HPC3 (UCI): -j 8 (#4694)
Reduce the compile parallelism to avoid getting build processes killed by the watchdog daemon.
1 parent c5aea94 commit 043fc63

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Docs/source/install/hpc/hpc3.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Use the following :ref:`cmake commands <building-cmake>` to compile the applicat
9696
rm -rf build
9797
9898
cmake -S . -B build -DWarpX_COMPUTE=CUDA -DWarpX_PSATD=ON -DWarpX_QED_TABLE_GEN=ON -DWarpX_DIMS="1;2;RZ;3"
99-
cmake --build build -j 12
99+
cmake --build build -j 8
100100
101101
The WarpX application executables are now in ``$HOME/src/warpx/build/bin/``.
102102
Additionally, the following commands will install WarpX as a Python module:
@@ -106,7 +106,7 @@ Additionally, the following commands will install WarpX as a Python module:
106106
rm -rf build_py
107107
108108
cmake -S . -B build_py -DWarpX_COMPUTE=CUDA -DWarpX_PSATD=ON -DWarpX_QED_TABLE_GEN=ON -DWarpX_APP=OFF -DWarpX_PYTHON=ON -DWarpX_DIMS="1;2;RZ;3"
109-
cmake --build build_py -j 12 --target pip_install
109+
cmake --build build_py -j 8 --target pip_install
110110
111111
Now, you can :ref:`submit HPC3 compute jobs <running-cpp-hpc3>` for WarpX :ref:`Python (PICMI) scripts <usage-picmi>` (:ref:`example scripts <usage-examples>`).
112112
Or, you can use the WarpX executables to submit HPC3 jobs (:ref:`example inputs <usage-examples>`).

Tools/machines/hpc3-uci/install_gpu_dependencies.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ else
5656
fi
5757
rm -rf $HOME/src/c-blosc-pm-gpu-build
5858
cmake -S $HOME/src/c-blosc -B $HOME/src/c-blosc-pm-gpu-build -DBUILD_TESTS=OFF -DBUILD_BENCHMARKS=OFF -DDEACTIVATE_AVX2=OFF -DCMAKE_INSTALL_PREFIX=${SW_DIR}/c-blosc-1.21.1
59-
cmake --build $HOME/src/c-blosc-pm-gpu-build --target install --parallel 12
59+
cmake --build $HOME/src/c-blosc-pm-gpu-build --target install --parallel 8
6060
rm -rf $HOME/src/c-blosc-pm-gpu-build
6161

6262
# ADIOS2
@@ -71,7 +71,7 @@ else
7171
fi
7272
rm -rf $HOME/src/adios2-pm-gpu-build
7373
cmake -S $HOME/src/adios2 -B $HOME/src/adios2-pm-gpu-build -DADIOS2_USE_Blosc=ON -DADIOS2_USE_Fortran=OFF -DADIOS2_USE_Python=OFF -DADIOS2_USE_ZeroMQ=OFF -DCMAKE_INSTALL_PREFIX=${SW_DIR}/adios2-2.8.3
74-
cmake --build $HOME/src/adios2-pm-gpu-build --target install --parallel 12
74+
cmake --build $HOME/src/adios2-pm-gpu-build --target install --parallel 8
7575
rm -rf $HOME/src/adios2-pm-gpu-build
7676

7777
# BLAS++ (for PSATD+RZ)
@@ -87,7 +87,7 @@ else
8787
fi
8888
rm -rf $HOME/src/blaspp-pm-gpu-build
8989
cmake -S $HOME/src/blaspp -B $HOME/src/blaspp-pm-gpu-build -Duse_openmp=OFF -Dgpu_backend=cuda -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=${SW_DIR}/blaspp-master
90-
cmake --build $HOME/src/blaspp-pm-gpu-build --target install --parallel 12
90+
cmake --build $HOME/src/blaspp-pm-gpu-build --target install --parallel 8
9191
rm -rf $HOME/src/blaspp-pm-gpu-build
9292

9393
# LAPACK++ (for PSATD+RZ)
@@ -103,7 +103,7 @@ else
103103
fi
104104
rm -rf $HOME/src/lapackpp-pm-gpu-build
105105
CXXFLAGS="-DLAPACK_FORTRAN_ADD_" cmake -S $HOME/src/lapackpp -B $HOME/src/lapackpp-pm-gpu-build -DCMAKE_CXX_STANDARD=17 -Dbuild_tests=OFF -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON -DCMAKE_INSTALL_PREFIX=${SW_DIR}/lapackpp-master
106-
cmake --build $HOME/src/lapackpp-pm-gpu-build --target install --parallel 12
106+
cmake --build $HOME/src/lapackpp-pm-gpu-build --target install --parallel 8
107107
rm -rf $HOME/src/lapackpp-pm-gpu-build
108108

109109

0 commit comments

Comments
 (0)