mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-24 17:54:47 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			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 -fsycl-targets=spir64_gen -Xs -device -Xs pvc "
 | |
| 
 | |
| #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-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 
 | |
| 
 |