Skip to content

Commit

Permalink
Clean up previous commit. Please see below for details
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
manishvenu committed Sep 6, 2024
1 parent e96b65f commit 1b559ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 124 deletions.
123 changes: 0 additions & 123 deletions standalone/build/build_examples.sh

This file was deleted.

2 changes: 1 addition & 1 deletion standalone/templates/ncar-nvhpc_cesm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ CPPFLAGS += $(shell nc-config --cflags)
LIBS += $(shell nc-config --libs) $(shell nf-config --flibs)

# Additional CPPDEFS Flags
CPPDEFS += -Duse_LARGEFILE -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DCPRPGI -DLINUX -DHAVE_GETTID
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


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

0 comments on commit 1b559ce

Please sign in to comment.