From 87aa38d6099a7d5ffedfdaeb37ac15effcbf64f7 Mon Sep 17 00:00:00 2001 From: mo-marqh <87382490+mo-marqh@users.noreply.github.com> Date: Wed, 15 May 2024 16:08:45 +0000 Subject: [PATCH 1/2] Update Makefile for compiler portability --- xios_examples/context_test/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xios_examples/context_test/Makefile b/xios_examples/context_test/Makefile index 376f4a4..6316d37 100644 --- a/xios_examples/context_test/Makefile +++ b/xios_examples/context_test/Makefile @@ -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 @@ -37,6 +37,8 @@ LDFLAGS = \ -lnetcdff \ -lstdc++ +.PHONY: all, clean, run + OBJ = custom_type_mod.o context_def_mod.o all: context_def_test From 8ce52cac75a9b4fe1800930683af8ea2a687bf01 Mon Sep 17 00:00:00 2001 From: mo-marqh <87382490+mo-marqh@users.noreply.github.com> Date: Thu, 16 May 2024 10:12:26 +0000 Subject: [PATCH 2/2] Env Var Names comment --- xios_examples/context_test/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xios_examples/context_test/Makefile b/xios_examples/context_test/Makefile index 6316d37..e8677c3 100644 --- a/xios_examples/context_test/Makefile +++ b/xios_examples/context_test/Makefile @@ -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