Skip to content

Commit

Permalink
src/incmake/env/rdhpcs/detect.mk: test for hostname prefix, since her…
Browse files Browse the repository at this point in the history
…a and theia both have /scratch1 through /scratch4 mounted
  • Loading branch information
DomHeinzeller committed Aug 27, 2019
1 parent 028e1e8 commit e142f4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/incmake/env/rdhpcs/detect.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
#
########################################################################

ifneq (,$(and $(wildcard /scratch1),$(wildcard /scratch2)))
ifneq (,$(and $(wildcard /scratch1),$(wildcard /scratch2),$(shell hostname | grep -i hfe)))
NEMS_COMPILER?=intel
$(call add_build_env,hera.$(NEMS_COMPILER),env/rdhpcs/hera.$(NEMS_COMPILER).mk)
else
ifneq (,$(and $(wildcard /scratch4),$(wildcard /scratch3)))
ifneq (,$(and $(wildcard /scratch4),$(wildcard /scratch3),$(shell hostname | grep -i tfe)))
NEMS_COMPILER?=intel
$(call add_build_env,theia.$(NEMS_COMPILER),env/rdhpcs/theia.$(NEMS_COMPILER).mk)
else
Expand Down

0 comments on commit e142f4e

Please sign in to comment.