Skip to content

Commit

Permalink
Update build_olcf_summit_Clang.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ye-luo committed Oct 1, 2021
1 parent 587634d commit d947ca1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion config/build_olcf_summit_Clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,18 @@ module load llvm/main-20210811-cuda10.1
TYPE=Release
Compiler=Clang

source_folder=~/opt/qmcpack
if [[ $# -eq 0 ]]; then
source_folder=`pwd`
else
source_folder=$1
fi

if [[ -f $source_folder/CMakeLists.txt ]]; then
echo Using QMCPACK source directory $source_folder
else
echo "Source directory $source_folder doesn't contain CMakeLists.txt. Pass QMCPACK source directory as the first argument."
exit
fi

for name in offload_cuda_real_MP offload_cuda_real offload_cuda_cplx_MP offload_cuda_cplx \
cpu_real_MP cpu_real cpu_cplx_MP cpu_cplx
Expand Down

0 comments on commit d947ca1

Please sign in to comment.