I'm trying to install CCSM 4_02, but I'm getting these errors during compilation (during clm.buildexe.csh):
OS: Ubuntu 16.04
Fortran compiler: ifort 19.1.2.254 and mpiifort (that came with Parallel Studio 2020)
CCSM machine type: generic_linux_machine
CCSM version: ccsm4_0_a02
Here's the file (ncdio.F90) where the errors are happening:
On this forum (see link below), someone else had the exact same problem when trying to compile CESM (but I'm trying to compile CCSM). Another user suggested that using a newer version of CESM might fix the issue. That was indeed the solution. However, I've looked through all of the CCSM versions, and all of the "ncdioF90" files look exactly the same (based on a quick skim).
Forums link: https://bb.cgd.ucar.edu/cesm/threads/clm-buildexe-csh-failed.2593/
All the different versions of the file:
What am I doing wrong? How can I fix this issue?
Thanks in advance!
/xxx/CESM/models/lnd/clm/src/main/ncdio.F90(5060): error #6906: The value of the integer is either too great or too small, and overflow/underflow occurred. [O'0777610000000000000000']
data_offset = nan
---------------------^
/xxx/CESM/models/lnd/clm/src/main/ncdio.F90(5094): error #6906: The value of the integer is either too great or too small, and overflow/underflow occurred. [O'0777610000000000000000']
pfts(:) = nan
---------------------^
/xxx/CESM/models/lnd/clm/src/main/ncdio.F90(5095): error #6906: The value of the integer is either too great or too small, and overflow/underflow occurred. [O'0777610000000000000000']
data_offset = nan
OS: Ubuntu 16.04
Fortran compiler: ifort 19.1.2.254 and mpiifort (that came with Parallel Studio 2020)
CCSM machine type: generic_linux_machine
CCSM version: ccsm4_0_a02
Here's the file (ncdio.F90) where the errors are happening:
On this forum (see link below), someone else had the exact same problem when trying to compile CESM (but I'm trying to compile CCSM). Another user suggested that using a newer version of CESM might fix the issue. That was indeed the solution. However, I've looked through all of the CCSM versions, and all of the "ncdioF90" files look exactly the same (based on a quick skim).
Forums link: https://bb.cgd.ucar.edu/cesm/threads/clm-buildexe-csh-failed.2593/
All the different versions of the file:
- https://svn-ccsm-release.cgd.ucar.edu/model_versions/ccsm4/models/lnd/clm/src/main/ncdio.F90
- https://svn-ccsm-release.cgd.ucar.edu/model_versions/ccsm4_0_a01/models/lnd/clm/src/main/ncdio.F90
- https://svn-ccsm-release.cgd.ucar.edu/model_versions/ccsm4_0_a02/models/lnd/clm/src/main/ncdio.F90
What am I doing wrong? How can I fix this issue?
Thanks in advance!