Skip to content
Snippets Groups Projects
Commit c3b978de authored by RobertSchoetter's avatar RobertSchoetter
Browse files

Bugfix for compilation on Ubuntu PC.

parent 8daf3765
No related branches found
No related tags found
No related merge requests found
...@@ -648,8 +648,8 @@ endif ...@@ -648,8 +648,8 @@ endif
# #
ifeq "$(VER_CDF)" "CDFCTI" ifeq "$(VER_CDF)" "CDFCTI"
CDF_PATH?=/usr CDF_PATH?=/usr
INC_NETCDF = -I${CDF_PATH}/include INC_NETCDF ?= $(shell nf-config --fflags)
LIB_NETCDF = -L${CDF_PATH}/lib64 -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lsz -lz LIB_NETCDF ?= $(shell nf-config --flibs)
INC += $(INC_NETCDF) INC += $(INC_NETCDF)
LIBS += $(LIB_NETCDF) LIBS += $(LIB_NETCDF)
endif endif
......
...@@ -19,7 +19,7 @@ export VERSION_CDFCXX=${VERSION_CDFCXX:-"4.3.1"} ...@@ -19,7 +19,7 @@ export VERSION_CDFCXX=${VERSION_CDFCXX:-"4.3.1"}
export VERSION_CDFF=${VERSION_CDFF:-"4.5.3"} export VERSION_CDFF=${VERSION_CDFF:-"4.5.3"}
export VERSION_GRIBAPI=${VERSION_GRIBAPI:-"1.26.0-Source"} export VERSION_GRIBAPI=${VERSION_GRIBAPI:-"1.26.0-Source"}
export VERSION_ECCODES=${VERSION_ECCODES:-"2.18.0"} export VERSION_ECCODES=${VERSION_ECCODES:-"2.18.0"}
export ECCODES_DEFINITION_PATH=${ECCODES_DEFINITION_PATH:${SRC_MESONH}/src/LIB/eccodes-${VERSION_ECCODES}"/definitions/"} export ECCODES_DEFINITION_PATH=${ECCODES_DEFINITION_PATH:-${SRC_MESONH}/src/LIB/eccodes-${VERSION_ECCODES}/definitions/}
export MNH_INT=${MNH_INT:-"4"} export MNH_INT=${MNH_INT:-"4"}
export LFI_INT=${LFI_INT:-8} export LFI_INT=${LFI_INT:-8}
export MNH_REAL=${MNH_REAL:-"8"} export MNH_REAL=${MNH_REAL:-"8"}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment