<div class="__aliyun_email_body_block"><div style="font-family: Tahoma, Arial, STHeitiSC-Light, SimSun"><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><br ></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><br ></span></div><div style="clear: both;">------------------------------------------------------------------</div><div style="clear: both;">发件人:zengbo16 <zengbo16@aliyun.com></div><div style="clear: both;">发送时间:2025年3月4日(周二) 09:26</div><div style="clear: both;">收件人:"Hansen, Eddie"<ehansen@pas.rochester.edu></div><div style="clear: both;">主 题:回复:[FLASH-USERS] Trouble about implicit magnetic resistivity in FLASH4.8</div><div style="clear: both;"><br ></div><div style="font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><div style="clear: both;"><span class=" __aliyun_node_has_color" style="font-family: Arial, sans-serif; color: rgb(24, 26, 27); font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;">Hi Hansen, </span></div><div style="clear: both;"><span class=" __aliyun_node_has_color" style="font-family: Arial, sans-serif; color: rgb(24, 26, 27); font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;"> Thanks for your reply. We never do modification in this module. </span></div><div style="clear: both;"><span class=" __aliyun_node_has_color __aliyun_node_has_bgcolor" style="font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, Roboto, 'PingFang SC', MIUI, 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; color: rgb(6, 6, 7); font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; white-space: pre-wrap; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; background-color: rgb(255, 255, 255); display: inline !important;"> Based on what you’ve said, the error should not occur in normal cases. So I guess the trouble is about the version of gcc, gfortran or the hypre. </span></div><div style="clear: both;"><span class=" __aliyun_node_has_color __aliyun_node_has_bgcolor" style="font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, Roboto, 'PingFang SC', MIUI, 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; color: rgb(6, 6, 7); font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; white-space: pre-wrap; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; background-color: rgb(255, 255, 255); display: inline !important;"> We use gcc and gfortran both v12.2.0 and hypre-2.32.0. <span class=" __aliyun_node_has_color __aliyun_node_has_bgcolor" style="color: rgb(6, 6, 7); font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, Roboto, 'PingFang SC', MIUI, 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.25px; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;">Would there be any problems with these choices?</span></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"></span><div class=" __aliyun_node_has_color" style="margin: 0px; padding: 0px; border: 0px; outline: 0px; color: rgb(0, 0, 0); font-family: Tahoma, Arial, STHeitiSC-Light, SimSun; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;">Best regards,</span></div><div class=" __aliyun_node_has_color" style="margin: 0px; padding: 0px; border: 0px; outline: 0px; color: rgb(0, 0, 0); font-family: Tahoma, Arial, STHeitiSC-Light, SimSun; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;">Zeng Bo</span></div><div ></div><span style="font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><br ></span></div><blockquote ><div style="clear: both;">------------------------------------------------------------------</div><div style="clear: both;">发件人:Hansen, Eddie <ehansen@pas.rochester.edu></div><div style="clear: both;">发送时间:2025年3月3日(星期一) 22:29</div><div style="clear: both;">收件人:zengbo16<zengbo16@aliyun.com>; "flash-users"<flash-users@flash.rochester.edu></div><div style="clear: both;">主 题:Re: [FLASH-USERS] Trouble about implicit magnetic resistivity in FLASH4.8</div><div style="clear: both;"><br ></div><div class="WordSection1" style="page: WordSection1;"><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span style="font-size: 15px;">Zeng Bo,</span></p><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span style="font-size: 15px;"> </span></p><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span style="font-size: 15px;">It’s difficult to tell why the code is giving this error without knowing more about your setup. Also, the line that it’s pointing to in gr_uhypreSetupGrid.F90 is blank in FLASH4.8, so maybe you have modified
that routine.</span></p><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span style="font-size: 15px;"> </span></p><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span style="font-size: 15px;">In any case, we are continuously improving the code, and it’s possible that this error will not appear in future release versions since we have also been making updates to the hypre solver.
</span></p><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span style="font-size: 15px;"> </span></p><div ><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span class=" __aliyun_node_has_color" style="font-size: 15px; font-family: Calibri, sans-serif; color: black;">--</span></p><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span class=" __aliyun_node_has_color" style="font-size: 16px; font-family: Arial, sans-serif; color: rgb(24, 26, 27);">Eddie Hansen</span></p><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span class=" __aliyun_node_has_color" style="font-size: 16px; font-family: Arial, sans-serif; color: rgb(24, 26, 27);">Applications Group Leader</span></p><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span class=" __aliyun_node_has_color" style="font-size: 16px; font-family: Arial, sans-serif; color: rgb(24, 26, 27);">Flash Center for Computational Science</span></p></div><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span style="font-size: 15px;"> </span></p><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span style="font-size: 15px;"> </span></p><div ><div style="border-right: none; border-bottom: none; border-left: none; border-image: initial; border-top: 1px solid rgb(181, 196, 223); padding: 4px 0in 0in;"><p class="MsoNormal" style="margin: 0px 0px 16px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span class=" __aliyun_node_has_color" style="font-weight: 700; font-size: 16px; color: black;">From:
</span><span class=" __aliyun_node_has_color" style="font-size: 16px; color: black;">flash-users <flash-users-bounces@flash.rochester.edu> on behalf of zengbo16 <zengbo16@aliyun.com><br ><b >Date: </b>Friday, February 28, 2025 at 7:49 PM<br ><b >To: </b>flash-users <flash-users@flash.rochester.edu><br ><b >Subject: </b>[FLASH-USERS] Trouble about implicit magnetic resistivity in FLASH4.8</span></p></div><div ><div ><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span class=" __aliyun_node_has_color __aliyun_node_has_bgcolor" style="font-size: 14px; font-family: Helvetica; color: rgb(23, 26, 29); background: white;">Dear FLASH-users, </span></p></div><div ><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span class=" __aliyun_node_has_color __aliyun_node_has_bgcolor" style="font-size: 14px; font-family: Helvetica; color: rgb(23, 26, 29); background: white;"> I have some trouble while using the latest implicit magnetic resistivity module in FLASH4.8.</span></p></div><div ><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span class=" __aliyun_node_has_color __aliyun_node_has_bgcolor" style="font-size: 14px; font-family: Helvetica; color: rgb(23, 26, 29); background: white;"> The implicit magnetic resistivity works well in 2D cartesian coordinate. </span><span class=" __aliyun_node_has_color" style="font-size: 16px; font-family: Helvetica; color: rgb(23, 26, 29);">But
once I modify the same simulation to 3D, the error message has printed as the pic shown in the attachment. Invalid memory reference.</span></p></div><div ><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span class=" __aliyun_node_has_color __aliyun_node_has_bgcolor" style="font-size: 14px; font-family: Tahoma, sans-serif; color: black; background: white;"> Can you give me some advices about why this happened and how can I modify the case? Thank you for your attention!</span></p></div><div ><div ><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span class=" __aliyun_node_has_color" style="font-size: 14px; font-family: Tahoma, sans-serif; color: black; border: 1px none windowtext; padding: 0in;">Best regards,</span></p></div><div ><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span class=" __aliyun_node_has_color" style="font-size: 14px; font-family: Tahoma, sans-serif; color: black; border: 1px none windowtext; padding: 0in;">Zeng Bo</span></p></div><p class="MsoNormal" style="margin: 0px; font-size: 13.3333px; font-family: Aptos, sans-serif;"><span class=" __aliyun_node_has_color __aliyun_node_has_bgcolor" style="font-size: 14px; font-family: Tahoma, sans-serif; color: black; background: white;"><br ><br ></span></p></div></div></div></div></blockquote></div><div style="line-height: 20px; clear: both;"><br ></div></div></div>