-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jeff Candy
committed
Nov 29, 2023
1 parent
279c6e3
commit 8beeef3
Showing
3 changed files
with
46 additions
and
5 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,33 @@ | ||
#--------------------------------------------------- | ||
# Linux Mint | ||
#--------------------------------------------------- | ||
|
||
IDENTITY="corg.gat.com gfortran+mpich+OpenBLAS (/usr)" | ||
CORES_PER_NODE=4 | ||
NUMAS_PER_NODE=1 | ||
|
||
FFTWDIR=/usr/lib/x86_64-linux-gnu | ||
|
||
ROOT=/home/math | ||
|
||
# Compilers | ||
|
||
FC = mpif90 -std=f2008 -fall-intrinsics -I $(GACODE_ROOT)/modules -J $(GACODE_ROOT)/modules -fPIC | ||
F77 = mpif77 | ||
FOMP =-fopenmp | ||
FMATH =-fdefault-real-8 -fdefault-double-8 | ||
FOPT =-Ofast | ||
FDEBUG =-Wall -W -fcheck=all -g -fbacktrace -ffpe-trap=invalid,zero,overflow -fimplicit-none -finit-real=nan | ||
F2PY = f2py | ||
|
||
# System math libraries | ||
LMATH = ${ROOT}/OpenBLAS/libopenblas.a $(FFTWDIR)/libfftw3.a $(FFTWDIR)/libfftw3_omp.a | ||
FFTW_INC=/usr/include | ||
|
||
# OPTIONAL NetCDF: | ||
NETCDF=-L/usr/lib -lnetcdff -lnetcdf | ||
NETCDF_INC=/usr/include | ||
|
||
# Archive | ||
|
||
ARCH = ar cr |
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
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,13 @@ | ||
#!/bin/sh | ||
# GACODE Parallel execution script (MINT) | ||
|
||
simdir=${1} | ||
nmpi=${2} | ||
exec=${3} | ||
nomp=${4} | ||
numa=${5} | ||
mpinuma=${6} | ||
|
||
cd $simdir | ||
mpiexec -env OMP_NUM_THREADS $nomp -n $nmpi $exec | ||
|