mirror of
https://github.com/paboyle/Grid.git
synced 2026-06-04 11:14:38 +01:00
520b90259d
Test_staggered_hdcg.cc implements a two-level ADEF2 multigrid solver for
NaiveStaggeredFermion using SchurStaggeredOperator, following the mrhs
hermitian multigrid approach of arXiv:2409.03904. Uses a 33-point coarse
stencil (NextToNearestStencilGeometry4D) with nbasis=24, block={4,4,4,4},
and Chebyshev subspace generation with hi=5.0 (lambda_max ~4.6).
Also adds systems/mac-arm/sourceme-homebrew.sh and config-command-homebrew
for building Grid on Apple Silicon with Homebrew-installed dependencies.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
482 B
Bash
16 lines
482 B
Bash
#!/usr/bin/env bash
|
|
# Environment for building Grid on Apple Silicon Mac with Homebrew dependencies.
|
|
# Usage: source systems/mac-arm/sourceme-homebrew.sh
|
|
|
|
HOMEBREW=/opt/homebrew
|
|
|
|
export GMP=${HOMEBREW}/opt/gmp
|
|
export MPFR=${HOMEBREW}/opt/mpfr
|
|
export FFTW=${HOMEBREW}/opt/fftw
|
|
export OPENSSL=${HOMEBREW}/opt/openssl@3
|
|
export CLIME=/usr/local
|
|
|
|
export PATH="${HOMEBREW}/opt/open-mpi/bin:${HOMEBREW}/bin:${PATH}"
|
|
export LDFLAGS="-L${OPENSSL}/lib"
|
|
export CPPFLAGS="-I${OPENSSL}/include"
|