From eacb66591f6428f81270b28ed0d037b1ec3f8795 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 22 Jun 2023 19:56:40 +0300 Subject: [PATCH] Config command --- systems/Lumi/config-command | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/systems/Lumi/config-command b/systems/Lumi/config-command index 98ae275c..3f7877c8 100644 --- a/systems/Lumi/config-command +++ b/systems/Lumi/config-command @@ -3,30 +3,28 @@ spack load gmp spack load mpfr CLIME=`spack find --paths c-lime | grep c-lime| cut -c 15-` GMP=`spack find --paths gmp | grep gmp | cut -c 12-` -MPFR=`spack find --paths mpfr | grep mpfr | cut -c 12-` -echo clime $CLIME -echo gmp $GMP -echo mpfr $MPFR +MPFR=`spack find --paths mpfr | grep mpfr | cut -c 13-` +echo clime X$CLIME +echo gmp X$GMP +echo mpfr X$MPFR -../../configure --enable-comms=mpi-auto \ +../../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 \ --enable-simd=GPU \ ---disable-accelerator-cshift \ ---with-gmp=$OLCF_GMP_ROOT \ +--enable-accelerator-cshift \ +--with-gmp=$GMP \ +--with-mpfr=$MPFR \ --with-fftw=$FFTW_DIR/.. \ ---with-mpfr=/opt/cray/pe/gcc/mpfr/3.1.4/ \ --disable-fermion-reps \ --disable-gparity \ CXX=hipcc MPICXX=mpicxx \ -CXXFLAGS="-fPIC -I{$ROCM_PATH}/include/ -std=c++14 -I${MPICH_DIR}/include -L/lib64 --amdgpu-target=gfx90a" \ - 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 --amdgpu-target=gfx90a " + CXXFLAGS="-fPIC --offload-arch=gfx90a -I/opt/rocm/include/ -std=c++14 -I/opt/cray/pe/mpich/8.1.23/ofi/gnu/9.1/include" \ + LDFLAGS="-L/opt/cray/pe/mpich/8.1.23/ofi/gnu/9.1/lib -lmpi -L/opt/cray/pe/mpich/8.1.23/gtl/lib -lmpi_gtl_hsa -lamdhip64 -fopenmp" -#--enable-simd=GPU-RRII \ -