From c328be24b7a4c3afa605f89f8aa41577ea44679f Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Fri, 5 Jul 2024 17:46:43 +0000 Subject: [PATCH] Sanitizer compile options --- systems/Aurora/config-command-sanitize | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 systems/Aurora/config-command-sanitize diff --git a/systems/Aurora/config-command-sanitize b/systems/Aurora/config-command-sanitize new file mode 100644 index 00000000..d400a103 --- /dev/null +++ b/systems/Aurora/config-command-sanitize @@ -0,0 +1,22 @@ +# -fsycl-targets=spir64_gen -Xs\" -device pvc \" +# -fsycl-targets=intel_gpu_pvc_vg,intel_gpu_pvc +# -fsycl-targets=intel_gpu_pvc + +unset DEVICE +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 -Xarch_host -fsanitize=address" +export CXXFLAGS="-O3 -fiopenmp -fsycl-unnamed-lambda -fsycl -I$INSTALL/include -Wno-tautological-compare -I$HOME/ -qmkl=parallel -fsycl -fno-exceptions -Xarch_host -fsanitize=address -fsycl-targets=spir64_gen -Xs -device -Xs pvc " +../../configure \ + --enable-simd=GPU \ + --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 +