1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-15 02:05:37 +00:00
Grid/systems/Lumi/config-command

31 lines
880 B
Plaintext
Raw Normal View History

2023-05-27 14:13:32 +01:00
spack load c-lime
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-`
2023-06-22 17:56:40 +01:00
MPFR=`spack find --paths mpfr | grep mpfr | cut -c 13-`
echo clime X$CLIME
echo gmp X$GMP
echo mpfr X$MPFR
2023-05-27 14:13:32 +01:00
2023-06-22 17:56:40 +01:00
../../configure \
--enable-comms=mpi-auto \
2023-05-27 14:13:32 +01:00
--with-lime=$CLIME \
--enable-unified=no \
--enable-shm=nvlink \
--enable-accelerator=hip \
--enable-gen-simd-width=64 \
--enable-simd=GPU \
2023-06-22 17:56:40 +01:00
--enable-accelerator-cshift \
--with-gmp=$GMP \
--with-mpfr=$MPFR \
2023-05-27 14:13:32 +01:00
--with-fftw=$FFTW_DIR/.. \
--disable-fermion-reps \
--disable-gparity \
CXX=hipcc MPICXX=mpicxx \
2023-10-13 22:42:55 +01:00
CXXFLAGS="-fPIC --offload-arch=gfx90a -I/opt/rocm/include/ -std=c++17 -I/opt/cray/pe/mpich/8.1.23/ofi/gnu/9.1/include" \
2023-06-22 17:56:40 +01:00
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"
2023-05-27 14:13:32 +01:00