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

Wei learnfe at 163.com
Sun Aug 12 09:42:37 EDT 2018


Hi, Prof. Losch,
Yes, you are right. We changed the memory model to large and increased the CPU for running the model, and then the error disappeared now. Thanks a lot.


Best,
Wei








At 2018-08-10 16:07:14, "Martin Losch" <Martin.Losch at awi.de> wrote:
>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
>
>_______________________________________________
>MITgcm-support mailing list
>MITgcm-support at mitgcm.org
>http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20180812/00628041/attachment.html>


More information about the MITgcm-support mailing list