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

CESM 1.2.2.1 cesm_setup module issue on Cheyenne

Hi Jedwards and all, I am also getting the "relocation truncated to fit" error during compilation of a b-compset using CESM1.2.0.1.  I have modified the libraries (e.g. mpt/2.19) as requested , and also copied the new PIO library into my model source code (pio1_8_14).  However, it looks like I am still getting the same "relocation" error, and am unable to build the model.  I also tried adding the "-mcmodel=medium" flag as suggested by Wanying Kang, but wound up with the same result.  Although, at least that probably means that I am having the same (or a similar) problem as Wanying. Anyways, should I use a different PIO version, given that my CESM version is different? Any advice or suggestions for this particular issue would certainly be appreciated.  I'll also keep digging around to see if I can find any solutions, but not sure how successful I'll be. Thanks, and have a great day! Jesse Nusbaumer
 
Hi Jedwards and all, I am also getting the "relocation truncated to fit" error during compilation of a b-compset using CESM1.2.0.1.  I have modified the libraries (e.g. mpt/2.19) as requested , and also copied the new PIO library into my model source code (pio1_8_14).  However, it looks like I am still getting the same "relocation" error, and am unable to build the model.  I also tried adding the "-mcmodel=medium" flag as suggested by Wanying Kang, but wound up with the same result.  Although, at least that probably means that I am having the same (or a similar) problem as Wanying. Anyways, should I use a different PIO version, given that my CESM version is different? Any advice or suggestions for this particular issue would certainly be appreciated.  I'll also keep digging around to see if I can find any solutions, but not sure how successful I'll be. Thanks, and have a great day! Jesse Nusbaumer
 

sungduk@uci_edu

