Skip to content

Commit

Permalink
updates to porting to WCOSS2: (NOAA-EMC#478)
Browse files Browse the repository at this point in the history
Updates porting for WCOSS2
* remove any xhost compile flags
* define in esmf makefile to use ftn instead of gfortran
  • Loading branch information
JessicaMeixner-NOAA authored Sep 20, 2021
1 parent 435298b commit 88b5d70
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions model/bin/cmplr.env
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ if [ "$cmplr" == "intel" ] || [ "$cmplr" == "intel_debug" ] || [ "$c
elif [ ! -z "$(echo $cmplr | grep wcoss_cray)" ] ; then
optc="$optc -xCORE-AVX2"
optl="$optl -xCORE-AVX2"
elif [ ! -z "$(echo $cmplr | grep wcoss2)" ] ; then
optc="$optc"
optl="$optl"
elif [ ! -z "$(echo $cmplr | grep wcoss_dell_p3)" ] ; then
optc="$optc -xHOST"
optl="$optl -xHOST"
Expand Down
6 changes: 5 additions & 1 deletion model/esmf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ else ifeq ("$(WW3_COMP)",$(filter "$(WW3_COMP)","Intel" "hera.intel" "orion.inte
ESMF_F90COMPILEOPTS := $(ESMF_F90COMPILEOPTS) -convert big_endian
else ifeq ("$(WW3_COMP)",$(filter "$(WW3_COMP)", "cheyenne.intel" "stampede.intel"))
ESMF_F90COMPILEOPTS := $(ESMF_F90COMPILEOPTS) -convert big_endian
else ifeq ("$(WW3_COMP)",$(filter "$(WW3_COMP)","wcoss_cray" "wcoss_dell_p3" "gaea.intel" "wcoss2"))
else ifeq ("$(WW3_COMP)",$(filter "$(WW3_COMP)","wcoss_cray" "wcoss_dell_p3" "gaea.intel"))
ESMF_F90COMPILEOPTS := $(ESMF_F90COMPILEOPTS) -convert big_endian
else ifeq ("$(WW3_COMP)",$(filter "$(WW3_COMP)","wcoss2"))
ESMF_F90COMPILEOPTS := $(ESMF_F90COMPILEOPTS) -convert big_endian
WW3_CC=cc
WW3_F90=ftn
else ifeq ("$(WW3_COMP)",$(filter "$(WW3_COMP)","intel" "datarmor_intel" "datarmor_intel_debug"))
ESMF_F90COMPILEOPTS := $(ESMF_F90COMPILEOPTS) -convert big_endian
# mpt
Expand Down

0 comments on commit 88b5d70

Please sign in to comment.