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

cyh1226

yhchen
New Member
When I was compiling cesm FCfireHISTcase, an error occurred. Now I'm not sure what caused these variables to be undefined. Was there a problem with my mpich compilation or something else? I tried to compile gpTL-8.0.3 by myself using mpicc and mpifort, but in the generated lgptl.a link, there were no those undefined variables reported in the error either. Is this the reason for the version of the gptl library I compiled? Other methods of searching online have also failed to work. I used gcc-7.5.0 and compiled mpich-4.1.3 with it. My configure_machines.xml and config_compilers.xml files are below. Looking forward to your reply and help. Thank you very much! The following is my Error report:

../../gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/lib/libcsm_share.a(shr_mem_mod.o):
In function `__shr_mem_mod_MOD_shr_mem_getusage':
shr_mem_mod.F90:(.text+0x2b): undefined reference to `gptlget_memusage_'
../../gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/lib/libcsm_share.a(shr_mem_mod.o):
In function `__shr_mem_mod_MOD_shr_mem_init':
shr_mem_mod.F90:(.text+0xc0): undefined reference to `gptlget_memusage_'
shr_mem_mod.F90:(.text+0x117): undefined reference to `gptlget_memusage_'
shr_mem_mod.F90:(.text+0x13d): undefined reference to `gptlget_memusage_'
../../gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/lib/libcsm_share.a(shr_mem_mod.o):
In function `__shr_mem_mod_MOD_shr_mem_getusage':
shr_mem_mod.F90:(.text+0x8b): undefined reference to `gptlprint_memusage_'
../../gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/lib/libcsm_share.a(shr_reprosum_mod
.o): In function `__shr_reprosum_mod_MOD_shr_reprosum_calc':
shr_reprosum_mod.F90:(.text+0x1af4): undefined reference to `shr_reprosumx86_fix_start_'
shr_reprosum_mod.F90:(.text+0x1c54): undefined reference to `shr_reprosumx86_fix_end_'
../../gnu/mpich/nodebug/nothreads/lib/libgptl.a(perf_mod.o): In function `__perf_mod_MOD_t_disablef
.part.0':
perf_mod.F90:(.text+0x1d): undefined reference to `gptldisable_'
../../gnu/mpich/nodebug/nothreads/lib/libgptl.a(perf_mod.o): In function `__perf_mod_MOD_t_stopf.pa
rt.2':
perf_mod.F90:(.text+0x194): undefined reference to `gptlstop_'
../../gnu/mpich/nodebug/nothreads/lib/libgptl.a(perf_mod.o): In function `__perf_mod_MOD_t_startf.p
art.3':
perf_mod.F90:(.text+0x694): undefined reference to `gptlstart_'
../../gnu/mpich/nodebug/nothreads/lib/libgptl.a(perf_mod.o): In function `__perf_mod_MOD_t_finalize
f':
perf_mod.F90:(.text+0xa57): undefined reference to `gptlfinalize_'
../../gnu/mpich/nodebug/nothreads/lib/libgptl.a(perf_mod.o): In function `__perf_mod_MOD_t_initf':
perf_mod.F90:(.text+0xb81): undefined reference to `gptlenable_'
perf_mod.F90:(.text+0xcdd): undefined reference to `gptlsetutr_'
perf_mod.F90:(.text+0xcf4): undefined reference to `gptlsetoption_'
perf_mod.F90:(.text+0xd0b): undefined reference to `gptlsetoption_'
perf_mod.F90:(.text+0xd66): undefined reference to `gptlinitialize_'
perf_mod.F90:(.text+0xda9): undefined reference to `gptldisable_'
perf_mod.F90:(.text+0x1653): undefined reference to `gptlsetoption_'
perf_mod.F90:(.text+0x186a): undefined reference to `gptlevent_name_to_code_'
perf_mod.F90:(.text+0x18c3): undefined reference to `gptlevent_name_to_code_'
perf_mod.F90:(.text+0x1900): undefined reference to `gptlevent_name_to_code_'
perf_mod.F90:(.text+0x1bb0): undefined reference to `gptlevent_name_to_code_'
perf_mod.F90:(.text+0x1bd3): undefined reference to `gptlsetoption_'
perf_mod.F90:(.text+0x1c03): undefined reference to `gptlsetoption_'
perf_mod.F90:(.text+0x1c33): undefined reference to `gptlsetoption_'
perf_mod.F90:(.text+0x1c63): undefined reference to `gptlsetoption_'
../../gnu/mpich/nodebug/nothreads/lib/libgptl.a(perf_mod.o): In function `__perf_mod_MOD_t_prf':
perf_mod.F90:(.text+0x21c8): undefined reference to `gptlpr_query_write_'
perf_mod.F90:(.text+0x23ab): undefined reference to `gptlpr_summary_file_'
perf_mod.F90:(.text+0x2617): undefined reference to `gptlpr_file_'
perf_mod.F90:(.text+0x2635): undefined reference to `gptlpr_set_write_'
perf_mod.F90:(.text+0x27b9): undefined reference to `gptlpr_set_append_'
perf_mod.F90:(.text+0x2a17): undefined reference to `gptlpr_summary_file_'
perf_mod.F90:(.text+0x2c52): undefined reference to `gptlpr_summary_file_'
perf_mod.F90:(.text+0x2da0): undefined reference to `gptlpr_file_'
../../gnu/mpich/nodebug/nothreads/lib/libgptl.a(perf_mod.o): In function `__perf_mod_MOD_t_enablef'
:
perf_mod.F90:(.text+0x32f7): undefined reference to `gptlenable_'
../../gnu/mpich/nodebug/nothreads/lib/libgptl.a(perf_mod.o): In function `__perf_mod_MOD_t_startsto
p_valsf':
perf_mod.F90:(.text+0x352d): undefined reference to `gptlstartstop_vals_'
../../gnu/mpich/nodebug/nothreads/lib/libgptl.a(perf_mod.o): In function `__perf_mod_MOD_t_stampf':
perf_mod.F90:(.text+0x3991): undefined reference to `gptlstamp_'
collect2: error: ld returned 1 exit status
gmake: *** [/lustre/cyh/cesm2.1.3/cime/scripts/output/FCfireHIST-gnu/bld/cesm.exe] Error 1
 

Attachments

  • config_machines.txt
    132.4 KB · Views: 0
  • config_compilers.txt
    2.8 KB · Views: 0
Top