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

Failed to convert GOTPCREL relocation: building cesm1_2_2_1 on Cheyenne

slubis

Sandro Lubis
New Member
Hello,

I am trying to build cesm1_2_2_1 on Cheyenne from /glade/p/cesm/releases/cesm1_2_2_1/scripts/. However, I got the following error message. Has there been any further update on this issue?

ld: failed to convert GOTPCREL relocation; relink with --no-relax
/glade/u/home/slubis/cases/f2000.FW.f19_f19.001/Tools/Makefile:629: recipe for target '/glade/scratch/slubis/f2000.FW.f19_f19.001/bld/cesm.exe' failed gmake: *** [/glade/scratch/slubis/f2000.FW.f19_f19.001/bld/cesm.exe] Error 1

Best,
Sandro
 

nusbaume

Jesse Nusbaumer
CSEG and Liaisons
Staff member
Hi Sandro,

Based on the discussion found here:


I believe that the issue might be that the PIO library needs to be updated from pio1_8_12 to pio1_8_14. This can be done by copying that version of CESM, or by running the following command in your location of choice on Cheyenne:

svn co https://svn-ccsm-models.cgd.ucar.edu/cesm1/release_tags/cesm1_2_2_1/

and then cd-ing to your copied or downloaded CESM directory, and running the following:

Code:
cd models/utils
mv pio pio.old
svn co https://github.com/NCAR/ParallelIO.git/tags/pio1_8_14/pio

After that, go ahead and try to create and build the same case as before, but from this version of CESM1.2.2.1 instead of the one in /glade/p/cesm/releases.

Hope that helps, and good luck with the build!

Jesse
 

slubis

Sandro Lubis
New Member
Hi Jesse,

Thanks for the hints. I got the following errors by retrieving this fixed version:

slubis/cases> svn co https://svn-ccsm-models.cgd.ucar.edu/cesm1/release_tags/cesm1_2_2_1/
A cesm1_2_2_1/README
A cesm1_2_2_1/SVN_EXTERNAL_DIRECTORIES
A cesm1_2_2_1/ChangeLog
A cesm1_2_2_1/Copyright
U cesm1_2_2_1

Authentication realm: <https://svn-ccsm-models.cgd.ucar.edu:443> ccsm:models
Password for 'slubis': ***************
Authentication realm: <https://svn-ccsm-models.cgd.ucar.edu:443> ccsm:models
Username: slubis Password for 'slubis': ***************
Authentication realm: <https://svn-ccsm-models.cgd.ucar.edu:443> ccsm:models
Username: slubis Password for 'slubis': ***************

svn: warning: W200000: Error handling externals definition for 'cesm1_2_2_1/scripts':
svn: warning: W215004: Unable to connect to a repository at URL 'https://svn-ccsm-models.cgd.ucar.edu/scripts/release_tags/cesm1_2_x_n22_scripts4_140516'
Authentication realm: <https://svn-ccsm-models.cgd.ucar.edu:443> ccsm:models


I tried to copy it into my home/cases directory, I keep getting those errors, asking for username and password (multiple times) but nothing happens.
Any suggestions for this issue?

Best,
Sandro
 

nusbaume

Jesse Nusbaumer
CSEG and Liaisons
Staff member
Hi Sandro,

Sorry, I forgot to mention that you'll need to register in order to gain access to the subversion repository. After registering you'll be sent a username/password that you can use to access the needed files. The registration form itself can be found online here:


If of course registration (or the username/password you receive) doesn't work please let us know.

Thanks, and have a great day!

Jesse
 

slubis

Sandro Lubis
New Member
Hi Jesse,

Is it possible that you update PIO library (pio1_8_12 to pio1_8_14) directly on the /glade/p/cesm/releases/cesm1_2_2_1/,
so that everyone else who wants to use CESM1_2_2_1 on Cheyenne will not have similar issue?

Thanks,
Sandro
 

nusbaume

Jesse Nusbaumer
CSEG and Liaisons
Staff member
Hi Sandro,

I do not have write permissions for that directory, so I cannot modify it. Plus in all likelihood NCAR will want to keep that model version as-is, in order to provide source code provenance (as it has likely been copied to other machines).

Instead, I have downloaded the CESM1.2.2.1 source code myself and performed the associated PIO modifications. You should be able to copy it to your own directory on cheyenne from here:

/glade/work/nusbaume/SE_projects/forum_files/cesm1_2_2_1

Hope that helps!

Jesse
 

slubis

Sandro Lubis
New Member
Hi Jesse,

I just want to report that the build was failed again today even using the associated PIO modifications. I found the same errors as before,
has the PIO library been updated again on the machine?

ld: 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
ld: ccsm_comp_mod.F90:(.text+0x512): additional relocation overflows omitted from the output
ld: failed to convert GOTPCREL relocation; relink with --no-relax

Thanks
Sandro
 

nusbaume

Jesse Nusbaumer
CSEG and Liaisons
Staff member
Hi Sandro,

Apologies for the month-long delay! I was temporarily pulled away from the forums due to other work assignments. Did you end up finding a solution to this issue, or do you still need help with it?

Thanks!

Jesse
 
Top