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: buildlib.csm_share failed (cesm1_2_2)

Hello, I've been attempting to port CESM1_2_2 to my laptop(mac). I created this case.$./create_newcase -case ~/cesm_cases/test05 -res f45_g37 -compset X -mach userdefined I encounter this error when I tried to build the case.$./test05.buildERROR: buildlib.csm_share failed And the log tells me this, ------------------------------------------------2017年 9月26日 火曜日 17時59分47秒 JST /Users/hiroki/cesm_exe/test05/bld/gnu/openmpi/nodebug/nothreads/csm_share.bldlog.170926-175946mpif90  -c -I.  -I/Users/hiroki/cesm_exe/test05/bld/gnu/openmpi/nodebug/nothreads/include -I/Users/hiroki/cesm_exe/test05/bld/gnu/openmpi/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/usr/local/Cellar/netcdf/4.4.1.1_6/include -I/usr/local/Cellar/open-mpi/2.1.1/include -I/Users/hiroki/cesm_exe/test05/bld/gnu/openmpi/nodebug/nothreads/include -I/Users/hiroki/cesm1_2_2/models/csm_share/shr -I. -I/Users/hiroki/cesm_cases/test05/SourceMods/src.share -I/Users/hiroki/cesm1_2_2/models/drv/shr -I/Users/hiroki/cesm1_2_2/models/dead_share -I/Users/hiroki/cesm1_2_2/models/csm_share/shr -I/Users/hiroki/cesm1_2_2/models/utils/esmf_wrf_timemgr -I/Users/hiroki/cesm_exe/test05/bld/lib/include  -O -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none  -DNUM_COMP_INST_ATM=1 -DNUM_COMP_INST_LND=1 -DNUM_COMP_INST_OCN=1 -DNUM_COMP_INST_ICE=1 -DNUM_COMP_INST_GLC=1 -DNUM_COMP_INST_WAV=1 -DNUM_COMP_INST_ROF=1 -Ddarwin  -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -Ddarwin -DCPRGNU  -ffree-form   /Users/hiroki/cesm1_2_2/models/csm_share/shr/shr_test_infnan_mod.F90/Users/hiroki/cesm1_2_2/models/csm_share/shr/shr_test_infnan_mod.F90:53:43:      integer(Single), parameter :: sNegInf = Z"FF800000"                                           1Error: Arithmetic overflow converting INTEGER(16) to INTEGER(4) at (1). This check can be disabled with the option '-fno-range-check'/Users/hiroki/cesm1_2_2/models/csm_share/shr/shr_test_infnan_mod.F90:58:43:      integer(Double), parameter :: dNegInf = Z"FFF0000000000000"                                           1Error: Arithmetic overflow converting INTEGER(16) to INTEGER(8) at (1). This check can be disabled with the option '-fno-range-check'/Users/hiroki/cesm1_2_2/models/csm_share/shr/shr_test_infnan_mod.F90:461:33:      res = ieor(transfer(d,dNegInf), dNegInf) == 0                                 1Error: Symbol 'dneginf' at (1) has no IMPLICIT type/Users/hiroki/cesm1_2_2/models/csm_share/shr/shr_test_infnan_mod.F90:454:33:      res = ieor(transfer(x,sNegInf), sNegInf) == 0                                 1Error: Symbol 'sneginf' at (1) has no IMPLICIT typemake: *** [shr_test_infnan_mod.o] Error 1 gmake  complib -j 1 MODEL=csm_share COMPLIB=libcsm_share.a USER_CPPDEFS="  -DNUM_COMP_INST_ATM=1 -DNUM_COMP_INST_LND=1 -DNUM_COMP_INST_OCN=1 -DNUM_COMP_INST_ICE=1 -DNUM_COMP_INST_GLC=1 -DNUM_COMP_INST_WAV=1 -DNUM_COMP_INST_ROF=1" -f /Users/hiroki/cesm_cases/test05/Tools/Makefile  returned non-zero exit status 2------------------------------------------------
How do I correct this?Thanks for any help!
Hiroki KunifudaThe University of Tokyo
 
Top