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

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
Back
Top