mirror of
https://github.com/paboyle/Grid.git
synced 2025-05-14 22:45:47 +01:00
Updated config options for BNL cluster
This commit is contained in:
parent
5364d580c9
commit
dc546aaa4b
@ -1,3 +1,12 @@
|
||||
|
||||
spack load c-lime
|
||||
spack load fftw
|
||||
spack load hdf5+cxx
|
||||
|
||||
export FFTW=`spack find --paths fftw | grep ^fftw | awk '{print $2}' `
|
||||
export HDF5=`spack find --paths hdf5+cxx | grep ^hdf5 | awk '{print $2}' `
|
||||
export CLIME=`spack find --paths c-lime | grep ^c-lime | awk '{print $2}' `
|
||||
|
||||
../../configure \
|
||||
--enable-comms=mpi-auto \
|
||||
--enable-unified=yes \
|
||||
@ -5,12 +14,16 @@
|
||||
--enable-shm-fast-path=shmopen \
|
||||
--enable-accelerator=none \
|
||||
--enable-simd=AVX512 \
|
||||
--disable-accelerator-cshift \
|
||||
--with-lime=$CLIME \
|
||||
--with-hdf5=$HDF5 \
|
||||
--with-fftw=$FFTW \
|
||||
--disable-fermion-reps \
|
||||
--disable-gparity \
|
||||
CXX=clang++ \
|
||||
MPICXX=mpicxx \
|
||||
CXXFLAGS="-std=c++17"
|
||||
LIBS=-llime \
|
||||
LDFLAGS=-L$CLIME/lib/ \
|
||||
CXXFLAGS="-std=c++17 -fPIE"
|
||||
|
||||
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
source $HOME/spack/share/spack/setup-env.sh
|
||||
spack load llvm@17.0.4
|
||||
export LD_LIBRARY_PATH=/direct/sdcc+u/paboyle/spack/opt/spack/linux-almalinux8-icelake/gcc-8.5.0/llvm-17.0.4-laufdrcip63ivkadmtgoepwmj3dtztdu/lib:$LD_LIBRARY_PATH
|
||||
module load openmpi
|
||||
module load openmpi/4.1.8
|
||||
spack load c-lime
|
||||
|
Loading…
x
Reference in New Issue
Block a user