New Member
Thank you, jedwards and all who investigated this issue. CESM1.2.2.1 is finally working (both F and B compsets) after updating pio version to 1_8_14 (as shown in #23). Just for refrence to others, my env_mach_specific.cheyenne uses:intel/17.0.1, ncarenv/1.0, mkl, ncarcompilers/0.4.1, mpt/2.19, netcdf/4.6.1, netcdf-mpi/4.6.1, and pnetcdf/1.11.0.- Sungduk
 

sungduk@uci_edu

New Member
Thank you, jedwards and all who investigated this issue. CESM1.2.2.1 is finally working (both F and B compsets) after updating pio version to 1_8_14 (as shown in #23). Just for refrence to others, my env_mach_specific.cheyenne uses:intel/17.0.1, ncarenv/1.0, mkl, ncarcompilers/0.4.1, mpt/2.19, netcdf/4.6.1, netcdf-mpi/4.6.1, and pnetcdf/1.11.0.- Sungduk
 
Hi Sungduk, Jedwards et al., Thanks for sharing!  I found out that the build scripts (*.build and *.clean_build) I had were skipping the re-compilation of the PIO library for my particular case.  However, when I started from scratch with a new case using the updated libraries (included the updated PIO) it compiled and ran without an issue.  So it looks like this fix works for the CESM1.2.0.1 version as well (which I figured I would share here in case any future user runs across this same issue/thread). Thanks again for the help, and have a great day! Jesse Nusbaumer
 
Hi Sungduk, Jedwards et al., Thanks for sharing!  I found out that the build scripts (*.build and *.clean_build) I had were skipping the re-compilation of the PIO library for my particular case.  However, when I started from scratch with a new case using the updated libraries (included the updated PIO) it compiled and ran without an issue.  So it looks like this fix works for the CESM1.2.0.1 version as well (which I figured I would share here in case any future user runs across this same issue/thread). Thanks again for the help, and have a great day! Jesse Nusbaumer
 
I'm currently trying to run the CESM 1.1.2 LENS configuration. I made the changes to env_mach_specific from comment #10 but wasn't able to successfully build with the new pio, (it threw an error that said there was no Makefile), so I left it at the old one. While it sets up and builds fine, it quickly aborts shortly after running with the following error.0:256  r7i3n22
0: ... list truncated at 256
1: Opened existing file b.e11.B1850C5CN.f09_g16.005.cam.i.0402-01-01-00000.nc
1:           0
1: Opened existing file
1: /glade/p/cesmdata/cseg/inputdata/atm/cam/topo/USGS-gtopo30_0.9x1.25_remap_c0510
1: 27.nc           1
MPT: shepherd terminated: r7i2n11.ib0.cheyenne.ucar.edu - job abortingIt seems like there is still an incompatibility with the new libraries, but I'm not sure where since I'm running an older version of the model. Is it because I am still using the old pio utilities? If so, how do build this version with the new pio?
 
I'm currently trying to run the CESM 1.1.2 LENS configuration. I made the changes to env_mach_specific from comment #10 but wasn't able to successfully build with the new pio, (it threw an error that said there was no Makefile), so I left it at the old one. While it sets up and builds fine, it quickly aborts shortly after running with the following error.0:256  r7i3n22
0: ... list truncated at 256
1: Opened existing file b.e11.B1850C5CN.f09_g16.005.cam.i.0402-01-01-00000.nc
1:           0
1: Opened existing file
1: /glade/p/cesmdata/cseg/inputdata/atm/cam/topo/USGS-gtopo30_0.9x1.25_remap_c0510
1: 27.nc           1
MPT: shepherd terminated: r7i2n11.ib0.cheyenne.ucar.edu - job abortingIt seems like there is still an incompatibility with the new libraries, but I'm not sure where since I'm running an older version of the model. Is it because I am still using the old pio utilities? If so, how do build this version with the new pio?
 

jedwards

CSEG and Liaisons
Staff member
For the 1.1.2 version of cesm you need to update pio to:https://github.com/NCAR/ParallelIO.git/tags/pio1_7_3/pio
 
 

jedwards

CSEG and Liaisons
Staff member
For the 1.1.2 version of cesm you need to update pio to:https://github.com/NCAR/ParallelIO.git/tags/pio1_7_3/pio
 
 
Hi,I am using the CESM1.1.1 and I encounter similar issues of "relocation truncated to fit". I update the env_mach_specific from comment #10 and update pio to pio1_7_3, but the CESM still cannot be built. The error message is---Can't open perl script "../bin/genf90.pl": No such file or directory Makefile:125: recipe for target 'pionfatt_mod.F90' failed---It seems that the pio1_7_3 does not work for CESM1.1.1. Does anyone know which version of pio should I use for the CESM1.1.1? Thanks.
 
Hi,I am using the CESM1.1.1 and I encounter similar issues of "relocation truncated to fit". I update the env_mach_specific from comment #10 and update pio to pio1_7_3, but the CESM still cannot be built. The error message is---Can't open perl script "../bin/genf90.pl": No such file or directory Makefile:125: recipe for target 'pionfatt_mod.F90' failed---It seems that the pio1_7_3 does not work for CESM1.1.1. Does anyone know which version of pio should I use for the CESM1.1.1? Thanks.
 

linlin

New Member
Hi all, thank you very much for your efforts!

I am running CESM1_2_0, CAM5.3. After I update the library as well as downloading pio, my model still crashed with the error "ccsm_comp_mod.F90:(.text+0x50a): relocation truncated to fit: R_X86_64_PC32 against symbol `ccsm_comp_mod_mp_cktime_acc_' during build.

Am I missing something?

THANKS!
Lin
 

linlin

New Member
Hi all,

I am running CESM1_2_0, CAM5.3

After I update the library suggested above and the pio, the model still crashed but with the pio error in the build stage.

I download the new pio via svn co command. The error said cp: cannot stat '***/cesm1_2_0/models/utils/pio/Makefile': No such file or directory.

Does any one have an idea?

THANKS A LOT IN ADVANCE!
Lin
 
Top