Skip to content

Commit 099fee9

Browse files
committed
Correcting the ESMF link path in src/core_atmosphere/utils/Makefile
This commit corrects the link path for the ESMF module by replacing the incorrect make variable MPAS_ESMF_LIBS with MPAS_ESMF_LIB, which is the variable defined in the root Makefile. This issue came to attention due to a linking error that arises when building the MPAS atmosphere core with the nvhpc compiler in DEBUG mode.
1 parent 88ae401 commit 099fee9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core_atmosphere/utils/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ endif
77
all: $(UTILS)
88

99
build_tables: build_tables.o atmphys_build_tables_thompson.o
10-
$(LINKER) $(LDFLAGS) -o build_tables build_tables.o atmphys_build_tables_thompson.o -L../../framework -L../physics -lphys -lframework $(LIBS) $(MPAS_ESMF_LIBS)
10+
$(LINKER) $(LDFLAGS) -o build_tables build_tables.o atmphys_build_tables_thompson.o -L../../framework -L../physics -lphys -lframework $(LIBS) $(MPAS_ESMF_LIB)
1111
mv build_tables ../../..
1212

1313

0 commit comments

Comments
 (0)