Skip to content

Commit

Permalink
Add GOTM3 in Femto make
Browse files Browse the repository at this point in the history
  • Loading branch information
josephzhang8 committed Aug 25, 2023
1 parent d01a666 commit 2dbac17
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions mk/Make.defs.femto
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ include ../mk/include_modules

# Don't comment out the follow ifdef
ifdef USE_GOTM
GTMMOD = -I/sciclone/home10/yinglong/SCHISM/svn/trunk/src/GOTM3.2.5/modules/IFORT/ #modules
GTMLIBS = -L/sciclone/home10/yinglong/SCHISM/svn/trunk/src/GOTM3.2.5/lib/IFORT/ -lturbulence_prod -lutil_prod
GTMMOD = -I/sciclone/home/yinglong/GOTM3.2.5_libs/Femto/modules/IFORT/ #modules
GTMLIBS = -L/sciclone/home/yinglong/GOTM3.2.5_libs/Femto/lib/IFORT/ -lturbulence_prod -lutil_prod
else
GTMMOD =
GTMLIBS =
Expand Down
4 changes: 2 additions & 2 deletions mk/include_modules
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
EXEC := $(EXEC)_$(TVD_LIM)

# GOTM turbulence closure model
# USE_GOTM = yes
# EXEC := $(EXEC)_GOTM
USE_GOTM = yes
EXEC := $(EXEC)_GOTM

# Wind wave model WWM
# USE_WWM = yes
Expand Down
4 changes: 2 additions & 2 deletions src/GOTM3.2.5/README
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ To build GOTM lib:

On tcsh:
setenv NETCDFHOME /usr/local/intel64/nehalem/intel-2016/netcdf-4.3.2/ (so that NETCDFLIBNAME below points to right netcdf lib)
setenv NETCDFINC /sciclone/home10/yinglong/SCHISM/svn/trunk/src/GOTM3.2.5/netcdf_include (WARNING: use
setenv NETCDFINC /sciclone/home/yinglong/git/schism/src/GOTM3.2.5/netcdf_include (WARNING: use
files in this dir, not in the netcdf include dir!!!!)
setenv NETCDFLIBNAME $NETCDFHOME/lib/libnetcdf.a
setenv GOTMDIR /sciclone/home10/yinglong/SCHISM/svn/trunk/src/GOTM3.2.5/
setenv GOTMDIR /sciclone/home/yinglong/git/schism/src/GOTM3.2.5/
setenv FORTRAN_COMPILER IFORT (Note: see $GOTMDIR/compilers/ for names "IFORT" etc)

On bash: export NETCDFHOME=/usr/local/ etc.
Expand Down
Binary file modified src/GOTM3.2.5/src/gotm_prod_IFORT
Binary file not shown.

0 comments on commit 2dbac17

Please sign in to comment.