<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div><br>
</div>
Hi Andrew,
<div><br>
</div>
<div>It looks like you are trying to compile for too large a case.</div>
<div><br>
</div>
<div>Two things to look for ---</div>
<div><br>
</div>
<div>1) Use the -mcmodel=medium flag in makenek</div>
<div><br>
</div>
<div>    Go to G= in makenek, uncomment, and change it to</div>
<div>
<div><br>
</div>
<div><br>
</div>
<div> G="-mcmodel=medium"</div>
<div><br>
</div>
<div>2)  What is your lelt value in SIZE ?    If you have (say) 100 elements and are running on 8</div>
<div>     processors, you would only need </div>
<div><br>
</div>
<div>     lelt=100/8 = 13 or 14</div>
<div><br>
</div>
<div>     (Even numbers are preferred for byte-alignment reasons.)</div>
<div><br>
</div>
<div>You would not need lelt=100.</div>
<div><br>
</div>
<div>This change would reduce your memory footprint by 8x.</div>
<div><br>
</div>
<div>Paul</div>
<div><br>
</div>
<div><br>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF78422" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> nek5000-users-bounces@lists.mcs.anl.gov [nek5000-users-bounces@lists.mcs.anl.gov] on behalf of nek5000-users@lists.mcs.anl.gov [nek5000-users@lists.mcs.anl.gov]<br>
<b>Sent:</b> Wednesday, February 17, 2016 8:17 AM<br>
<b>To:</b> nek5000-users@lists.mcs.anl.gov<br>
<b>Subject:</b> [Nek5000-users] ERROR of compilating<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hi all,<br>
<br>
</div>
I have a compilation issue with my example. <br>
</div>
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:<br>
<br>
"obj/stenosis.o: In function `uservp_':<br>
stenosis.f:(.text+0xd): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o<br>
stenosis.f:(.text+0x1b): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o<br>
stenosis.f:(.text+0x29): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o<br>
obj/stenosis.o: In function `userf_':<br>
stenosis.f:(.text+0x35): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o<br>
stenosis.f:(.text+0x3c): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o<br>
stenosis.f:(.text+0x43): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o<br>
obj/stenosis.o: In function `userq_':<br>
stenosis.f:(.text+0x53): relocation truncated to fit: R_X86_64_PC32 against symbol `nekuse_' defined in COMMON section in obj/stenosis.o<br>
obj/stenosis.o: In function `userchk_':<br>
stenosis.f:(.text+0x73): relocation truncated to fit: R_X86_64_PC32 against symbol `dimn_' defined in COMMON section in obj/stenosis.o<br>
stenosis.f:(.text+0x189): relocation truncated to fit: R_X86_64_PC32 against symbol `dimn_' defined in COMMON section in obj/stenosis.o<br>
stenosis.f:(.text+0x1e7): relocation truncated to fit: R_X86_64_PC32 against symbol `dimn_' defined in COMMON section in obj/stenosis.o<br>
obj/stenosis.o: In function `userbc_':<br>
stenosis.f:(.text+0x2b4): additional relocation overflows omitted from the output<br>
collect2: ld a retourné 1 code d'état d'exécution<br>
make: *** [nek5000] Erreur 1"<br>
<br>
</div>
<div>The same issue occures if I change the parameters lx1 and lxd in SIZE-file.<br>
<br>
</div>
</div>
Does anybody have an idea on how to fix this?<br>
</div>
<div>Thank you for any help or suggestion.<br>
</div>
<div><br>
</div>
<i>Andrew</i></div>
</div>
</div>
</div>
</div>
</body>
</html>