Skip to content

Commit

Permalink
disable pnetcdf with nag
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Aug 17, 2016
1 parent 8dbbc43 commit b7f163a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cime_config/cesm/machines/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,12 @@ else
CMAKE_OPTS += -D WITH_PNETCDF:LOGICAL=FALSE -D PIO_USE_MPIIO:LOGICAL=FALSE
endif

# NAG doesn't get along too nicely with PnetCDF Fortran interfaces.
ifeq ($(COMPILER),nag)
ifeq ($(PIO_VERSION),1)
CMAKE_OPTS += -D WITH_PNETCDF:LOGICAL=FALSE -D PIO_USE_MPIIO:LOGICAL=FALSE
endif
endif

ifdef PIO_FILESYSTEM_HINTS
CMAKE_OPTS += -D PIO_FILESYSTEM_HINTS:STRING="$(PIO_FILESYSTEM_HINTS)"
Expand Down

0 comments on commit b7f163a

Please sign in to comment.