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

case build error

engross5

New Member
Can anyone help with this build error.
I install CESM2.2 successfully, but failed in CESM2.1.3

I am wondering what the problem might be. struggle with the problem for two weeks
is it a problem with shr_kind_mod.mod, but i can't find it
Thanks a lot




/lustre/project/soft/CESM213/components/cam/src/chemistry/pp_trop_mam4/mo_prod_loss.F90(7): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [LOSS]
subroutine exp_prod_loss( prod, loss, y, rxt, het_rates )
--------------------------------------^
f951: Fatal Error: Reading module ‘../../intel/impi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include/shr_kind_mod.mod’ at line 1 column 2: Unexpected EOF
compilation terminated.
gmake: *** [rrtmg_lw_k_g.o] Error 1
gmake: *** Waiting for unfinished jobs....
/lustre/project/soft/CESM213/components/cam/src/utils/wrap_mpi.F90(1242): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [WIN]
subroutine mpiwincreate(base,size,comm,win)
------------------------------------------^

ERROR: Command gmake complib -j 12 MODEL=cam COMPLIB=/scratch/s1/cesm2_temp/f2000climo_213/bld/lib/libatm.a -f /lustre/project/workspace/cesm2/f2000climo_213/Tools/Makefile MACFILE=/lustre/project/workspace/cesm2/f2000climo_213/Macros.chpc USER_CPPDEFS=' -DPLON=288 -DPLAT=192 -DPLEV=32 -DPCNST=33 -DPCOLS=16 -DPSUBCOLS=1 -DN_RAD_CNST=30 -DPTRM=1 -DPTRN=1 -DPTRK=1 -DSPMD -DMODAL_AERO -DMODAL_AERO_4MODE -DCLUBB_SGS -DCLUBB_CAM -DNO_LAPACK_ISNAN -DCLUBB_REAL_TYPE=dp -DHAVE_VPRINTF -DHAVE_TIMES -DHAVE_GETTIMEOFDAY -DHAVE_COMM_F2C -DHAVE_NANOTIME -DBIT64 -DHAVE_SLASHPROC' failed with rc=2
 

jedwards

CSEG and Liaisons
Staff member
The file is not attached - but it looks as if you have a corrupted shr_kind_mod.mod - is your disk full or are you exceeding a disk quota?
try starting over from the beginning: ./case.build --clean-all; ./case.build
 

engross5

New Member
The file is not attached - but it looks as if you have a corrupted shr_kind_mod.mod - is your disk full or are you exceeding a disk quota?
try starting over from the beginning: ./case.build --clean-all; ./case.build
sorry, the attachment is somehow missing.
it won't be the disk issue. have tried to clean all several times but that doesn't solve the problem. the configurations of machine and compiler are also attached.
 

Attachments

  • config_machines.txt
    107.4 KB · Views: 4
  • config_compilers.txt
    41.4 KB · Views: 3
  • atm.bldlog.230213-161152.txt
    372.8 KB · Views: 4

xiaxx666

xia xiaoxue
New Member
sorry, the attachment is somehow missing.
it won't be the disk issue. have tried to clean all several times but that doesn't solve the problem. the configurations of machine and compiler are also attached.
I encountered the same issue while compiling cesm2.0.
It seems that the shr_kind_mod.o file is generated during the compilation of the csm_share section.
Later, when compiling the cam section's source code, it cannot find shr_kind_mod.o when using 'use shr_kind_mod'. I'm not sure where to add the -I parameter to specify the path for shr_kind_mod.o. Attach files微信图片_20230524231436.pngHope to receive help from the administrator.
 

Attachments

  • atm.bldlog.230213-161152.txt
    372.8 KB · Views: 1

jedwards

CSEG and Liaisons
Staff member
shr_kind_mod.mod should be in ../../intel/impi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include relative to the
bld/atm/obj directory.

This error:
f951: Fatal Error: Reading module ‘../../intel/impi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include/shr_kind_mod.mod’ at line 1 column 2: Unexpected EOF
compilation terminated.

Indicates maybe your disk is full or you've hit a disk quota - for some reason the file is incomplete.
 
Top