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

Error compiling FAMIP cases in CESM 1.0.1

Hi,

I am trying to compile the following cases.

Test-FAMIPC5-f09_f09
Test-FAMIPC5-f19_f19
Test-FAMIPCN-f09_f09
Test-FAMIPCN-f19_f19

These cases did all previously work for CESM 1.0 rel02, but a compile error has now appeared, similar for all of the cases.

mpif90 -c -I. -I/home/ufaserv1_e/earccsm/netcdf/include -I/home/ufaserv1_e/earccsm/netcdf/include -I/apps/infrastructure/openmpi/1.4/1/bit-64-pgi-10.0/inc
lude -I/nobackup/earccsm/cesm/cases/Test-FAMIPCN-f09_f09/atm/obj -I/nobackup/earccsm/cesm/cases/Test-FAMIPCN-f09_f09/lnd/obj -I/nobackup/earccsm/cesm/cases
/Test-FAMIPCN-f09_f09/ice/obj -I/nobackup/earccsm/cesm/cases/Test-FAMIPCN-f09_f09/ocn/obj -I/nobackup/earccsm/cesm/cases/Test-FAMIPCN-f09_f09/glc/obj -I/ho
me/ufaserv1_e/earccsm/netcdf-4.1/fortran -I. -I/home/ufaserv1_e/earccsm/cesm1_0_1/cases/Test-FAMIPCN-f09_f09/SourceMods/src.drv -I/home/ufaserv1_e/earccsm/
cesm1_0_1/models/drv/driver -I/nobackup/earccsm/cesm/cases/Test-FAMIPCN-f09_f09/lib/include -DMCT_INTERFACE -DHAVE_MPI -DCO2A -DLINUX -DSEQ_ -DFORTRANUND
ERSCORE -DNO_SHR_VMATH -i4 -gopt -Mlist -Mextend -byteswapio -Mflushz -Kieee -Ktrap=fp -tp x64 -Mfree /home/ufaserv1_e/earccsm/cesm1_0_1/models/drv/dr
iver/seq_frac_mct.F90
touch /nobackup/earccsm/cesm/cases/Test-FAMIPCN-f09_f09/ccsm/obj/Filepath
PGF90-S-0186-Argument missing for formal argument cdata (/home/ufaserv1_e/earccsm/cesm1_0_1/models/drv/driver/seq_hist_mod.F90: 182)
PGF90-S-0155-Could not resolve generic procedure seq_io_write (/home/ufaserv1_e/earccsm/cesm1_0_1/models/drv/driver/seq_hist_mod.F90: 203)
PGF90-S-0155-Could not resolve generic procedure seq_io_write (/home/ufaserv1_e/earccsm/cesm1_0_1/models/drv/driver/seq_hist_mod.F90: 205)
PGF90-S-0155-Could not resolve generic procedure seq_io_write (/home/ufaserv1_e/earccsm/cesm1_0_1/models/drv/driver/seq_hist_mod.F90: 207)
. . .
PGF90-F-0008-Error limit exceeded (/home/ufaserv1_e/earccsm/cesm1_0_1/models/drv/driver/seq_hist_mod.F90: 277)
PGF90/x86-64 Linux 10.0-1: compilation aborted

Any suggestions.

Steven.
 

eaton

CSEG and Liaisons
This looks like somehow your source tree is in an inconsistent state. The first error says that the dummy argument corresponding to the formal argument cdata is missing in the call to seq_io_wopen at line 182 of seq_hist_mod.F90. But if you look in seq_io_mod.F90 at the subroutine seq_io_wopen you'll see the formal argument cdata has been removed.

I'm guessing that you've updated your checked out svn code by doing a switch as suggested in the release announcement. The file seq_io_mod.F90 moved from the drv/driver directory to the drv/shr directory going from cesm1_0 to cesm1_0_1. I suspect that the svn switch didn't remove the file drv/driver/seq_io_mod.F90, and that your new build is failing because it's compiling the old version of seq_io_mod.F90 instead of the new version.

You might try looking in drv/driver to see if the old seq_io_mod.F90 file is there. If so just remove it and try a fresh build.
 
Hi Eaton,

It was actually a clean checkout from the repository. I am checking it out again and will try again. Can you try at your end to see if those cases work.

Thanks,
Steven.
 
Top