Skip to content

Commit

Permalink
Left sonoma as in master
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloprf committed Mar 13, 2024
1 parent 93ce7bd commit 98ce7db
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions platform/build/make.inc.OSX_SONOMA
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
#---------------------------------------------------
# OSX Sonoma
#
# macport installation instructions:
# macport installation instructions for new Mac
# running Sierra, assuming OMFIT being installed as
# well. YMMV.
#
# 1) sudo port install gcc11
# 2) sudo port install openmpi-gcc11
# 1) install OMFIT via macports- gets initial
# dependencies
# 2) sudo port install mpich-gcc13
# 3) sudo port install netcdf-fortran
# 4) sudo port install fftw-3 +gcc11 +threads
# 4) determine local host name via uname -n
# add following line to /etc/hosts
# 127.0.0.1 <local host name>
#
#---------------------------------------------------

# Compilers and flags

MF90 = mpif90-openmpi-gcc11

FC = ${MF90} -I$(GACODE_ROOT)/modules -J$(GACODE_ROOT)/modules -fPIC -framework Accelerate -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
FC = mpif90-mpich-gcc13 -I$(GACODE_ROOT)/modules -J$(GACODE_ROOT)/modules -fPIC -framework Accelerate
F77 = mpif77 -std=legacy
CC = ${FC}

Expand Down
2 changes: 1 addition & 1 deletion platform/exec/exec.OSX_SONOMA
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ echo $simdir

cd $simdir
export OMP_NUM_THREADS=$nomp
mpirun-openmpi-gcc11 -np $nmpi $exec
mpirun -np $nmpi $exec

0 comments on commit 98ce7db

Please sign in to comment.