-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
put back older versions of mac custom files
- Loading branch information
1 parent
cb9ee60
commit 9f144bf
Showing
3 changed files
with
781 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash | ||
|
||
# Use Lmod for modules definition | ||
LMOD=$(brew --prefix lmod) | ||
source $LMOD/init/profile | ||
|
||
# Compiler/MPI combination | ||
export HPC_COMPILER="gnu/11.3.0" | ||
export HPC_MPI="openmpi/4.1.2" | ||
export HPC_PYTHON="python/3.9.13" | ||
|
||
# Build options | ||
export USE_SUDO=N | ||
export PKGDIR=pkg | ||
export LOGDIR=log | ||
export OVERWRITE=N | ||
export NTHREADS=4 | ||
export MAKE_CHECK=N | ||
export MAKE_VERBOSE=Y | ||
export MAKE_CLEAN=N | ||
export DOWNLOAD_ONLY=N | ||
export STACK_EXIT_ON_FAIL=Y | ||
export WGET="wget -nv " | ||
|
||
# gfortran-10 needs the following | ||
export STACK_FFLAGS="-fallow-argument-mismatch -fallow-invalid-boz" | ||
export STACK_CXXFLAGS="-march=native" | ||
|
||
BREW=$(brew --prefix) | ||
|
||
export CC=$BREW/bin/gcc | ||
export FC=$BREW/bin/gfortran | ||
export CXX=$BREW/bin/g++ | ||
|
||
export SERIAL_CC=$BREW/bin/gcc | ||
export SERIAL_FC=$BREW/bin/gfortran | ||
export SERIAL_CXX=$BREW/bin/g++ |
Oops, something went wrong.