1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-06-04 11:14:38 +01:00

systems/mac-arm: add MPI configure command and spack sourceme

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Peter Boyle
2026-05-27 11:12:42 -04:00
parent d8d16407e9
commit 0eeb334fe0
2 changed files with 16 additions and 3 deletions
+4 -2
View File
@@ -3,12 +3,14 @@
CXX=mpicxx ../../configure \ CXX=mpicxx ../../configure \
--enable-simd=GEN \ --enable-simd=GEN \
--enable-comms=mpi-auto \ --enable-comms=mpi-auto \
--enable-Sp=yes \
--enable-unified=yes \ --enable-unified=yes \
--prefix /Users/peterboyle/QCD/vtk/Grid/install \ --disable-fermion-reps \
--disable-gparity \
--prefix /Users/peterboyle/QCD/Grid-install \
--with-lime=$CLIME \ --with-lime=$CLIME \
--with-openssl=$OPENSSL \ --with-openssl=$OPENSSL \
--with-gmp=$GMP \ --with-gmp=$GMP \
--with-mpfr=$MPFR \ --with-mpfr=$MPFR \
--with-fftw=$FFTW \
--disable-debug --disable-debug
+11
View File
@@ -0,0 +1,11 @@
source /Users/peterboyle/QCD//Spack/spack//share/spack/setup-env.sh
export FFTW=`spack find --paths fftw | grep ^fftw | awk '{print $2}' `
#export HDF5=`spack find --paths hdf5+cxx | grep ^hdf5 | awk '{print $2}' `
export CLIME=`spack find --paths c-lime | grep ^c-lime | awk '{print $2}' `
export MPFR=`spack find --paths mpfr | grep ^mpfr | awk '{print $2}' `
export OPENSSL=`spack find --paths openssl | grep openssl | awk '{print $2}' `
export GMP=`spack find --paths gmp | grep ^gmp | awk '{print $2}' `
export LD_LIBRARY_PATH=$MPFR/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$GMP/lib:$LD_LIBRARY_PATH