[Dart-dev] DART/branches Revision: 12336

dart at ucar.edu dart at ucar.edu
Tue Jan 16 13:51:47 MST 2018


thoar at ucar.edu
2018-01-16 13:51:45 -0700 (Tue, 16 Jan 2018)
169
Adding the libraries needed (for the HDF5_utilities_mod.f90) to the list of example libraries,
(just the list of example libraries, not the libraries actually loaded).




Modified: DART/branches/cesm_clm/build_templates/mkmf.template.gfortran
===================================================================
--- DART/branches/cesm_clm/build_templates/mkmf.template.gfortran	2018-01-16 20:44:07 UTC (rev 12335)
+++ DART/branches/cesm_clm/build_templates/mkmf.template.gfortran	2018-01-16 20:51:45 UTC (rev 12336)
@@ -71,6 +71,7 @@
 # LIBS = -L$(NETCDF)/lib -lnetcdff -lnetcdf
 # LIBS = -L$(NETCDF)/lib -lnetcdf           -lcurl -lhdf5_hl -lhdf5 -lz -lm
 # LIBS = -L$(NETCDF)/lib -lnetcdff -lnetcdf -lcurl -lhdf5_hl -lhdf5 -lz -lm
+# LIBS = -L$(NETCDF)/lib -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lhdf5hl_fortran -lhdf5_fortran
 #
 # If you get an error "ld: library not found for -lnetcdff" (note 2 f's),
 # remove it from the LIBS line. The same is true for any library. If 'ld'

Modified: DART/branches/cesm_clm/build_templates/mkmf.template.intel.linux
===================================================================
--- DART/branches/cesm_clm/build_templates/mkmf.template.intel.linux	2018-01-16 20:44:07 UTC (rev 12335)
+++ DART/branches/cesm_clm/build_templates/mkmf.template.intel.linux	2018-01-16 20:51:45 UTC (rev 12336)
@@ -121,6 +121,7 @@
 # LIBS = -L$(NETCDF)/lib -lnetcdff -lnetcdf
 # LIBS = -L$(NETCDF)/lib -lnetcdf           -lcurl -lhdf5_hl -lhdf5 -lz -lm
 # LIBS = -L$(NETCDF)/lib -lnetcdff -lnetcdf -lcurl -lhdf5_hl -lhdf5 -lz -lm
+# LIBS = -L$(NETCDF)/lib -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lhdf5hl_fortran -lhdf5_fortran
 #
 # If you get an error "ld: library not found for -lnetcdff" (note 2 f's),
 # remove it from the LIBS line. The same is true for any library. If 'ld'


More information about the Dart-dev mailing list