Closed dqwu closed 10 months ago
@jayeshkrishna This issue is also reproducible on anvil where netcdf-fortran 4.4.4 is being used: export NETCDF_FORTRAN_PATH=/gpfs/fs1/software/centos7/spack-latest/opt/spack/linux-centos7-x86_64/intel-20.0.4/netcdf-fortran-4.4.4-eanrh5t
Also reproducible on chrysalis: export NETCDF_FORTRAN_PATH=/gpfs/fs1/soft/chrysalis/spack/opt/spack/linux-centos8-x86_64/intel-20.0.4/netcdf-fortran-4.4.4-tplolxh
With recent Fortran interface updates, src/flib/spio_netcdf_types.F90 uses NF_COMPACT when NETCDF4 is available:
This would cause some E3SM build errors on Summit:
Note, NF_COMPACT is not defined before netcdf-fortran 4.5.3.
On Summit, E3SM uses netcdf-fortran 4.4.5 module:
<command name="load">netcdf-fortran/4.4.5</command>