diff --git a/Grid/lattice/Lattice_slicesum_core.h b/Grid/lattice/Lattice_slicesum_core.h index 5d96c4fb..f3bd51ad 100644 --- a/Grid/lattice/Lattice_slicesum_core.h +++ b/Grid/lattice/Lattice_slicesum_core.h @@ -59,7 +59,7 @@ inline void sliceSumReduction_cub_small(const vobj *Data, #if defined(__CUDACC__) && (__CUDACC_VER_MAJOR__ >= 13) #define GRID_CUB_SUM_OP ::cuda::std::plus<>{} #else - #define GRID_CUB_SUM_OP ::cub::Sum() + #define GRID_CUB_SUM_OP ::gpucub::Sum() #endif gpuError_t gpuErr = gpucub::DeviceSegmentedReduce::Reduce(temp_storage_array, temp_storage_bytes, rb_p,d_out, rd, d_offsets, d_offsets+1, GRID_CUB_SUM_OP, zero_init, computeStream); diff --git a/systems/Frontier/config-command b/systems/Frontier/config-command index 7f71b4d9..0fd5a026 100644 --- a/systems/Frontier/config-command +++ b/systems/Frontier/config-command @@ -1,4 +1,3 @@ -CLIME=`spack find --paths c-lime@2-3-9 | grep c-lime| cut -c 15-` ../../configure --enable-comms=mpi-auto \ --with-lime=$CLIME \ --enable-unified=no \ @@ -9,8 +8,9 @@ CLIME=`spack find --paths c-lime@2-3-9 | grep c-lime| cut -c 15-` --disable-gparity \ --disable-fermion-reps \ --enable-simd=GPU \ ---with-gmp=$OLCF_GMP_ROOT \ ---with-mpfr=/opt/cray/pe/gcc/mpfr/3.1.4/ \ +--with-gmp=$GMP \ +--with-mpfr=$MPFR \ +--with-openssl=$OPENSSL \ --disable-fermion-reps \ CXX=hipcc MPICXX=mpicxx \ CXXFLAGS="-fPIC -I${ROCM_PATH}/include/ -I${MPICH_DIR}/include " \