diff --git a/systems/Frontier-rocm631/config-command b/systems/Frontier-rocm631/config-command new file mode 100644 index 00000000..8a3fdcfd --- /dev/null +++ b/systems/Frontier-rocm631/config-command @@ -0,0 +1,22 @@ +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=none \ +--enable-accelerator=hip \ +--enable-gen-simd-width=64 \ +--disable-gparity \ +--disable-fermion-reps \ +--enable-simd=GPU \ +--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 \ +CXXFLAGS="-fPIC -I${ROCM_PATH}/include/ -I${MPICH_DIR}/include -L/lib64 " \ + LDFLAGS="-L/lib64 -L${ROCM_PATH}/lib -L${MPICH_DIR}/lib -lmpi -L${CRAY_MPICH_ROOTDIR}/gtl/lib -lmpi_gtl_hsa -lhipblas -lrocblas" + + + + diff --git a/systems/Frontier-rocm631/sourceme631.sh b/systems/Frontier-rocm631/sourceme631.sh new file mode 100644 index 00000000..7ab75499 --- /dev/null +++ b/systems/Frontier-rocm631/sourceme631.sh @@ -0,0 +1,16 @@ + +echo spack +. /autofs/nccs-svm1_home1/paboyle/Crusher/Grid/spack/share/spack/setup-env.sh + +#module load cce/15.0.1 + +module load rocm/6.3.1 +module load cray-fftw +module load craype-accel-amd-gfx90a +export LD_LIBRARY_PATH=/opt/gcc/mpfr/3.1.4/lib:$LD_LIBRARY_PATH + +#Ugly hacks to get down level software working on current system +#export LD_LIBRARY_PATH=/opt/cray/libfabric/1.20.1/lib64/:$LD_LIBRARY_PATH +#export LD_LIBRARY_PATH=`pwd`/:$LD_LIBRARY_PATH +#ln -s /opt/rocm-6.0.0/lib/libamdhip64.so.6 . +