Skip to content

Commit

Permalink
Implemented fix from Philippe Blaine so that netcdf output works on U…
Browse files Browse the repository at this point in the history
…buntu.
  • Loading branch information
davidclemenssewall committed Jan 22, 2023
1 parent 3a4d02e commit 3832050
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configuration/scripts/machines/Macros.conda_linux
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ CC := $(SCC)
FC := $(SFC)
LD := $(FC)

# Location of the compiled Fortran modules (NetCDF)
MODDIR += -I$(CONDA_PREFIX)/include

# Libraries to be passed to the linker
SLIBS := -L$(CONDA_PREFIX)/lib -lnetcdf -lnetcdff

# Necessary flag to compile with OpenMP support
ifeq ($(ICE_THREADED), true)
LDFLAGS += -fopenmp
Expand Down

0 comments on commit 3832050

Please sign in to comment.