2022-11-17 01:15:51 +00:00
|
|
|
CLIME=`spack find --paths c-lime@2-3-9 | grep c-lime| cut -c 15-`
|
2022-02-14 20:09:08 +00:00
|
|
|
../../configure --enable-comms=mpi-auto \
|
2022-11-17 01:15:51 +00:00
|
|
|
--with-lime=$CLIME \
|
2023-04-03 23:25:22 +01:00
|
|
|
--enable-unified=no \
|
2022-02-14 20:09:08 +00:00
|
|
|
--enable-shm=nvlink \
|
2022-11-30 20:51:13 +00:00
|
|
|
--enable-tracing=timer \
|
2022-02-14 20:09:08 +00:00
|
|
|
--enable-accelerator=hip \
|
|
|
|
--enable-gen-simd-width=64 \
|
|
|
|
--enable-simd=GPU \
|
2023-03-21 20:00:52 +00:00
|
|
|
--disable-accelerator-cshift \
|
2022-03-23 20:35:11 +00:00
|
|
|
--with-gmp=$OLCF_GMP_ROOT \
|
2022-09-23 21:49:14 +01:00
|
|
|
--with-fftw=$FFTW_DIR/.. \
|
2022-03-23 20:35:11 +00:00
|
|
|
--with-mpfr=/opt/cray/pe/gcc/mpfr/3.1.4/ \
|
2022-11-17 01:15:51 +00:00
|
|
|
--disable-fermion-reps \
|
2022-02-14 20:09:08 +00:00
|
|
|
CXX=hipcc MPICXX=mpicxx \
|
2022-09-23 21:49:14 +01:00
|
|
|
CXXFLAGS="-fPIC -I{$ROCM_PATH}/include/ -std=c++14 -I${MPICH_DIR}/include -L/lib64 " \
|
|
|
|
LDFLAGS="-L/lib64 -L/opt/rocm-5.2.0/lib/ -L${MPICH_DIR}/lib -lmpi -L${CRAY_MPICH_ROOTDIR}/gtl/lib -lmpi_gtl_hsa -lamdhip64 "
|
|
|
|
|
2022-05-25 17:36:09 +01:00
|
|
|
|
2022-10-13 23:44:47 +01:00
|
|
|
#--enable-simd=GPU-RRII \
|
|
|
|
|
2022-05-25 17:36:09 +01:00
|
|
|
|