Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Gfortran compiler errors

Here are the syntax errors I'm getting from an alpha branch on our chinook system, both old and new gfortran. The intel build was successful. atm:
Code:
make: Entering directory '/import/c1/AKWATERS/kate/climate/kshedstrom/Arctic5_JRA.MOM6/bld/atm/obj'
ERROR:  No results found for variable CAM_DYCORE
/import/c1/AKWATERS/kate/CESM/cime/scripts/Arctic5_JRA.MOM6/Tools/mkSrcfiles
cp -f Filepath Deppath
/import/c1/AKWATERS/kate/CESM/cime/scripts/Arctic5_JRA.MOM6/Tools/mkDepends  Deppath Srcfiles > Depends
ERROR:  No results found for variable CAM_DYCORE
/import/c1/AKWATERS/kate/CESM/cime/src/components/data_comps_nuopc/datm/src/atm_comp_nuopc.F90:267:11:

        if (wiso_datm /= flds_wiso) then
           1
Error: Logicals at (1) must be compared with .neqv. instead of /=
make: *** [/import/c1/AKWATERS/kate/CESM/cime/scripts/Arctic5_JRA.MOM6/Tools/Makefile:981: atm_comp_nuopc.o] Error 1
csm, ice, and pio also complain about the CAM_DYCORE.
ocn:
Code:
 /usr/local/pkg/mpi/OpenMPI/1.10.3-GCC-8.3.0-2.32/bin/mpif90 -c -I. -I/import/c1/AKWATERS/kate/CESM/libraries/FMS/src/include -I/import/c1/AKWATERS/kat
e/CESM/libraries/FMS/src/mpp/include -I/center1/AKWATERS/kate/climate/kshedstrom/Arctic5_JRA.MOM6/bld/ocn/obj/FMS -I/center1/AKWATERS/kate/climate/kshe
dstrom/Arctic5_JRA.MOM6/bld/gnu/openmpi/nodebug/nothreads/nuopc/include -I/center1/AKWATERS/kate/climate/kshedstrom/Arctic5_JRA.MOM6/bld/gnu/openmpi/no
debug/nothreads/nuopc/nuopc/esmf/c1a1i1o1/include -I/import/home/kshedstrom/gnu_8.3/include -I/center1/AKWATERS/kate/climate/kshedstrom/Arctic5_JRA.MOM
6/bld/gnu/openmpi/nodebug/nothreads/nuopc/include -I/center1/AKWATERS/kate/climate/kshedstrom/Arctic5_JRA.MOM6/bld/lnd/obj -I/center1/AKWATERS/kate/cli
mate/kshedstrom/Arctic5_JRA.MOM6/bld/lnd/obj -I. -I/import/c1/AKWATERS/kate/CESM/cime/scripts/Arctic5_JRA.MOM6/SourceMods/src.mom -I/import/c1/AKWATERS
/kate/CESM/components/mom/MOM6/config_src/nuopc_driver -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/config_src/dynamic_symmetric -I/import/c1/AK
WATERS/kate/CESM/components/mom/MOM6/src/ALE -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/src/core -I/import/c1/AKWATERS/kate/CESM/components/mo
m/MOM6/src/diagnostics -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/src/equation_of_state -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/sr
c/equation_of_state/TEOS10 -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/src/framework -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/src/ic
e_shelf -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/src/initialization -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/src/ocean_data_assim
 -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/src/ocean_data_assim/core -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/src/ocean_data_assim
/geoKdTree -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/pkg/CVMix-src/src/shared -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/src/paramet
erizations/lateral -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/src/parameterizations/vertical -I/import/c1/AKWATERS/kate/CESM/components/mom/MO
M6/src/tracer -I/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/src/user -I/center1/AKWATERS/kate/climate/kshedstrom/Arctic5_JRA.MOM6/bld/lib/include
 -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none -fcray-pointer  -fdefault-real-8 -Duse_LARGEFILE  -O -I/import/AKWATERS/kshedstr
om/src/esmf-esmf/mod/modO/Linux.gfortran.64.mpiuni.default -I/import/AKWATERS/kshedstrom/src/esmf-esmf/src/include   -DLINUX  -DCESMCOUPLED  -DFORTRANU
NDERSCORE -DNO_R16 -DCPRGNU -DNDEBUG -DUSE_ESMF_LIB -DNUOPC_INTERFACE -DHAVE_MPI -DHAVE_SLASHPROC -DESMF_VERSION_MAJOR=8 -DESMF_VERSION_MINOR=1 -DATM_P
RESENT -DICE_PRESENT -DLND_PRESENT -DOCN_PRESENT -DROF_PRESENT -DGLC_PRESENT -DWAV_PRESENT -DESP_PRESENT -ffree-form -DUSE_CONTIGUOUS= /import/c1/AKWAT
ERS/kate/CESM/components/mom/MOM6/config_src/nuopc_driver/mom_cap.F90

 err:

