Skip to content

Commit 35e4baa

Browse files
authored
Merge pull request #256 from jshaw35/rttov_int
Optionally add hdf5 libraries for linking with COSP-RTTOV
2 parents 7854eca + 3ee2d6c commit 35e4baa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

machines/derecho/derecho.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ if (MPILIB STREQUAL openmpi)
2020
set(SCXX "$ENV{CXX}")
2121
set(SFC "$ENV{FC}")
2222
endif()
23+
if(DEFINED ENV{RTTOV})
24+
string(APPEND LDFLAGS " -L$(NCAR_LDFLAGS_HDF5) -lhdf5_fortran -lhdf5_hl_fortran -lhdf5")
25+
endif()

0 commit comments

Comments
 (0)