Skip to content

Commit

Permalink
update conda_macos for compilation with parallelio
Browse files Browse the repository at this point in the history
  • Loading branch information
apcraig committed Jan 15, 2024
1 parent ac9afc3 commit b8779d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion configuration/scripts/machines/Macros.conda_macos
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ else
endif

# Libraries to be passed to the linker
SLIBS := -L$(CONDA_PREFIX)/lib -lpiof -lnetcdf -lnetcdff -llapack -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi
SLIBS := -L$(CONDA_PREFIX)/lib -lnetcdf -lnetcdff -llapack -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi

# Necessary flag to compile with OpenMP support
ifeq ($(ICE_THREADED), true)
Expand All @@ -61,3 +61,7 @@ ifeq ($(ICE_THREADED), true)
FFLAGS += -fopenmp
endif

ifeq ($(ICE_IOTYPE), pio2)
SLIBS := $(SLIBS) -lpiof -lpioc
endif

0 comments on commit b8779d9

Please sign in to comment.