[MITgcm-support] (compile error) relocation truncated to fit: R_X86_64_PC32

Martin Losch Martin.Losch at awi.de
Fri Aug 10 04:07:14 EDT 2018


You executable gets too large for this particular compiler/system. Depending on the the compiler that you use you may be able to change the memory model to medium or large (at least that’s what it is called with ifort: -mcmodel=medium, other compiler may have different options)

Martin


> On 9. Aug 2018, at 22:12, Gus Correa <gus at ldeo.columbia.edu> wrote:
> 
> If your options file has the -fpic / -fPIC flag,
> have you tried to comment it out, run genmake2 again,
> and recompile?
> 
> Gus Correa
> 
> On 08/09/2018 07:27 AM, Wei wrote:
>> Hi, all,
>> When transplanting a regional MITgcm model from one machine to another, I got the following compile error. The directories of the INCLUDE and LIBS are right.
>> I have no idea what this error mean. Could anyone help to resolve this problem?
>> Thanks,
>> Wei
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support



More information about the MITgcm-support mailing list