Skip to content

Commit

Permalink
context_test won't compile on Archer2 (#20)
Browse files Browse the repository at this point in the history
* Update Makefile for compiler portability

* Env Var Names comment
  • Loading branch information
mo-marqh authored May 16, 2024
1 parent 7312747 commit 803eeb2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions xios_examples/context_test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
#
# Environment Variables expected by this MakeFile:
#
# NETCDF_LIB_DIR: the directories for the netCDF lib files
# NETCDF_LIBDIR: the directories for the netCDF lib files
# encoded as a -L string, e.g.
# "-L/dir1 -L/dir2"
# NETCDF_INC_DIR: the directories for the netCDF include files
# NETCDF_INCDIR: the directories for the netCDF include files
# encoded as a -I string, e.g.
# "-I/dir3 -I/dir4"
# (note, this is for consistency with the XIOS build process
Expand All @@ -21,7 +21,7 @@
# XIOS_LIBDIR: The directory for XIOS lib files
# XIOS_BINDIR: The directory for XIOS binary files

FCFLAGS = -g -ffree-line-length-none
FCFLAGS = -g

FC = mpif90 # compiler driver for MPI programs

Expand All @@ -37,6 +37,8 @@ LDFLAGS = \
-lnetcdff \
-lstdc++

.PHONY: all, clean, run

OBJ = custom_type_mod.o context_def_mod.o

all: context_def_test
Expand Down

0 comments on commit 803eeb2

Please sign in to comment.