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

prealpha test run fails

pradalma

Marie-Aude Pradal
New Member
Hi

I am trying to port CESM2 to a cluster at Johns Hopkins.
Here is the error message I get when trying to run the prealpha case as listed in the documentation to verify the porting.


Finished SHAREDLIB_BUILD for test ERS_D.f09_g17.B1850.rf1_gnu.allactive-defaultio in 62.642949 seconds (FAIL). [COMPLETED 4 of 64]
Case dir: /home/mpradal1/scr16_agnanad1/cesm/OUTPUT/ERS_D.f09_g17.B1850.rf1_gnu.allactive-defaultio.20220616_114918_fy4ty9
Errors were:
Building test for ERS in directory /scratch16/agnanad1/cesm/OUTPUT/ERS_D.f09_g17.B1850.rf1_gnu.allactive-defaultio.20220616_114918_fy4ty9
File not found: grid_file = "/home/mpradal1/scr16_agnanad1/cesm/cesm_input_datasets//ocn/pop/gx1v7/grid/horiz_grid_20010402.ieeer8", will attempt to download in check_input_data phase
File not found: kmt_file = "/home/mpradal1/scr16_agnanad1/cesm/cesm_input_datasets//ocn/pop/gx1v7/grid/topography_20161215.ieeei4", will attempt to download in check_input_data phase
File not found: frivinp_rtm = "/home/mpradal1/scr16_agnanad1/cesm/cesm_input_datasets//rof/mosart/MOSART_routing_Global_0.5x0.5_c170601.nc", will attempt to download in check_input_data phase
File not found: prestage_wind = "/home/mpradal1/scr16_agnanad1/cesm/cesm_input_datasets//wav/ww3/core2_G4_wns_30min_20000601_to_05.nc", will attempt to download in check_input_data phase
File not found: prestage_mod_def = "/home/mpradal1/scr16_agnanad1/cesm/cesm_input_datasets//wav/ww3/G4L1.mod_def.ww3.121031", will attempt to download in check_input_data phase
File not found: initfile = "/home/mpradal1/scr16_agnanad1/cesm/cesm_input_datasets//wav/ww3/restart.ww3.init.seed", will attempt to download in check_input_data phase
File not found: atm2ocn_fmapname = "cpl/gridmaps/fv0.9x1.25/map_fv0.9x1.25_TO_gx1v7_aave.151008.nc", will attempt to download in check_input_data phase
File not found: atm2ocn_smapname = "cpl/gridmaps/fv0.9x1.25/map_fv0.9x1.25_TO_gx1v7_blin.151008.nc", will attempt to download in check_input_data phase
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
There are several input files that you are missing that you need to download. To do that first run

./check_input_data

in your case and it will say something similar to above. Then to download

./check_input_data --download

There are also options to the script that you can use the --help option to learn how to use it.

This also would be talked about in general user documentation about how to run CESM.
 

pradalma

Marie-Aude Pradal
New Member
Thanks for your answer

I am now attempting to reproduce a historic run
the build fails with these errors
dgmres.f:(.text+0x101b): undefined reference to `dscal_'

dgmres.f:(.text+0x1201): undefined reference to `dnrm2_'

dgmres.f:(.text+0x145e): undefined reference to `dcopy_'

dgmres.f:(.text+0x152d): undefined reference to `dnrm2_'

dgmres.f:(.text+0x16b7): undefined reference to `dscal_'

dgmres.f:(.text+0x186d): undefined reference to `dcopy_'

dgmres.f:(.text+0x193f): undefined reference to `dcopy_'

dgmres.f:(.text+0x1a18): undefined reference to `dnrm2_'

dgmres.f:(.text+0x1bc3): undefined reference to `dscal_'

dgmres.f:(.text+0x1c19): undefined reference to `dcopy_'

dgmres.f:(.text+0x1fb3): undefined reference to `daxpy_'

dgmres.f:(.text+0x2092): undefined reference to `dcopy_'

dgmres.f:(.text+0x23e7): undefined reference to `dcopy_'

dgmres.f:(.text+0x24cf): undefined reference to `dnrm2_'

dgmres.f:(.text+0x2599): undefined reference to `dcopy_'

Component cesm exe build complete with 3 warnings
ERROR: BUILD FAIL: buildexe failed,
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
OK, so it's failing on the link step. And dgmres.f has some external subroutine/function calls that aren't satisfied. I'm not quite sure what those calls refer to. But, I think some of them might be LAPACK subroutines. You might need to add capability to your build so that LAPACK is linked in. This often is an extra step and will vary depending on the compiler.

I would suggest finding the dgmres.f file in the source code and look for the calls referenced and see if there is some indication on what they are. I'd also look into the CESM build about how linking with LAPACK is done.
 
Top