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

Porting to Gordon: Success with CESM 1.1 and SP-CAM and a CESM 1.2.0 problem

hellyj@ucsd_edu

New Member
Hi.

I've successfully built and run cesm 1.1 on some test cases as well as the sp-cam version.  However, when I try to run this test case 1.2.0, I'm getting some compile errors.  Is this a configuration or source code issue, please?

J.



 COMPILER is intel
 - Build Libraries: mct gptl pio csm_share
Thu Jun 20 13:52:43 PDT 2013 /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/mct/mct.bldlog.130620-135242
Thu Jun 20 13:52:48 PDT 2013 /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/gptl/gptl.bldlog.130620-135242
Thu Jun 20 13:52:49 PDT 2013 /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/pio/pio.bldlog.130620-135242
Thu Jun 20 13:52:50 PDT 2013 /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/csm_share/csm_share.bldlog.130620-135242
Thu Jun 20 13:52:58 PDT 2013 /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/atm.bldlog.130620-135242
Thu Jun 20 13:52:59 PDT 2013 /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/lnd.bldlog.130620-135242
Thu Jun 20 13:52:59 PDT 2013 /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/ice.bldlog.130620-135242
Thu Jun 20 13:53:00 PDT 2013 /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/ocn.bldlog.130620-135242
Thu Jun 20 13:53:00 PDT 2013 /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/glc.bldlog.130620-135242
Thu Jun 20 13:53:01 PDT 2013 /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/wav.bldlog.130620-135242
ERROR: xwav.buildexe.csh failed, see /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/wav.bldlog.130620-135242
ERROR: cat /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/wav.bldlog.130620-135242
[hellyj@gordon-ln2 ERS.f19_g16.X.gordon_intel.t01]$ more /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/wav.bldlog.130620-135242
Thu Jun 20 13:53:01 PDT 2013 /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/wav.bldlog.130620-135242
/home/hellyj/src/cesm1_2_0/scripts/ERS.f19_g16.X.gordon_intel.t01/Tools/mkSrcfiles
cp -f /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/wav/obj/Filepath/oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/wav/obj/Deppath
/home/hellyj/src/cesm1_2_0/scripts/ERS.f19_g16.X.gordon_intel.t01/Tools/mkDepends  Deppath Srcfiles > /oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/wav/obj/Depends
/home/hellyj/src/cesm1_2_0/scripts/ERS.f19_g16.X.gordon_intel.t01/Tools/mkSrcfiles
mpif90  -c -I.  -I/oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/pio -I/oasis/scratch/hellyj/netcdf-4.2/include -I/oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t0
1/bld/mct/mct -I/oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/mct/mpeu -I/oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/pio -I/oasis/scratch/hellyj/spcam_
testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/gptl -I/home/hellyj/src/cesm1_2_0/models/utils/pio -I/oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19_g16.X.gordon_intel.t01/bld/lib/include -I. -I/home/hellyj/src/c
esm1_2_0/scripts/ERS.f19_g16.X.gordon_intel.t01/SourceMods/src.xwav -I/home/hellyj/src/cesm1_2_0/models/wav/xwav -I/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct -I/oasis/scratch/hellyj/spcam_testcase/hellyj/ERS.f19
_g16.X.gordon_intel.t01/bld/lib/include  -O2 -fp-model source -convert big_endian -assume byterecl -ftz -traceback   -DLINUX  -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC
-free   /home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(22): error #6581: Unresolved rename.   [FLDS_D2X]
  use seq_flds_mod     , only: flds_d2x => seq_flds_w2x_fields, &
-------------------------------^
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(23): error #6581: Unresolved rename.   [FLDS_X2D]
                               flds_x2d => seq_flds_x2w_fields
-------------------------------^
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(191): error #6627: This is an actual argument keyword name, and not a dummy argument name.   [WAV_PRESENT]
       call seq_infodata_PutData( infodata, dead_comps=.true.,wav_present=.false., &
--------------------------------------------------------------^
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(192): error #6627: This is an actual argument keyword name, and not a dummy argument name.   [WAV_PROGNOSTIC]
         wav_prognostic=.false., wav_nx=nxg, wav_ny=nyg)
---------^
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(192): error #6627: This is an actual argument keyword name, and not a dummy argument name.   [WAV_NX]
         wav_prognostic=.false., wav_nx=nxg, wav_ny=nyg)
---------------------------------^
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(192): error #6627: This is an actual argument keyword name, and not a dummy argument name.   [WAV_NY]
         wav_prognostic=.false., wav_nx=nxg, wav_ny=nyg)
---------------------------------------------^
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(194): error #6627: This is an actual argument keyword name, and not a dummy argument name.   [WAV_PRESENT]
       call seq_infodata_PutData( infodata, dead_comps=.true.,wav_present=.true., &
--------------------------------------------------------------^
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(195): error #6627: This is an actual argument keyword name, and not a dummy argument name.   [WAV_PROGNOSTIC]
         wav_prognostic=.true., wav_nx=nxg, wav_ny=nyg)
---------^
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(195): error #6627: This is an actual argument keyword name, and not a dummy argument name.   [WAV_NX]
         wav_prognostic=.true., wav_nx=nxg, wav_ny=nyg)
--------------------------------^
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(195): error #6627: This is an actual argument keyword name, and not a dummy argument name.   [WAV_NY]
         wav_prognostic=.true., wav_nx=nxg, wav_ny=nyg)
--------------------------------------------^
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(221): error #6498: The use-name for this local-name is not defined.   [FLDS_D2X]
    call mct_aVect_init(d2x, rList=flds_d2x, lsize=lsize)
-----------------------------------^
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(221): error #6285: There is no matching specific subroutine for this generic subroutine call.   [MCT_AVECT_INIT]
    call mct_aVect_init(d2x, rList=flds_d2x, lsize=lsize)
---------^
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(224): error #6498: The use-name for this local-name is not defined.   [FLDS_X2D]
    call mct_aVect_init(x2d, rList=flds_x2d, lsize=lsize)
-----------------------------------^
/home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90(224): error #6285: There is no matching specific subroutine for this generic subroutine call.   [MCT_AVECT_INIT]
    call mct_aVect_init(x2d, rList=flds_x2d, lsize=lsize)
---------^
compilation aborted for /home/hellyj/src/cesm1_2_0/models/wav/xwav/cpl_mct/wav_comp_mct.F90 (code 1)
gmake: *** [wav_comp_mct.o] Error 1
[hellyj@gordon-ln2 ERS.f19_g16.X.gordon_intel.t01]$ cd ..
[hellyj@gordon-ln2 scripts]$ cd ..
[hellyj@gordon-ln2 cesm1_2_0]$ svn update
At revision 160.
[hellyj@gordon-ln2 cesm1_2_0]$ cd ..
[hellyj@gordon-ln2 src]$ cd spcam2_0-cesm1_1_1/
[hellyj@gordon-ln2 spcam2_0-cesm1_1_1]$ emacs scripts/

[2]+  Stopped                 emacs scripts/
[hellyj@gordon-ln2 spcam2_0-cesm1_1_1]$ 
 

jedwards

CSEG and Liaisons
Staff member
This looks like a compiler error.   I think that you are using an intel compiler but cannot tell which version.  I have successfully compiled this code with intel 12.x and 13.x
 

jedwards

CSEG and Liaisons
Staff member
This is a known problem in that compiler version.   Please request a newer version of the ifort compiler.  
 
Top