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

Problem building CAM4 with Data Ocean

pkelly

New Member
Hello,

I am trying to build CAM4 with a Data Ocean via the CCSM scripts (compset F) but the data ocean fails to build. However, I can build CCSM in fully coupled mode just fine.

I have copied the errors from the build log below.
Any suggestions greatly appreciated!

-----

nethome/pkelly/ccsm4_0/models/ocn/docn/docn_comp_mod.F90
/nethome/pkelly/ccsm4_0/models/ocn/docn/docn_comp_mod.F90(24): warning #6536: Only rename information from the ONLY qualifiers for this external module will be processed sinc
e all entities from the external module have been declared public [SEQ_FLDS_MOD]
use seq_flds_mod
------^
/nethome/pkelly/ccsm4_0/models/ocn/docn/docn_comp_mod.F90(31): error #6580: Name in only-list does not exist. [SEQ_FLDS_X2O_FIELDS]
seq_flds_x2o_fields
-------------------------------^
/nethome/pkelly/ccsm4_0/models/ocn/docn/docn_comp_mod.F90(373): error #6404: This name does not have a type, and must have an explicit type. [SEQ_FLDS_X2O_FIELDS]
call mct_aVect_init(x2o, rList=seq_flds_x2o_fields, lsize=lsize)
-----------------------------------^
/nethome/pkelly/ccsm4_0/models/ocn/docn/docn_comp_mod.F90(373): error #6285: There is no matching specific subroutine for this generic subroutine call. [MCT_AVECT_INIT]
call mct_aVect_init(x2o, rList=seq_flds_x2o_fields, lsize=lsize)
---------^
compilation aborted for /nethome/pkelly/ccsm4_0/models/ocn/docn/docn_comp_mod.F90 (code 1)
gmake: *** [docn_comp_mod.o] Error 1
 
Hi,

I was having the same problem while using the intel compiler for compilation of CCSM4 using F and A compset. I got the reply from some one here on CGD for solution. The problem is because intel compiler may strict to use external module that have been declared public. In datm_comp_mod.F90, you will find a duplicate use of seq_flds_mod.

You may delete line 26 in datm_comp_mod.F90 under SourceMods/src.datm/ directory, (delete "use seq_flds_mod" ).

I hope this will work for you as well. In CESM1.0 this problem is solved now.

Siraj
 
Top