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 building CESM1_2_2 on Yellowstone

Good morning,

I am attempting to build CESM1_2_2 on yellowstone, and am getting the following error:

/glade/scratch/hughlett/test/bld/lib//liblnd.a(clmtypeInitMod.o):/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5a319): more undefined references to `shr_infnan_mod_mp_set_nan_2d_double_' follow/glade/scratch/hughlett/test/bld/lib//liblnd.a(clmtypeInitMod.o): In function `clmtypeinitmod_mp_init_pft_pstate_type_':/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5a4a0): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5a54a): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5a5f4): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5a69e): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5a748): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/scratch/hughlett/test/bld/lib//liblnd.a(clmtypeInitMod.o):/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5a7ff): more undefined references to `shr_infnan_mod_mp_set_nan_1d_double_' follow/glade/scratch/hughlett/test/bld/lib//liblnd.a(clmtypeInitMod.o): In function `clmtypeinitmod_mp_init_pft_pstate_type_':/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5ad84): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5ae63): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5af42): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5b021): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5b100): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/scratch/hughlett/test/bld/lib//liblnd.a(clmtypeInitMod.o):/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5b1df): more undefined references to `shr_infnan_mod_mp_set_nan_2d_double_' follow/glade/scratch/hughlett/test/bld/lib//liblnd.a(clmtypeInitMod.o): In function `clmtypeinitmod_mp_init_pft_pstate_type_':/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5b368): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5b412): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5b4bc): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5b566): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5b610): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/scratch/hughlett/test/bld/lib//liblnd.a(clmtypeInitMod.o):/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x5b756): more undefined references to `shr_infnan_mod_mp_set_nan_1d_double_' follow/glade/scratch/hughlett/test/bld/lib//liblnd.a(clmtypeInitMod.o): In function `clmtypeinitmod_mp_init_pft_ecophys_constants_':/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x60c6e): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x60d33): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x60df8): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x60ebd): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x60f51): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x60fe5): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x61079): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x6110d): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x611a1): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/scratch/hughlett/test/bld/lib//liblnd.a(clmtypeInitMod.o):/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x61235): more undefined references to `shr_infnan_mod_mp_set_nan_1d_double_' follow/glade/scratch/hughlett/test/bld/lib//liblnd.a(clmtypeInitMod.o): In function `clmtypeinitmod_mp_initclmtype_':/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x6606a): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x66536): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x665df): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x666c0): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x66769): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x66812): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x668bb): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x66964): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x66c63): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/scratch/hughlett/test/bld/lib//liblnd.a(clmtypeInitMod.o):/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x66d0c): more undefined references to `shr_infnan_mod_mp_set_nan_1d_double_' follow/glade/scratch/hughlett/test/bld/lib//liblnd.a(clmtypeInitMod.o): In function `clmtypeinitmod_mp_initclmtype_':/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/main/clmtypeInitMod.F90:(.text+0x670ec): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/scratch/hughlett/test/bld/lib//liblnd.a(domainMod.o): In function `domainmod_mp_domain_init_':/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/util_share/domainMod.F90:(.text+0x2959): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/util_share/domainMod.F90:(.text+0x2995): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/util_share/domainMod.F90:(.text+0x29d1): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/scratch/hughlett/test/bld/lib//liblnd.a(ncdio_pio.o): In function `ncdio_pio_mp_ncd_io_real_var1_':/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/util_share/ncdio_pio.F90:(.text+0x9ff8): undefined reference to `shr_infnan_mod_mp_set_nan_0d_double_'/glade/scratch/hughlett/test/bld/lib//liblnd.a(ncdio_pio.o): In function `ncdio_pio_mp_ncd_io_real_var2_':/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/util_share/ncdio_pio.F90:(.text+0xc82b): undefined reference to `shr_infnan_mod_mp_set_nan_0d_double_'/glade/scratch/hughlett/test/bld/lib//liblnd.a(CNAllocationMod.o): In function `cnallocationmod_mp_cnallocationinit_':/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/biogeochem/CNAllocationMod.F90:(.text+0x5a02): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/biogeochem/CNAllocationMod.F90:(.text+0x5f4e): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/biogeochem/CNAllocationMod.F90:(.text+0x5fea): undefined reference to `shr_infnan_mod_mp_set_nan_1d_double_'/glade/scratch/hughlett/test/bld/lib//liblnd.a(STATICEcosysDynMod.o): In function `staticecosysdynmod_mp_ecosystemdynini_':/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/biogeochem/STATICEcosysDynMod.F90:(.text+0x1b7): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/biogeochem/STATICEcosysDynMod.F90:(.text+0x267): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/biogeochem/STATICEcosysDynMod.F90:(.text+0x31b): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_'/glade/p/cesm/releases/cesm1_2_2/models/lnd/clm/src/clm4_0/biogeochem/STATICEcosysDynMod.F90:(.text+0x3b4): undefined reference to `shr_infnan_mod_mp_set_nan_2d_double_' gmake: *** [/glade/scratch/hughlett/test/bld/cesm.exe] Error 1
After having read through previous responses in the forums, I believe this is a library issue, but am not 100% sure. Any help would be greatly appreciated.
 

jedwards

CSEG and Liaisons
Staff member
Something is corrupt in your build.   I was able to clone your case and build to complettion.   Tryrm -fr /glade/scratch/hughlett/test/bld/   and build again.   
 

jedwards

CSEG and Liaisons
Staff member
Something is corrupt in your build.   I was able to clone your case and build to complettion.   Tryrm -fr /glade/scratch/hughlett/test/bld/   and build again.   
 
Top