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 while building cesm2

I'm porting CESM2 with a new machine and i get an error when i run case.build.I have using the gnu 8.2.0 compiler and i have no idea about the error.Here is the complete log.Thank you for any help![linxf@login03 b.e20.B1850.f19_g17.testnew]$ ./case.buildBuilding case in directory /wps/home/linxf/CLM/cesm_code/cesm2_0_0/cime/scripts/b.e20.B1850.f19_g17.testnewsharedlib_only is Falsemodel_only is FalseGenerating component namelists as part of buildCreating component namelists   Calling /wps/home/linxf/CLM/cesm_code/cesm2_0_0/components/cam//cime_config/buildnml     ...calling cam buildcpp to set build time optionsCAM namelist copy: file1 /wps/home/linxf/CLM/cesm_code/cesm2_0_0/cime/scripts/b.e20.B1850.f19_g17.testnew/Buildconf/camconf/atm_in file2 /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/run/atm_in    Calling /wps/home/linxf/CLM/cesm_code/cesm2_0_0/components/clm//cime_config/buildnml   Calling /wps/home/linxf/CLM/cesm_code/cesm2_0_0/components/cice//cime_config/buildnml     ...calling cice buildcpp to set build time options   Calling /wps/home/linxf/CLM/cesm_code/cesm2_0_0/components/pop//cime_config/buildnml     ...calling pop buildcpp to set build time options        Calling /wps/home/linxf/CLM/cesm_code/cesm2_0_0/components/mosart//cime_config/buildnml   Running /wps/home/linxf/CLM/cesm_code/cesm2_0_0/components/cism//cime_config/buildnml    Calling /wps/home/linxf/CLM/cesm_code/cesm2_0_0/components/ww3//cime_config/buildnml   Calling /wps/home/linxf/CLM/cesm_code/cesm2_0_0/cime/src/components/stub_comps/sesp/cime_config/buildnml   Calling /wps/home/linxf/CLM/cesm_code/cesm2_0_0/cime/src/drivers/mct/cime_config/buildnml   NOTE: ignoring setting of glc2ice_rmapname=idmap in seq_maps.rcFinished creating component namelistsBuilding gptl with output to file /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/gptl.bldlog.181017-171019   Calling /wps/home/linxf/CLM/cesm_code/cesm2_0_0/cime/src/build_scripts/buildlib.gptlComponent gptl build complete with 2 warningsBuilding mct with output to file /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/mct.bldlog.181017-171019   Calling /wps/home/linxf/CLM/cesm_code/cesm2_0_0/cime/src/build_scripts/buildlib.mctBuilding pio with output to file /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/pio.bldlog.181017-171019   Calling /wps/home/linxf/CLM/cesm_code/cesm2_0_0/cime/src/build_scripts/buildlib.pioBuilding csm_share with output to file /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/csm_share.bldlog.181017-171019   Calling /wps/home/linxf/CLM/cesm_code/cesm2_0_0/cime/src/build_scripts/buildlib.csm_shareComponent csm_share build complete with 3 warnings         - Building clm4_5/clm5_0 Library Building lnd with output to /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/lnd.bldlog.181017-171019Component lnd build complete with 1 warningsclm built in 202.606112 secondsBuilding atm with output to /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/atm.bldlog.181017-171019Building ice with output to /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/ice.bldlog.181017-171019Building ocn with output to /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/ocn.bldlog.181017-171019Building rof with output to /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/rof.bldlog.181017-171019Building glc with output to /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/glc.bldlog.181017-171019Building wav with output to /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/wav.bldlog.181017-171019Building esp with output to /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/esp.bldlog.181017-171019Component rof build complete with 1 warningsmosart built in 14.608418 secondsComponent wav build complete with 2 warningsww built in 23.605019 secondssesp built in 23.601269 secondsComponent ice build complete with 2 warningsComponent ocn build complete with 8 warningspop built in 146.039415 secondscice built in 146.041144 secondsComponent glc build complete with 13 warningscism built in 160.604219 secondsComponent atm build complete with 1 warningscam built in 415.494143 secondsERROR: BUILD FAIL: sesp.buildlib failed, cat /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/esp.bldlog.181017-171019 the file content in /wps/home/linxf/CLM/cesm_outdata/cesm2_0_0/b.e20.B1850.f19_g17.testnew/bld/esp.bldlog.181017-171019:/usr/bin/env: python^M: No such file or directory the version of python we install is python2.7.15.
 
Thank you very much. You are right and we have solved this problem by deleting and checking the buildlib related files out again and now can build sucessfully.
 
Top