mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-15 02:05:37 +00:00
25 lines
1009 B
Plaintext
25 lines
1009 B
Plaintext
#Ahead of time compile for PVC
|
|
export LDFLAGS="-fiopenmp -fsycl -fsycl-device-code-split=per_kernel -fsycl-targets=spir64_gen -Xs -device -Xs pvc -fsycl-device-lib=all -lze_loader -L${MKLROOT}/lib -qmkl=parallel -fsycl -lsycl "
|
|
export CXXFLAGS="-O3 -fiopenmp -fsycl-unnamed-lambda -fsycl -Wno-tautological-compare -qmkl=parallel -fsycl -fno-exceptions "
|
|
|
|
#JIT compile
|
|
#export LDFLAGS="-fiopenmp -fsycl -fsycl-device-code-split=per_kernel -fsycl-device-lib=all -lze_loader -L${MKLROOT}/lib -qmkl=parallel -fsycl -lsycl "
|
|
#export CXXFLAGS="-O3 -fiopenmp -fsycl-unnamed-lambda -fsycl -Wno-tautological-compare -qmkl=parallel -fsycl -fno-exceptions "
|
|
|
|
../../configure \
|
|
--enable-simd=GPU \
|
|
--enable-reduction=grid \
|
|
--enable-gen-simd-width=64 \
|
|
--enable-comms=mpi-auto \
|
|
--enable-debug \
|
|
--disable-gparity \
|
|
--disable-fermion-reps \
|
|
--with-lime=$CLIME \
|
|
--enable-shm=nvlink \
|
|
--enable-accelerator=sycl \
|
|
--enable-accelerator-aware-mpi=yes\
|
|
--enable-unified=no \
|
|
MPICXX=mpicxx \
|
|
CXX=icpx
|
|
|