Skip to content

Commit

Permalink
Minor clean-up and clarifying comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
theurich committed Oct 24, 2024
1 parent 4bbe8f2 commit d50f8bf
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions build_config/Linux.aocc.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ESMF_CPPDEFAULT = clang -E -P -x c

ESMF_CXXCOMPILECPPFLAGS += -x c++

# Need this until __aocc__ macro shows up in Fortran preprocessing
ESMF_CPPFLAGS += -DESMF_COMPILER_AOCC

############################################################
Expand Down Expand Up @@ -80,15 +81,6 @@ ESMF_CDEFAULT = mpicc
ESMF_MPIRUNDEFAULT = mpirun $(ESMF_MPILAUNCHOPTIONS)
ESMF_MPIMPMDRUNDEFAULT = mpiexec $(ESMF_MPILAUNCHOPTIONS)
else
ifeq ($(ESMF_COMM),lam)
# LAM (assumed to be built with gfortran) -----------------------
ESMF_CXXCOMPILECPPFLAGS+= -DESMF_NO_SIGUSR2
ESMF_F90DEFAULT = mpif77
ESMF_CXXDEFAULT = mpic++
ESMF_CDEFAULT = mpicc
ESMF_MPIRUNDEFAULT = mpirun $(ESMF_MPILAUNCHOPTIONS)
ESMF_MPIMPMDRUNDEFAULT = mpiexec $(ESMF_MPILAUNCHOPTIONS)
else
ifeq ($(ESMF_COMM),openmpi)
# OpenMPI --------------------------------------------------
ifeq ($(shell $(ESMF_DIR)/scripts/available mpifort),mpifort)
Expand Down Expand Up @@ -116,7 +108,6 @@ endif
endif
endif
endif
endif

############################################################
# Print compiler version string
Expand Down

0 comments on commit d50f8bf

Please sign in to comment.