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

model stopped compiling after MPT upgrade


Code:
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">Dear helper,<br style="font-size: 10pt;" />I recently got some problem rebuild the cesm1.2.1 in the upgraded system. I have edited the<br style="font-size: 10pt;" />/glade/scratch/wykang/cesm1_2_1/scripts/ccsm_utils/Machines/env_mach_specific.cheyenne to use the<br style="font-size: 10pt;" />latest modules (just change mpt/2.15 to mpt/2.16 does not work for me, the compile crashes at the<br style="font-size: 10pt;" />beginning):<br style="font-size: 10pt;" /><em>module load intel/17.0.1</em><br style="font-size: 10pt;" /><em>module load ncarenv/1.2</em><br style="font-size: 10pt;" /><em>module load mkl </em><br style="font-size: 10pt;" /><em>module load ncarcompilers/0.4.1</em><br style="font-size: 10pt;" /><em>module load mpt/2.19                                                                       </em><br style="font-size: 10pt;" /><em>if( $MPILIB == "mpi-serial" ) then</em><br style="font-size: 10pt;" /><em>  module load netcdf/4.6.1</em><br style="font-size: 10pt;" /><em>else</em><br style="font-size: 10pt;" /><em>  module load netcdf-mpi/4.6.1</em><br style="font-size: 10pt;" /><em>  module load pnetcdf/1.11.0</em><br style="font-size: 10pt;" /><em>endif</em><br style="font-size: 10pt;" />But even with this, the build processes crash by the end, and gave me<br /><br /><em>ccsm_comp_mod.o: In function `ccsm_comp_mod_mp_ccsm_run_':
ccsm_comp_mod.F90:(.text+0x26): relocation truncated to fit: R_X86_64_32 against symbol `seq_avdata_mod_mp_infodata_' defined in COMMON section in seq_avdata_mod.o
ccsm_comp_mod.F90:(.text+0x467): relocation truncated to fit: R_X86_64_32S against symbol `ccsm_comp_mod_mp_begstep_' defined in COMMON section in ccsm_comp_mod.o
ccsm_comp_mod.F90:(.text+0x495): relocation truncated to fit: R_X86_64_32S against symbol `ccsm_comp_mod_mp_dtime_' defined in COMMON section in ccsm_comp_mod.o
ccsm_comp_mod.F90:(.text+0x4c8): relocation truncated to fit: R_X86_64_PC32 against symbol `ccsm_comp_mod_mp_dtime_' defined in COMMON section in ccsm_comp_mod.o
ccsm_comp_mod.F90:(.text+0x4e7): relocation truncated to fit: R_X86_64_PC32 against symbol `ccsm_comp_mod_mp_ncpl_' defined in COMMON section in ccsm_comp_mod.o
ccsm_comp_mod.F90:(.text+0x4ee): relocation truncated to fit: R_X86_64_PC32 against symbol `ccsm_comp_mod_mp_cktime_acc_' defined in COMMON section in ccsm_comp_mod.o
ccsm_comp_mod.F90:(.text+0x4f5): relocation truncated to fit: R_X86_64_PC32 against symbol `ccsm_comp_mod_mp_cktime_acc_' defined in COMMON section in ccsm_comp_mod.o
ccsm_comp_mod.F90:(.text+0x4fc): relocation truncated to fit: R_X86_64_PC32 against symbol `ccsm_comp_mod_mp_cktime_acc_' defined in COMMON section in ccsm_comp_mod.o
ccsm_comp_mod.F90:(.text+0x503): relocation truncated to fit: R_X86_64_PC32 against symbol `ccsm_comp_mod_mp_cktime_acc_' defined in COMMON section in ccsm_comp_mod.o
ccsm_comp_mod.F90:(.text+0x50a): relocation truncated to fit: R_X86_64_PC32 against symbol `ccsm_comp_mod_mp_cktime_acc_' defined in COMMON section in ccsm_comp_mod.o
ccsm_comp_mod.F90:(.text+0x512): additional relocation overflows omitted from the output
/glade/u/home/wykang/cesm_caseroot/OBL0_Om_s5e02_1360/Tools/Makefile:629: recipe for target '/glade/u/home/wykang/cesm_caseroot/OBL0_Om_s5e02_1360/bld/cesm.exe' failed
gmake: *** [/glade/u/home/wykang/cesm_caseroot/OBL0_Om_s5e02_1360/bld/cesm.exe] Error 1</em><br /><br /><br />The whole log file is in<br style="font-size: 10pt;" />/glade/u/home/wykang/cesm_caseroot/OBL0_Om_s5e02_1360/bld/<br style="font-size: 10pt;" /><br style="font-size: 10pt;" />Thank you so much for your help!<br style="font-size: 10pt;" />Best,<br style="font-size: 10pt;" />Wanying</span>
 
Top