Skip to content

Commit

Permalink
Merge pull request QMCPACK#3127 from ye-luo/fix-XL
Browse files Browse the repository at this point in the history
Update XL build recipe.
  • Loading branch information
prckent authored Apr 22, 2021
2 parents 7a8495e + a243b84 commit 683aece
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/build_olcf_summit_XL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ source_folder=..
for name in offload_real_MP offload_real # offload_cplx offload_cplx_MP
do

CMAKE_FLAGS="-D CMAKE_BUILD_TYPE=$TYPE -D ENABLE_CUDA=1 -D CUDA_ARCH=sm_70 -D ENABLE_MASS=1 -D MASS_ROOT=/sw/summit/xl/16.1.1-5/xlmass/9.1.1 -D MPIEXEC_EXECUTABLE=`which jsrun` -D MPIEXEC_NUMPROC_FLAG='-n' -D MPIEXEC_PREFLAGS='-c;16;-g;1;-b;packed:16;--smpiargs=off'"
CMAKE_FLAGS="-D CMAKE_BUILD_TYPE=$TYPE -D ENABLE_CUDA=1 -D CUDA_ARCH=sm_70 -D CUDA_HOST_COMPILER=/sw/summit/gcc/6.4.0/bin/gcc -D ENABLE_MASS=1 -D MASS_ROOT=/sw/summit/xl/16.1.1-5/xlmass/9.1.1 -D MPIEXEC_EXECUTABLE=`which jsrun` -D MPIEXEC_NUMPROC_FLAG='-n' -D MPIEXEC_PREFLAGS='-c;16;-g;1;-b;packed:16;--smpiargs=off'"

if [[ $name == *"cplx"* ]]; then
CMAKE_FLAGS="$CMAKE_FLAGS -D QMC_COMPLEX=1"
Expand Down
3 changes: 3 additions & 0 deletions src/Platforms/CUDA/CUDATypeMapping.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
// File created by: Peter Doak, [email protected], Oak Ridge National Laboratory
//////////////////////////////////////////////////////////////////////////////////////


#ifndef QMCPLUSPLUS_CUDA_TYPE_MAPPING_HPP
#define QMCPLUSPLUS_CUDA_TYPE_MAPPING_HPP

#include <type_traits>

namespace qmcplusplus
{
// This namespace is to protect against the clash between this disjuntion and the std one
Expand Down

0 comments on commit 683aece

Please sign in to comment.