Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/conf/module-setup.csh.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ if ( { test -d /lfs3 } ) then
source /apps/lmod/lmod/init/$__ms_shell
endif
module purge
#else if ( { test -d /scratch1 } ) then
else if ( { test -d /tds_scratch1 } ) then
else if ( { test -d /scratch1 } ) then
# We are on NOAA Hera
if ( ! { module help >& /dev/null } ) then
source /apps/lmod/lmod/init/$__ms_shell
Expand Down
3 changes: 1 addition & 2 deletions src/conf/module-setup.sh.inc
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ if [[ -d /lfs3 ]] ; then
source /apps/lmod/lmod/init/$__ms_shell
fi
module purge
#elif [[ -d /scratch1 ]] ; then
elif [[ -d /tds_scratch1 ]] ; then
elif [[ -d /scratch1 ]] ; then
# We are on NOAA Hera
if ( ! eval module help > /dev/null 2>&1 ) ; then
source /apps/lmod/lmod/init/$__ms_shell
Expand Down
19 changes: 8 additions & 11 deletions src/incmake/env/rdhpcs/detect.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,21 @@
#
########################################################################

ifneq (,$(and $(wildcard /scratch4),$(wildcard /scratch3)))
ifneq (,$(and $(wildcard /scratch1),$(wildcard /scratch2),$(shell hostname | grep -i hfe)))
NEMS_COMPILER?=intel
$(call add_build_env,theia.$(NEMS_COMPILER),env/rdhpcs/theia.$(NEMS_COMPILER).mk)
$(call add_build_env,hera.$(NEMS_COMPILER),env/rdhpcs/hera.$(NEMS_COMPILER).mk)
else
ifneq (,$(and $(wildcard /lfs1),$(wildcard /lfs3)))
ifneq (,$(and $(wildcard /scratch4),$(wildcard /scratch3),$(shell hostname | grep -i tfe)))
NEMS_COMPILER?=intel
$(call add_build_env,jet.$(NEMS_COMPILER),env/rdhpcs/jet.$(NEMS_COMPILER).mk)
$(call add_build_env,theia.$(NEMS_COMPILER),env/rdhpcs/theia.$(NEMS_COMPILER).mk)
else
ifneq (,$(shell hostname | grep -i gaea))
ifneq (,$(and $(wildcard /lfs1),$(wildcard /lfs3)))
NEMS_COMPILER?=intel
$(call add_build_env,gaea.$(NEMS_COMPILER),env/rdhpcs/gaea.$(NEMS_COMPILER).mk)
$(call add_build_env,jet.$(NEMS_COMPILER),env/rdhpcs/jet.$(NEMS_COMPILER).mk)
else
# DH*
#ifneq (,$(and $(wildcard /scratch1),$(wildcard /scratch2)))
ifneq (,$(wildcard /tds_scratch1))
# *DH juno test system
ifneq (,$(shell hostname | grep -i gaea))
NEMS_COMPILER?=intel
$(call add_build_env,hera.$(NEMS_COMPILER),env/rdhpcs/hera.$(NEMS_COMPILER).mk)
$(call add_build_env,gaea.$(NEMS_COMPILER),env/rdhpcs/gaea.$(NEMS_COMPILER).mk)
endif
endif
endif
Expand Down