2023-10-05 21:45:41 +01:00
|
|
|
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 \
|
|
|
|
--enable-shm=nvlink \
|
|
|
|
--enable-tracing=timer \
|
|
|
|
--enable-accelerator=hip \
|
|
|
|
--enable-gen-simd-width=64 \
|
|
|
|
--disable-gparity \
|
|
|
|
--disable-fermion-reps \
|
|
|
|
--enable-simd=GPU \
|
|
|
|
--enable-accelerator-cshift \
|
|
|
|
--with-gmp=$OLCF_GMP_ROOT \
|
|
|
|
--with-fftw=$FFTW_DIR/.. \
|
|
|
|
--with-mpfr=/opt/cray/pe/gcc/mpfr/3.1.4/ \
|
|
|
|
--disable-fermion-reps \
|
|
|
|
CXX=hipcc MPICXX=mpicxx \
|
2023-10-24 15:57:50 +01:00
|
|
|
CXXFLAGS="-fPIC -I{$ROCM_PATH}/include/ -I${MPICH_DIR}/include -L/lib64 " \
|
2023-12-21 02:27:59 +00:00
|
|
|
LDFLAGS="-L/lib64 -L${MPICH_DIR}/lib -lmpi -L${CRAY_MPICH_ROOTDIR}/gtl/lib -lmpi_gtl_hsa -lamdhip64 -lhipblas -lrocblas"
|
2023-10-05 21:45:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|