forked from E3SM-Project/E3SM
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cime now has CMake findnetCDF.cmake included, so no need to explicitl…
…y add netcdf4 includes and libs.
- Loading branch information
Showing
1 changed file
with
0 additions
and
17 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
cime_config/machines/cmake_macros/gnu_cades-baseline.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,2 @@ | ||
set(MPICC "mpicc") | ||
set(MPICXX "mpic++") | ||
set(MPIFC "mpif90") | ||
set(SCC "gcc") | ||
set(SCXX "g++") | ||
set(SFC "gfortran") | ||
set(SUPPORTS_CXX "TRUE") | ||
set(HDF5_PATH "$ENV{HDF5_PATH}") | ||
set(NETCDF_C_PATH "$ENV{NETCDF_C_PATH}") | ||
set(NETCDF_FORTRAN_PATH "$ENV{NETCDF_FORTRAN_PATH}") | ||
set(BLASLAPACK_LIBDIR "$ENV{BLASLAPACK_LIBDIR}") | ||
string(APPEND CMAKE_C_FLAGS_RELEASE " -O2") | ||
string(APPEND CMAKE_Fortran_FLAGS_RELEASE " -O2") | ||
string(APPEND CMAKE_CXX_FLAGS_DEBUG " -O0") | ||
string(APPEND FFLAGS " -fallow-argument-mismatch") | ||
string(APPEND SLIBS " -L$ENV{PNETCDF_PATH}/lib -lpnetcdf -L$ENV{HDF5_PATH}/lib -lhdf5_hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -L$ENV{NETCDF_C_PATH}/lib -lnetcdf -L$ENV{NETCDF_FORTRAN_PATH}/lib -lnetcdff") | ||
string(APPEND SLIBS " -L${BLASLAPACK_LIBDIR} -lblas -llapack") | ||
string(APPEND CXX_LIBS " -lstdc++") | ||
set(PIO_FILESYSTEM_HINTS "gpfs") |