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

Build failure with CESM2.1.2 during link step with --no-relax option

komezoku

komezoku
New Member
Hello.

I'm trying to use CESM2.1.2 in Ubuntu 22.04 with GCC 11.4.0 and OpenMPI 4.2.1.

I’m encountering a problem during the build process where the link step fails with errors. It suggests that I need to relink with the --no-relax option, but despite this, the problem persists. I have already tried modifying the LDFLAGS and recompiling, but the issue is not resolved.
What I did is following.
  1. I started by creating a new case with the command:
    ./create_newcase --case ~/cesm_cases --res b.e20.B1850.f19_g17 --compset B1850 --res f19_g17
  2. I ran the build command:
    ./case.build
    The build proceeded but failed . I tried using the --no-relax option for linking, but the problem persists.
  3. After reviewing the logs, I found the following error:
    failed to convert GOTPCREL relocation against '__pio_support_MOD_debug'; relink with --no-relax
    The error occurred while linking piolib_mod.

Before I try to test --compset B1850 --res f19_g17, I tried --compset X --res f19_g16, which seemed to be completed up to the ./case.submit.

Could anyone provide insight into what might be causing this and how to resolve it?
 

Attachments

  • cesm.bldlog.241126-193452.txt
    70.3 KB · Views: 3
  • bashrc.txt
    6.3 KB · Views: 2
  • config_compilers.txt
    10.6 KB · Views: 1
  • config_machines.txt
    127.1 KB · Views: 1
  • HDF5_config.txt
    6.5 KB · Views: 1
  • nc-config --all.txt
    1.2 KB · Views: 2
  • nf-config --all.txt
    669 bytes · Views: 1

fischer

CSEG and Liaisons
Staff member
Hi,

Can you try updating to CESM 2.1.5 and trying again. Also, how did you set the --no-relax flag? I didn't see it being set any of your attachements.

Thanks
Chris
 
Vote Upvote 0 Downvote
Top