-
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.
Merge pull request #5 from transp/config-updates
Config file updates
- Loading branch information
Showing
5 changed files
with
53 additions
and
28 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
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,38 @@ | ||
module purge | ||
module load git | ||
|
||
# Specify compiler (GCC, ICC, PGC): | ||
export COMPILER=ICC15 | ||
|
||
if [ $COMPILER = 'ICC' -o $COMPILER = 'ICC19' ]; then | ||
module load intel/2019.u3 | ||
elif [ $COMPILER = 'ICC15' ]; then | ||
module load intel/2015.u1 | ||
elif [ $COMPILER = 'PGC' ]; then | ||
module load pgf/19.1 | ||
elif [ $COMPILER = 'GCC6' ]; then | ||
module load gcc/6.1.0 | ||
else | ||
module load gcc/9.1.0 | ||
fi | ||
|
||
module load szip | ||
module load curl | ||
module load hdf | ||
module load hdf5-serial | ||
module load netcdf-c | ||
module load netcdf-fortran | ||
|
||
if [ $COMPILER = 'ICC15' ]; then | ||
export NETCDF_FORTRAN_HOME=$NETCDFHOME | ||
export COMPILER=ICC | ||
elif [ $COMPILER = 'GCC6' ]; then | ||
export NETCDF_FORTRAN_HOME=$NETCDFHOME | ||
export COMPILER=GCC | ||
fi | ||
|
||
if [ ! -z "$NETCDF_FORTRAN_HOME" ]; then | ||
export NETCDF_FLAGS=" -D_NETCDF" | ||
export L_NETCDF=" -L$NETCDF_FORTRAN_HOME/lib -lnetcdff" | ||
export I_NETCDF=" -I$NETCDF_FORTRAN_HOME/include" | ||
fi |
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,6 @@ | ||
export COMPILER=GCC | ||
export FC=gfortran | ||
export CXX=g++ | ||
export NETCDF_FLAGS=" -D_NETCDF" | ||
export L_NETCDF=" -L/usr/lib/x86_64-linux-gnu/lib -lnetcdff" | ||
export I_NETCDF=" -I/usr/include" |
This file was deleted.
Oops, something went wrong.