mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			692 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			692 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
CLIME=`spack find --paths c-lime@2-3-9 | grep c-lime| cut -c 15-`
 | 
						|
../../configure --enable-comms=mpi-auto \
 | 
						|
--with-lime=$CLIME \
 | 
						|
--enable-unified=no \
 | 
						|
--enable-shm=nvlink \
 | 
						|
--enable-tracing=timer \
 | 
						|
--enable-accelerator=hip \
 | 
						|
--enable-gen-simd-width=64 \
 | 
						|
--disable-gparity \
 | 
						|
--disable-fermion-reps \
 | 
						|
--enable-simd=GPU \
 | 
						|
--enable-accelerator-cshift \
 | 
						|
--with-gmp=$OLCF_GMP_ROOT \
 | 
						|
--with-fftw=$FFTW_DIR/.. \
 | 
						|
--with-mpfr=/opt/cray/pe/gcc/mpfr/3.1.4/ \
 | 
						|
--disable-fermion-reps \
 | 
						|
CXX=hipcc MPICXX=mpicxx \
 | 
						|
CXXFLAGS="-fPIC -I{$ROCM_PATH}/include/ -std=c++14 -I${MPICH_DIR}/include -L/lib64 " \
 | 
						|
 LDFLAGS="-L/lib64 -L${MPICH_DIR}/lib -lmpi -L${CRAY_MPICH_ROOTDIR}/gtl/lib -lmpi_gtl_hsa -lamdhip64 "
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 |