<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">PS - I see that setting lelx=1 is not sufficient (but still a good idea).</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I added the following to the makenek script:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 13px; line-height: normal; font-family: Courier;">
# optional compiler flags</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 13px; line-height: normal; font-family: Courier;">
FFLAGS="-mcmodel=medium"</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 13px; line-height: normal; font-family: Courier;">
CFLAGS="-mcmodel=medium"</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 13px; line-height: normal; font-family: Courier; min-height: 16px;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 13px; line-height: normal; font-family: Courier;">
# optional linking flags</p>
<p></p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 13px; line-height: normal; font-family: Courier;">
USR_LFLAGS+="-mcmodel=medium"</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 13px; line-height: normal; font-family: Courier;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 13px; line-height: normal; font-family: Courier;">
which did get the code to link and compile, after</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 13px; line-height: normal; font-family: Courier;">
"makenek clean"</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 13px; line-height: normal; font-family: Courier;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 13px; line-height: normal; font-family: Courier;">
Paul</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 13px; line-height: normal; font-family: Courier;">
<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Nek5000-users <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, December 20, 2017 12:45:08 PM<br>
<b>To:</b> nek5000-users@lists.mcs.anl.gov<br>
<b>Subject:</b> Re: [Nek5000-users] makenek issue</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Hi Jian,</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Is there a reason you have </p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0"> lelx=30, lely=lelx,lelz=lelx?</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">I would set lelx=1. The features that use lelx (there are no</p>
<p style="margin-top:0; margin-bottom:0">good ones) are not scalable.</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Please let me know if this remedies your problem.</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Best,</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Paul</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Nek5000-users <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, December 20, 2017 12:14:00 PM<br>
<b>To:</b> nek5000-users@lists.mcs.anl.gov<br>
<b>Subject:</b> Re: [Nek5000-users] makenek issue</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi Paul,
<div><br>
</div>
<div>I used the same rea file in previous nek, which was working well. But the error occurs in the new code. I am wondering whether it's the compilation. Attached is the case files.</div>
<div><br>
</div>
<div>
<div class="x_x_gmail_chip x_x_gmail_drive_chip" style="width:396px; height:18px; max-height:18px; background-color:#f5f5f5; padding:5px; color:#222; font-family:arial; font-style:normal; font-weight:bold; font-size:13px; border:1px solid #ddd; line-height:1">
<a href="https://drive.google.com/file/d/1MUug6TWYqVoyfvwYg72zjvreZo2_DsYe/view?usp=drive_web" target="_blank" style="display:inline-block; max-width:366px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-decoration:none; padding:1px 0; border:none"><img style="vertical-align:bottom; border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="color:#15c; text-decoration:none; vertical-align:bottom">pipe.tar</span></a><img style="display:none; float:right; top:-1px" src=""></div>
<br>
</div>
<div>Kind regards,</div>
<div><br>
</div>
<div>Jian</div>
</div>
</div>
</div>
</body>
</html>