Skip to content

Commit

Permalink
Fix PNETCDF for some platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfouca committed May 24, 2019
1 parent c38f3ad commit 7eb00eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cime/config/e3sm/machines/config_compilers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,7 @@ for mct, etc.
</SLIBS>
<NETCDF_C_PATH>$ENV{NETCDF_C_PATH}</NETCDF_C_PATH>
<NETCDF_FORTRAN_PATH>$ENV{NETCDF_FORTRAN_PATH}</NETCDF_FORTRAN_PATH>
<PNETCDF_PATH mpilib="!mpi-serial">$ENV{PNETCDF_PATH}</PNETCDF_PATH>
</compiler>

<compiler MACH="anvil" COMPILER="intel">
Expand Down Expand Up @@ -740,6 +741,7 @@ for mct, etc.
</SLIBS>
<NETCDF_C_PATH>$ENV{NETCDF_C_PATH}</NETCDF_C_PATH>
<NETCDF_FORTRAN_PATH>$ENV{NETCDF_FORTRAN_PATH}</NETCDF_FORTRAN_PATH>
<PNETCDF_PATH mpilib="!mpi-serial">$ENV{PNETCDF_PATH}</PNETCDF_PATH>
</compiler>

<compiler MACH="anvil" COMPILER="pgi">
Expand All @@ -750,6 +752,7 @@ for mct, etc.
</SLIBS>
<NETCDF_C_PATH>$ENV{NETCDF_C_PATH}</NETCDF_C_PATH>
<NETCDF_FORTRAN_PATH>$ENV{NETCDF_FORTRAN_PATH}</NETCDF_FORTRAN_PATH>
<PNETCDF_PATH mpilib="!mpi-serial">$ENV{PNETCDF_PATH}</PNETCDF_PATH>
</compiler>

<compiler MACH="bebop" COMPILER="intel">
Expand All @@ -771,6 +774,7 @@ for mct, etc.
</SLIBS>
<NETCDF_C_PATH>$ENV{NETCDF_C_PATH}</NETCDF_C_PATH>
<NETCDF_FORTRAN_PATH>$ENV{NETCDF_FORTRAN_PATH}</NETCDF_FORTRAN_PATH>
<PNETCDF_PATH mpilib="!mpi-serial">$ENV{PNETCDF_PATH}</PNETCDF_PATH>
</compiler>

<compiler MACH="blues" COMPILER="gnu">
Expand Down

0 comments on commit 7eb00eb

Please sign in to comment.