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:
@@ -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 \
|
||||||
--disable-debug
|
--with-fftw=$FFTW \
|
||||||
|
--disable-debug
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user