From 5d7a24f23b87151aaf56fab7e247cbf0e9398080 Mon Sep 17 00:00:00 2001 From: Ye Luo Date: Tue, 11 Apr 2023 17:52:11 -0400 Subject: [PATCH] Fix frontier build recipe when using install. --- config/build_olcf_frontier_ROCm.sh | 5 +++++ docs/installation.rst | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config/build_olcf_frontier_ROCm.sh b/config/build_olcf_frontier_ROCm.sh index 26fe3260c3..9452075e1a 100755 --- a/config/build_olcf_frontier_ROCm.sh +++ b/config/build_olcf_frontier_ROCm.sh @@ -61,6 +61,11 @@ if [[ $name == *"cuda2hip"* ]]; then fi folder=build_crusher_${Compiler}_${name} + +if [[ -v install_folder ]]; then + CMAKE_FLAGS="$CMAKE_FLAGS -DCMAKE_INSTALL_PREFIX=$install_folder/$folder" +fi + echo "**********************************" echo "$folder" echo "$CMAKE_FLAGS" diff --git a/docs/installation.rst b/docs/installation.rst index ebdbaa3b3b..2ef12d8d41 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -995,7 +995,7 @@ Job script example with one MPI rank per GPU. module load openblas/0.3.17-omp module load cray-hdf5-parallel - exe_path=/ccs/home/yeluo/opt/qmcpack/build_crusher_rocm543_offload_cuda2hip_real_MP/bin + exe_path=/lustre/orion/mat151/world-shared/opt/qmcpack/develop-20230411/build_crusher_rocm543_offload_cuda2hip_real/bin prefix=NiO-fcc-S128-dmc