[Nek5000-users] ERROR of compilating
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Wed Feb 17 09:26:37 CST 2016
Hi Andrew,
It looks like you are trying to compile for too large a case.
Two things to look for ---
1) Use the -mcmodel=medium flag in makenek
Go to G= in makenek, uncomment, and change it to
G="-mcmodel=medium"
2) What is your lelt value in SIZE ? If you have (say) 100 elements and are running on 8
processors, you would only need
lelt=100/8 = 13 or 14
(Even numbers are preferred for byte-alignment reasons.)
You would not need lelt=100.
This change would reduce your memory footprint by 8x.
Paul
________________________________
From: nek5000-users-bounces at lists.mcs.anl.gov [nek5000-users-bounces at lists.mcs.anl.gov] on behalf of nek5000-users at lists.mcs.anl.gov [nek5000-users at lists.mcs.anl.gov]
Sent: Wednesday, February 17, 2016 8:17 AM
To: nek5000-users at lists.mcs.anl.gov
Subject: [Nek5000-users] ERROR of compilating
Hi all,
I have a compilation issue with my example.
I created a mesh 3D using n2to3 from the file w2dcyl020a.rea. I don't have any issue with compilation. Then I refined the mesh 2D using pretex and rebuilt the mesh 3D with n2to3 like before this and this time an error message occured:
"obj/stenosis.o: In function `uservp_':
stenosis.f:(.text+0xd): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o
stenosis.f:(.text+0x1b): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o
stenosis.f:(.text+0x29): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o
obj/stenosis.o: In function `userf_':
stenosis.f:(.text+0x35): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o
stenosis.f:(.text+0x3c): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o
stenosis.f:(.text+0x43): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o
obj/stenosis.o: In function `userq_':
stenosis.f:(.text+0x53): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o
obj/stenosis.o: In function `userchk_':
stenosis.f:(.text+0x73): relocation truncated to fit: R_X86_64_PC32 against symbol `dimn_' defined in COMMON section in obj/stenosis.o
stenosis.f:(.text+0x189): relocation truncated to fit: R_X86_64_PC32 against symbol `dimn_' defined in COMMON section in obj/stenosis.o
stenosis.f:(.text+0x1e7): relocation truncated to fit: R_X86_64_PC32 against symbol `dimn_' defined in COMMON section in obj/stenosis.o
obj/stenosis.o: In function `userbc_':
stenosis.f:(.text+0x2b4): additional relocation overflows omitted from the output
collect2: ld a retourné 1 code d'état d'exécution
make: *** [nek5000] Erreur 1"
The same issue occures if I change the parameters lx1 and lxd in SIZE-file.
Does anybody have an idea on how to fix this?
Thank you for any help or suggestion.
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20160217/960b0f46/attachment.html>
More information about the Nek5000-users
mailing list