mirror of
https://github.com/paboyle/Grid.git
synced 2025-07-15 20:46:54 +01:00
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
export MPFR=`spack find --paths mpfr | grep ^mpfr | awk '{print $2}' `
|
|
export GMP=`spack find --paths gmp | grep ^gmp | awk '{print $2}' `
|
|
export CLIME=`spack find --paths c-lime | grep ^c-lime | awk '{print $2}' `
|
|
export UNWIND=`spack find --paths libunwind | grep ^libunwind | awk '{print $2}' `
|
|
|
|
../../configure \
|
|
--enable-simd=GPU \
|
|
--enable-gen-simd-width=64 \
|
|
--enable-comms=mpi-auto \
|
|
--disable-gparity \
|
|
--disable-fermion-reps \
|
|
--enable-shm=nvlink \
|
|
--enable-checksum-comms=yes \
|
|
--enable-log-views=yes \
|
|
--enable-accelerator=sycl \
|
|
--enable-accelerator-aware-mpi=no \
|
|
--enable-unified=no \
|
|
--with-lime=$CLIME \
|
|
--with-gmp=$GMP \
|
|
--with-mpfr=$MPFR \
|
|
--with-unwind=$UNWIND \
|
|
MPICXX=mpicxx \
|
|
CXX=icpx \
|
|
LDFLAGS="-fiopenmp -fsycl -fsycl-device-code-split=per_kernel -fsycl-device-lib=all -lze_loader -L${MKLROOT}/lib -qmkl=parallel -lsycl -fsycl-max-parallel-link-jobs=16 -fno-sycl-rdc -lnuma" \
|
|
CXXFLAGS="-fPIC -fiopenmp -fsycl-unnamed-lambda -fsycl -Wno-tautological-compare -qmkl=parallel"
|
|
|
|
|
|
|