1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-14 01:35:36 +00:00
Grid/systems/PVC-OEM
Peter Boyle 6d0c2de399 Deprecate teh PVC directory and make a PVC-OEM generic PVC target with
no queueing system dependency -- just interactive scripts
2023-10-03 17:04:20 +00:00
..
benchmarks Deprecate teh PVC directory and make a PVC-OEM generic PVC target with 2023-10-03 17:04:20 +00:00
config-command Deprecate teh PVC directory and make a PVC-OEM generic PVC target with 2023-10-03 17:04:20 +00:00
README Deprecate teh PVC directory and make a PVC-OEM generic PVC target with 2023-10-03 17:04:20 +00:00
setup.sh Deprecate teh PVC directory and make a PVC-OEM generic PVC target with 2023-10-03 17:04:20 +00:00

1. Prerequisites:
===================
Make sure you have the latest Intel ipcx release loaded (via modules or similar)
Make sure you have SYCL aware MPICH or Intel MPI loaded (assumed as mpicxx)

2. Obtain Grid:
===================

bash$
git clone https://github.com/paboyle/Grid
cd Grid
./bootstrap.sh
cd systems/PVC

3. Build Grid:
===================

Here, configure command is stored in file config-command:

bash$
../../configure \
	--enable-simd=GPU \
	--enable-gen-simd-width=64 \
	--enable-comms=mpi-auto \
	--enable-accelerator-cshift \
	--disable-gparity \
	--disable-fermion-reps \
	--enable-shm=nvlink \
	--enable-accelerator=sycl \
	--enable-unified=no \
	MPICXX=mpicxx \
	CXX=icpx \
	LDFLAGS="-fiopenmp  -fsycl -fsycl-device-code-split=per_kernel -fsycl-device-lib=all -lze_loader " \
	CXXFLAGS="-fiopenmp -fsycl-unnamed-lambda -fsycl -Wno-tautological-compare "

make all

4. Run a benchmark:
===================

*** Assumes interactive access to node. ***

run Benchmark_dwf_fp32 using benchmarks/bench.sh

bash$
cd benchmarks
./bench.sh