ERROR: buildlib.csm_share FAILED (cesm2.2)

changmao

Yufei Wang
New Member
Hello, everyone!
I have problems when case.build and don't know how to solve it at all.
Very appreciated for any help!

Calling /data1/elzd_2023_00031/my_cesm_sandbox/cime/src/build_scripts/buildlib.csm_share
ERROR: /data1/elzd_2023_00031/my_cesm_sandbox/cime/src/build_scripts/buildlib.csm_share FAILED, cat /data1/elzd_2023_00031/cesm/scratch/compset_QPC6/bld/csm_share.bldlog.231016-144851

Part of the csm_share.bldlog:
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_ncread_mod.F90(472): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE_DIMENSION]
rcode = nf90_inquire_dimension(fid,did,len=ns)
------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(393): error #6404: This name does not have a type, and must have an explicit type. [SHR_PIO_GETIOSYS_FROMID]
function shr_pio_getiosys_fromid(compid) result(iosystem)
-----------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(404): error #6404: This name does not have a type, and must have an explicit type. [SHR_PIO_GETIOSYS_FROMNAME]
function shr_pio_getiosys_fromname(component) result(iosystem)
-----------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(3): error #6580: Name in only-list does not exist or is not accessible. [SHR_KIND_CS]
use shr_kind_mod, only : shr_kind_CS, shr_kind_cl, shr_kind_in
---------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(3): error #6580: Name in only-list does not exist or is not accessible. [SHR_KIND_CL]
use shr_kind_mod, only : shr_kind_CS, shr_kind_cl, shr_kind_in
----------------------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(3): error #6580: Name in only-list does not exist or is not accessible. [SHR_KIND_IN]
use shr_kind_mod, only : shr_kind_CS, shr_kind_cl, shr_kind_in
-----------------------------------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(4): error #6580: Name in only-list does not exist or is not accessible. [SHR_FILE_GETUNIT]
use shr_file_mod, only : shr_file_getunit, shr_file_freeunit
---------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(4): error #6580: Name in only-list does not exist or is not accessible. [SHR_FILE_FREEUNIT]
use shr_file_mod, only : shr_file_getunit, shr_file_freeunit
---------------------------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(5): error #6580: Name in only-list does not exist or is not accessible. [SHR_LOG_UNIT]
use shr_log_mod, only : shr_log_unit
---------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(6): error #6580: Name in only-list does not exist or is not accessible. [SHR_MPI_BCAST]
use shr_mpi_mod, only : shr_mpi_bcast, shr_mpi_chkerr
---------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(6): error #6580: Name in only-list does not exist or is not accessible. [SHR_MPI_CHKERR]
use shr_mpi_mod, only : shr_mpi_bcast, shr_mpi_chkerr
------------------------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(7): error #6580: Name in only-list does not exist or is not accessible. [SHR_SYS_ABORT]
use shr_sys_mod, only : shr_sys_abort
---------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(9): error #6580: Name in only-list does not exist or is not accessible. [MPI_COMM_NULL]
use mpi, only : mpi_comm_null, mpi_comm_world
------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(9): error #6580: Name in only-list does not exist or is not accessible. [MPI_COMM_WORLD]
use mpi, only : mpi_comm_null, mpi_comm_world
---------------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(102): error #6404: This name does not have a type, and must have an explicit type. [PIO_64BIT_OFFSET]
pio_netcdf_ioformat = PIO_64BIT_OFFSET
--------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(105): error #6404: This name does not have a type, and must have an explicit type. [MPI_COMM_NULL]
io_comm = MPI_COMM_NULL
--------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(164): error #6404: This name does not have a type, and must have an explicit type. [SHR_LOG_UNIT]
write(shr_log_unit,*) 'Setting pio_debuglevel : ',pio_debug_level
----------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(189): error #6404: This name does not have a type, and must have an explicit type. [IOSYSTEMS]
allocate(iosystems(total_comps))
-------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_ncread_mod.F90(1347): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQ_VARID]
rCode = nf90_inq_varid(fid,trim(fldName),vid)
------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(223): error #6632: Keyword arguments are invalid without an explicit interface. [BASE]
base=pio_comp_settings(i)%pio_root)
------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_ncread_mod.F90(1349): error #6632: Keyword arguments are invalid without an explicit interface. [XTYPE]
rCode = nf90_inquire_variable(fid,vid,xtype=xtype,ndims=ndims)
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(224): error #6404: This name does not have a type, and must have an explicit type. [PIO_SET_REARR_OPTS]
------------------------------------------^
ret = pio_set_rearr_opts(iosystems(i), pio_rearr_opt_comm_type,&
-------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_ncread_mod.F90(1349): error #6632: Keyword arguments are invalid without an explicit interface. [NDIMS]
rCode = nf90_inquire_variable(fid,vid,xtype=xtype,ndims=ndims)
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(230): error #6404: This name does not have a type, and must have an explicit type. [PIO_NOERR]
------------------------------------------------------^
if(ret /= PIO_NOERR) then
-----------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_ncread_mod.F90(1349): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE_VARIABLE]
rCode = nf90_inquire_variable(fid,vid,xtype=xtype,ndims=ndims)
------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_ncread_mod.F90(1364): error #6632: Keyword arguments are invalid without an explicit interface. [DIMIDS]
rCode = nf90_inquire_variable(fid,vid,dimids=dids)
------------------------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_ncread_mod.F90(1367): error #6632: Keyword arguments are invalid without an explicit interface. [NAME]
rCode = nf90_inquire_dimension(fid,dids(n),name=name(n),len=len(n))
--------------------------------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90(158): error #6279: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association. [SHR_KIND_CL]
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_ncread_mod.F90(1367): error #6632: Keyword arguments are invalid without an explicit interface. [LEN]
character(len=shr_kind_cl) :: nlfilename, cname
------------------^
rCode = nf90_inquire_dimension(fid,dids(n),name=name(n),len=len(n))
---------------------------------------------------------------^
/data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_ncread_mod.F90(1367): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQUIRE_DIMENSION]
rCode = nf90_inquire_dimension(fid,dids(n),name=name(n),len=len(n))
---------------^
/tmp/ifortedFfi3.i90(944): catastrophic error: Too many errors, exiting
/tmp/ifortpfb6OV.i90(1817): catastrophic error: Too many errors, exiting
compilation aborted for /data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_pio_mod.F90 (code 1)
make: *** [shr_pio_mod.o] Error 1
compilation aborted for /data1/elzd_2023_00031/my_cesm_sandbox/cime/src/share/util/shr_ncread_mod.F90 (code 1)
make: *** Waiting for unfinished jobs....
make: *** [shr_ncread_mod.o] Error 1

The detailed content is attached.
 

Attachments

jedwards

CSEG and Liaisons
Staff member
It's not finding your netcdf library in the build process. There is probably more information in the pio.bldlog
 
Back
Top