Skip to content

Commit

Permalink
Fix frontier build recipe when using install.
Browse files Browse the repository at this point in the history
  • Loading branch information
ye-luo committed Apr 11, 2023
1 parent b8aeccb commit 5d7a24f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions config/build_olcf_frontier_ROCm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5d7a24f

Please sign in to comment.