ERROR:  No results found for variable CAM_DYCORE
/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/config_src/nuopc_driver/mom_cap.F90:351:19:

      read(value, '(i)', iostat=iostat) scalar_field_count
                   1
Error: Nonnegative width required in format string at (1)
/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/config_src/nuopc_driver/mom_cap.F90:351:19:

      read(value, '(i)', iostat=iostat) scalar_field_count
                   1
Error: Nonnegative width required in format string at (1)
/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/config_src/nuopc_driver/mom_cap.F90:374:19:

      read(value, '(i)', iostat=iostat) scalar_field_idx_grid_nx
                   1
Error: Nonnegative width required in format string at (1)
/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/config_src/nuopc_driver/mom_cap.F90:397:19:

      read(value, '(i)', iostat=iostat) scalar_field_idx_grid_ny
                   1
Error: Nonnegative width required in format string at (1)
/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/config_src/nuopc_driver/mom_cap.F90:1434:51:

          scalar_field_name, scalar_field_count, rc)
                                                   1
Error: Type mismatch in argument ‘value’ at (1); passed REAL(16) to REAL(8)
/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/config_src/nuopc_driver/mom_cap.F90:1441:52:

           scalar_field_name, scalar_field_count, rc)
                                                    1
Error: Type mismatch in argument ‘value’ at (1); passed REAL(16) to REAL(8)
/import/c1/AKWATERS/kate/CESM/components/mom/MOM6/config_src/nuopc_driver/mom_cap.F90:413:38:

        attrList=(/'RestartFileToRead', 'RestartFileToWrite'/), rc=rc)
                                      1
Error: Different CHARACTER lengths (17/18) in array constructor at (1)
make: *** [/import/c1/AKWATERS/kate/CESM/cime/scripts/Arctic5_JRA.MOM6/Tools/Makefile:981: mom_cap.o] Error 1

ERROR: Command make complib -j 4 MODEL=mom COMPLIB=/center1/AKWATERS/kate/climate/kshedstrom/Arctic5_JRA.MOM6/bld/lib/libocn.a -f /import/c1/AKWATERS/k
ate/CESM/cime/scripts/Arctic5_JRA.MOM6/Tools/Makefile USER_INCLDIR="-I/import/c1/AKWATERS/kate/CESM/libraries/FMS/src/include -I/import/c1/AKWATERS/kat
e/CESM/libraries/FMS/src/mpp/include -I/center1/AKWATERS/kate/climate/kshedstrom/Arctic5_JRA.MOM6/bld/ocn/obj/FMS" CIME_MODEL=cesm  compile_threaded=FA
LSE  USE_KOKKOS=FALSE CASEROOT="/import/c1/AKWATERS/kate/CESM/cime/scripts/Arctic5_JRA.MOM6" CASETOOLS="/import/c1/AKWATERS/kate/CESM/cime/scripts/Arct
ic5_JRA.MOM6/Tools" CIMEROOT="/import/c1/AKWATERS/kate/CESM/cime" COMP_INTERFACE="nuopc" COMPILER="gnu" DEBUG="FALSE" EXEROOT="/center1/AKWATERS/kate/c
limate/kshedstrom/Arctic5_JRA.MOM6/bld" INCROOT="/center1/AKWATERS/kate/climate/kshedstrom/Arctic5_JRA.MOM6/bld/lib/include" LIBROOT="/center1/AKWATERS
/kate/climate/kshedstrom/Arctic5_JRA.MOM6/bld/lib" MACH="chinook" MPILIB="openmpi" NINST_VALUE="c1a1i1o1" OS="LINUX" PIO_VERSION="2" SHAREDLIBROOT="/ce
nter1/AKWATERS/kate/climate/kshedstrom/Arctic5_JRA.MOM6/bld" SMP_PRESENT="FALSE" USE_ESMF_LIB="TRUE" USE_MOAB="FALSE" COMP_LND="slnd" USE_ALBANY="FALSE
" USE_PETSC="FALSE"  failed with rc=2
 

jedwards

CSEG and Liaisons
Staff member
It would help if you indicated the model version or git hash of the code you are using, I believe that the issue in atm_comp_mod.F90 has been fixed.
The CAM_DYCORE error can be ignored.
 
Top