Skip to content

Commit 1b559ce

Browse files
committed
Clean up previous commit. Please see below for details
To run MOM standalone use ./build_examples_cesm.sh just like ./build_examples.sh. To use the CESM compiler flags, (or at least the rough conversion I've done), add a "--cesm" arg to the run. The NVHPC with CESM is not working, and with intel debug it is clear there is an issue. The GNU and Intel CESM version (Non Debug) builds and runs. See templates for the changes between non-cesm and cesm flags. If you would like to use the builds without building yourself, check out this repo on derecho in /glade/u/home/manishrv/documents/installs/mom_interface_pr_192/components/mom/standalone/build.
1 parent e96b65f commit 1b559ce

2 files changed

Lines changed: 1 addition & 124 deletions

File tree

standalone/build/build_examples.sh

Lines changed: 0 additions & 123 deletions
This file was deleted.

standalone/templates/ncar-nvhpc_cesm.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ CPPFLAGS += $(shell nc-config --cflags)
9292
LIBS += $(shell nc-config --libs) $(shell nf-config --flibs)
9393

9494
# Additional CPPDEFS Flags
95-
CPPDEFS += -Duse_LARGEFILE -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DCPRPGI -DLINUX -DHAVE_GETTID
95+
CPPDEFS += -DCNL -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DCPRPGI -DLINUX -DHAVE_GETTID -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DCPRPGI -DLINUX -DHAVE_GETTID -DNDEBUG -DUSE_ESMF_LIB -DHAVE_MPI -DNUOPC_INTERFACE -DPIO2 -DHAVE_SLASHPROC -D_PNETCDF -DESMF_VERSION_MAJOR=8 -DESMF_VERSION_MINOR=6 -DATM_PRESENT -DICE_PRESENT -DLND_PRESENT -DOCN_PRESENT -DROF_PRESENT -DGLC_PRESENT -DWAV_PRESENT -DESP_PRESENT -DMED_PRESENT
9696

9797

9898
# These Algebra libraries Add solution to more complex vector matrix model equations

0 commit comments

Comments
 (0)