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

I have problem in the step "./case.build"

zhongkai li

lizhongkai
New Member
could anyone help me to understand what happened?

[yesijing@mgmt1 lizktest05]$ ./case.build
Building case in directory /public/home/yesijing/cesm_new2/cesm2.1.3/cime/scripts/lizktest05
sharedlib_only is False
model_only is False
Setting resource.RLIMIT_STACK to -1 from (8388608, -1)
Generating component namelists as part of build
Creating component namelists
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/components/data_comps/datm/cime_config/buildnml
File not found: domainfile = "/public/home/yesijing/cesm_new2/inputdata/share/domains/domain.lnd.fv0.9x1.25_gx1v6.090309.nc", will attempt to download in check_input_data phase
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/components/clm//cime_config/buildnml
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/components/stub_comps/sice/cime_config/buildnml
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/components/stub_comps/socn/cime_config/buildnml
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/components/mosart//cime_config/buildnml
File not found: frivinp_rtm = "/public/home/yesijing/cesm_new2/inputdata/rof/mosart/MOSART_routing_Global_0.5x0.5_c170601.nc", will attempt to download in check_input_data phase
Running /public/home/yesijing/cesm_new2/cesm2.1.3/components/cism//cime_config/buildnml
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/components/stub_comps/swav/cime_config/buildnml
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/components/stub_comps/sesp/cime_config/buildnml
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/drivers/mct/cime_config/buildnml
File not found: lnd2rof_fmapname = "lnd/clm2/mappingdata/maps/0.9x1.25/map_0.9x1.25_nomask_to_0.5x0.5_nomask_aave_da_c120522.nc", will attempt to download in check_input_data phase
File not found: rof2lnd_fmapname = "lnd/clm2/mappingdata/maps/0.9x1.25/map_0.5x0.5_nomask_to_0.9x1.25_nomask_aave_da_c121019.nc", will attempt to download in check_input_data phase
File not found: lnd2glc_fmapname = "cpl/gridmaps/fv0.9x1.25/map_fv0.9x1.25_TO_gland4km_aave.170429.nc", will attempt to download in check_input_data phase
File not found: lnd2glc_smapname = "cpl/gridmaps/fv0.9x1.25/map_fv0.9x1.25_TO_gland4km_blin.170429.nc", will attempt to download in check_input_data phase
File not found: glc2lnd_fmapname = "cpl/gridmaps/gland4km/map_gland4km_TO_fv0.9x1.25_aave.170429.nc", will attempt to download in check_input_data phase
File not found: glc2lnd_smapname = "cpl/gridmaps/gland4km/map_gland4km_TO_fv0.9x1.25_aave.170429.nc", will attempt to download in check_input_data phase
Finished creating component namelists
Building gptl with output to file /public/home/yesijing/cesm_new2/scrath/yesijing/lizktest05/bld/gptl.bldlog.221117-210314
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/build_scripts/buildlib.gptl
ERROR: /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/build_scripts/buildlib.gptl FAILED, cat /public/home/yesijing/cesm_new2/scrath/yesijing/lizktest05/bld/gptl.bldlog.221117-210314
 

zhongkai li

lizhongkai
New Member
this is file "gptl.bldlog.221117-210314"
 

Attachments

  • gptl.bldlog.221117-210314.txt
    1.5 KB · Views: 7
  • Macros.make.txt
    2.9 KB · Views: 5

jedwards

CSEG and Liaisons
Staff member
You are using the gnu gcc compiler but specifying flags for the intel compiler. Which do you intend to use?
 

zhongkai li

lizhongkai
New Member
You are using the gnu gcc compiler but specifying flags for the intel compiler. Which do you intend to use?
thank you! I intend to use gnu gcc.... I correct the <COMPILERS>intel</COMPILERS> into <COMPILERS>gnu</COMPILERS> , and the problem is sloved! Thank you again
 

zhongkai li

lizhongkai
New Member
There is another problem in the step of "./case.build", could you help me?

Building gptl with output to file /public/home/yesijing/cesm_new2/scrath/yesijing/lizktest08/bld/gptl.bldlog.221118-123900
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/build_scripts/buildlib.gptl
Building mct with output to file /public/home/yesijing/cesm_new2/scrath/yesijing/lizktest08/bld/mct.bldlog.221118-123900
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/build_scripts/buildlib.mct
Building pio with output to file /public/home/yesijing/cesm_new2/scrath/yesijing/lizktest08/bld/pio.bldlog.221118-123900
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/build_scripts/buildlib.pio
Building csm_share with output to file /public/home/yesijing/cesm_new2/scrath/yesijing/lizktest08/bld/csm_share.bldlog.221118-123900
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/build_scripts/buildlib.csm_share
- Building clm4_5/clm5_0 Library
Building lnd with output to /public/home/yesijing/cesm_new2/scrath/yesijing/lizktest08/bld/lnd.bldlog.221118-123900
clm built in 17.006661 seconds
ERROR: BUILD FAIL: clm.buildlib failed, cat /public/home/yesijing/cesm_new2/scrath/yesijing/lizktest08/bld/lnd.bldlog.221118-123900
 

Attachments

  • lnd.bldlog.221118-123900.txt
    148.8 KB · Views: 1

zhongkai li

lizhongkai
New Member
The gnu compiler you are using is too old.
my gcc version is "gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)", is it too old?

I am trying to install gcc-10.4.0 into my machine, it spends time for me because some error occurs and I am trying to solve these errors.
 

zhongkai li

lizhongkai
New Member
Hi, I installed l gcc-10.4.0 in my machine, however, there is another problem, could you tell me where I am wrong?

Building gptl with output to file /public/home/yesijing/cesm_new2/scrath/lizktest23/bld/gptl.bldlog.221121-100026
Calling /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/build_scripts/buildlib.gptl
ERROR: /public/home/yesijing/cesm_new2/cesm2.1.3/cime/src/build_scripts/buildlib.gptl FAILED, cat /public/home/yesijing/cesm_new2/scrath/lizktest23/bld/gptl.bldlog.221121-100026
The gnu compiler you are using is too old.
 

Attachments

  • gptl.bldlog.221121-100026.txt
    3.6 KB · Views: 4

zhongkai li

lizhongkai
New Member
[yesijing@mgmt1 ~]$ gcc --version
gcc (GCC) 10.4.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 

zhongkai li

lizhongkai
New Member
These files are my setting
 

Attachments

  • Macros.make.txt
    1.5 KB · Views: 0
  • .bashrc.txt
    5.7 KB · Views: 0
  • config_machines.xml.txt
    2 KB · Views: 3
  • config_compilers.xml.txt
    512 bytes · Views: 3
  • config_batch.xml.txt
    329 bytes · Views: 0

jedwards

CSEG and Liaisons
Staff member
Add the following flags to FFLAGS in config_compilers.xml

-fallow-argument-mismatch -fallow-invalid-boz
 
Top