<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Answers to Ryan’s questions would certainly be helpful, but I suspect that the MPI issue could be that with a uniform grid setup, you need to set iProcs and jProcs in your par file such that iProcs*jProcs
is equal to the number of processors you’re trying to use with the mpirun command (I’m assuming a 2D sim).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">--</span><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:#181A1B">Eddie Hansen</span><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:#181A1B">Applications Group Leader<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:#181A1B">Flash Center for Computational Science</span><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">flash-users <flash-users-bounces@flash.rochester.edu> on behalf of Ryan Farber <rjfarber@umich.edu><br>
<b>Date: </b>Friday, June 21, 2024 at 11:03 AM<br>
<b>To: </b>lizy <3287940670@qq.com><br>
<b>Cc: </b>flash-users <flash-users@flash.rochester.edu><br>
<b>Subject: </b>Re: [FLASH-USERS] The better the grid accuracy, the more fluctuations and instability may occur in the calculation results<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal">Hi Lizy,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">It would be helpful if you can provide more information to give you more direct help :)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Can you share the MPI error? Probably you need to set the path to your MPI installation in your /PATH/TO/FLASH/sites directory.<br>
Regarding higher resolution producing randomly distributed data - what's your Simulation_initBlock look like? Are you in fact generating random variables?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Best,<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">--------<o:p></o:p></p>
<div>
<p class="MsoNormal">Ryan<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Jun 20, 2024 at 8:55<span style="font-family:"Arial",sans-serif"> </span>PM lizy <<a href="mailto:3287940670@qq.com">3287940670@qq.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p style="margin:0in;word-break:break-word"><span style="font-family:"Arial",sans-serif">Dear Flash Developer, <o:p></o:p></span></p>
<p style="margin:0in;word-break:break-word"><span style="font-family:"Arial",sans-serif">I used two types of uniform grids, - nxb=256- nyb=128 and - nxb=128- nyb=56, respectively, but the results of the calculations were very different. The results of the more
precise grid calculations were actually very inaccurate, and the density and other data were randomly distributed. What is the reason?<o:p></o:p></span></p>
<p style="margin:0in;word-break:break-word"><span style="font-family:"Arial",sans-serif">In addition, I want to use multi-core operations. After setting it in flash. par, I entered mpirun - np 2 flash 4.8 but encountered an error. Should this command be performed
before the ./setup command?<o:p></o:p></span></p>
<p style="margin:0in;word-break:break-word"><span style="font-family:"Arial",sans-serif">Thank you very much for your answer<o:p></o:p></span></p>
<p style="margin:0in;word-break:break-word"><span style="font-family:"Arial",sans-serif">Lizy<o:p></o:p></span></p>
<p class="MsoNormal">_______________________________________________<br>
flash-users mailing list<br>
<a href="mailto:flash-users@flash.rochester.edu" target="_blank">flash-users@flash.rochester.edu</a><br>
<br>
For list info, including unsubscribe:<br>
<a href="https://flash.rochester.edu/mailman/listinfo/flash-users" target="_blank">https://flash.rochester.edu/mailman/listinfo/flash-users</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>