diff --git a/config/build_nersc_perlmutter_Clang.sh b/config/build_nersc_perlmutter_Clang.sh index ca82baedf6..a2ecdcd26e 100755 --- a/config/build_nersc_perlmutter_Clang.sh +++ b/config/build_nersc_perlmutter_Clang.sh @@ -1,7 +1,7 @@ #!/bin/bash # This recipe is intended for NERSC Perlmutter https://docs.nersc.gov/systems/perlmutter # It builds all the varaints of QMCPACK in the current directory -# last revision: Mar 18th 2024 +# last revision: Jan 14th 2025 # # How to invoke this script? # build_nersc_perlmutter_Clang.sh # build all the variants assuming the current directory is the source directory. @@ -47,7 +47,7 @@ else exit fi -for name in offload_cuda_real_MP offload_cuda_real offload_cuda_cplx_MP offload_cuda_cplx \ +for name in gpu_real_MP gpu_real gpu_cplx_MP gpu_cplx \ cpu_real_MP cpu_real cpu_cplx_MP cpu_cplx do @@ -61,18 +61,10 @@ if [[ $name == *"_MP"* ]]; then CMAKE_FLAGS="$CMAKE_FLAGS -DQMC_MIXED_PRECISION=ON" fi -if [[ $name == *"offload"* || $name == *"cuda"* ]]; then +if [[ $name == *"gpu"* ]]; then CMAKE_FLAGS="$CMAKE_FLAGS -DQMC_GPU_ARCHS=sm_80" fi -if [[ $name == *"offload"* ]]; then - CMAKE_FLAGS="$CMAKE_FLAGS -DENABLE_OFFLOAD=ON" -fi - -if [[ $name == *"cuda"* ]]; then - CMAKE_FLAGS="$CMAKE_FLAGS -DENABLE_CUDA=ON" -fi - folder=build_${Machine}_${Compiler}_${name} if [[ -v install_folder ]]; then