<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Marissa,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you for your email. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I don't really understand <span style="caret-color:rgb(32, 31, 30);color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:15px;background-color:rgb(255, 255, 255);display:inline !important"><span class="Apple-converted-space"> </span>"</span><i style="caret-color:rgb(32, 31, 30);color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:15px">executable
file is not an executable</i><span style="caret-color:rgb(32, 31, 30);color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:15px;background-color:rgb(255, 255, 255);display:inline !important">"<span class="Apple-converted-space">
since when I ran ./flash4, it managed to do a part of the initialization and wrote the first check file (lasslab_hdf5_chk_0000). </span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="caret-color:rgb(32, 31, 30);color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:15px;background-color:rgb(255, 255, 255);display:inline !important"><span class="Apple-converted-space">The
setup and the compilation were a success. It is only when I ran that It crashes. </span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="caret-color:rgb(32, 31, 30);color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:15px;background-color:rgb(255, 255, 255);display:inline !important"><span class="Apple-converted-space">Doing
this with the Sedov example, I can compile and run successfully even with the shortcut +hdf5TypeIO . </span></span></div>
<div><font color="#201f1e"><span style="caret-color: rgb(32, 31, 30); font-size: 15px;">By the way, thank you for the hint for the bash file it is pretty useful. </span></font></div>
<div><font color="#201f1e"><span style="caret-color: rgb(32, 31, 30); font-size: 15px;">Cheers,</span></font></div>
<div><font color="#201f1e"><span style="caret-color: rgb(32, 31, 30); font-size: 15px;">Simon.</span></font></div>
<div id="appendonsend"></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> Marissa B. P. Adams <madams@pas.rochester.edu><br>
<b>Sent:</b> Wednesday, August 11, 2021 10:24<br>
<b>To:</b> BolañOs, Simon <sbolanos@UCSD.EDU><br>
<b>Cc:</b> flash-users@flash.uchicago.edu <flash-users@flash.uchicago.edu><br>
<b>Subject:</b> Re: [EXT] [FLASH-USERS] Segmentation Fault (LaserSlab example)</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">Hi Simon!
<div><br>
</div>
<div>As the error notes: "<i>executable file is not an executable</i>" so something is off with your
<i>flash4</i>, perhaps<i>.</i> Can you<i> </i><font face="monospace">ls -ltr </font>
in your <i>object/</i> directory where you've performed the command <font face="monospace">
./flash4</font><font face="arial, sans-serif">? Do you see the permissions as being executable?</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">When you set-up did it set-up "</font>SUCCESS"fully<font face="arial, sans-serif">? I am a fan of making my own shell scripts for set-ups and then making my own object directory (e.g.
</font><font face="monospace">emacs LaserSlab-TestProblem.sh -nw</font><i style="font-family:arial,sans-serif"> </i><font face="arial, sans-serif">contains the c&p below; then I make it an executable
</font><font face="monospace">chmod a+x LaserSlab-TestProblem.sh;</font><font face="arial, sans-serif"> then I just do
</font><font face="monospace">./LaserSlab-TestProblem.sh</font><font face="arial, sans-serif">; this way everything is saved). Here is my example set-up command for the LaserSlab problem:</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div>
<p style="margin:0px; font-stretch:normal; line-height:normal; font-family:"Andale Mono"; color:rgb(47,255,18); background-color:rgba(0,0,0,0.9)">
<span style="font-variant-ligatures:no-common-ligatures">./setup -auto LaserSlab -2d +cylindrical -nxb=16 -nyb=16 +hdf5typeio
</span><span style="font-variant-ligatures:no-common-ligatures; color:rgb(157,32,111)">\</span></p>
<p style="margin:0px; font-stretch:normal; line-height:normal; font-family:"Andale Mono"; color:rgb(47,255,18); background-color:rgba(0,0,0,0.9)">
<span style="font-variant-ligatures:no-common-ligatures"><span class="x_gmail-Apple-converted-space">
</span></span><span style="font-variant-ligatures:no-common-ligatures; color:rgb(193,101,28)">species</span><span style="font-variant-ligatures:no-common-ligatures">=cham,targ +mtmmmt +laser +uhd3t +mgd
</span><span style="font-variant-ligatures:no-common-ligatures; color:rgb(193,101,28)">mgd_meshgroups</span><span style="font-variant-ligatures:no-common-ligatures">=6
</span><span style="font-variant-ligatures:no-common-ligatures; color:rgb(157,32,111)">\</span></p>
<p style="margin:0px; font-stretch:normal; line-height:normal; font-family:"Andale Mono"; color:rgb(47,255,18); background-color:rgba(0,0,0,0.9)">
<span style="font-variant-ligatures:no-common-ligatures"><span class="x_gmail-Apple-converted-space">
</span>-parfile=example.par -site=mbpadams -objdir=LaserSlab</span></p>
</div>
<br class="x_gmail-Apple-interchange-newline">
<div>Try simplifying your HDF5 shortcuts in the set-up command and make sure that there is no space in "<i>+uhd3t</i>". Is there a reason you're forcing the use of serial HDF5? You can also try setting this up with no HDF5 related flags; it should (1) set-up
(2) make and (3) run successfully. If the same thing happens, can you <font face="monospace">
make</font> the <i>Sedov/</i> problem?</div>
<div><br>
</div>
<div>If that doesn't work then maybe there is an issue with the <i>Makefile.h</i> you're using (flags probably) or something off with the installation of the libraries you're using. </div>
<div><br>
</div>
<div>These are just my initial thoughts and I hope they are helpful in your debugging.</div>
<div><br>
</div>
<div>Have a lovely day,</div>
<div>Marissa</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Wed, Aug 11, 2021 at 12:55 PM BolañOs, Simon <<a href="mailto:sbolanos@ucsd.edu">sbolanos@ucsd.edu</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-style:solid; border-left-color:rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hello everyone,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
When executing the Laser Slab example of Section 34.7.5, I got a Segmentation Fault, displayed below. Is someone got such a similar error during execution? How can I fix such an error? </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
By the way here are the module that I turn on: <i><b>./setup -auto LaserSlab -2d -nxb=16 -nyb=16 +hdf5 +io +serialIO species=cham,targ +mtmmmt +laser +u hd3t +mgd mgd_meshgroups=6 -parfile=example.par </b></i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<i><b><br>
</b></i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<b><i>Error message :</i></b></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<b><i><br>
</i></b></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<b><i>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures">Finished with Grid_initDomain, no restart</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>Ready to call Hydro_init</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>[Hydro_init]: Using non-Cartesian Geometry!</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>Hydro initialized</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>Gravity initialized</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>Initial dt verified</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>*** Wrote checkpoint file to lasslab_hdf5_chk_0000 ****</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>*** Wrote plotfile to lasslab_hdf5_plt_cnt_0000 ****</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>Initial plotfile written</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>Driver init all done</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85); min-height:20px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures">Program received signal SIGSEGV: Segmentation fault - invalid memory reference.</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85); min-height:20px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures">Backtrace for this error:</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85); min-height:20px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures">Could not print backtrace: executable file is not an executable</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures">#0<span> </span>0x104270b17</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures">#1<span> </span>0x10426fbab</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures">#2<span> </span>0x193edec43</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:18px; line-height:normal; font-family:"Courier New"; color:rgb(242,242,242); background-color:rgba(0,0,0,0.85)">
<span style="font-variant-ligatures:no-common-ligatures">zsh: segmentation fault<span>
</span>./flash4</span></p>
<br>
</i></b></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thank you in advance for your help, </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Simon. </div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="x_gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><font face="monospace" size="1" color="#000000">%---------------------------------------------%</font>
<div><font face="monospace" size="1" color="#000000">Marissa B. P. Adams</font></div>
<div><font face="monospace" size="1" color="#000000">(she/her/hers)</font></div>
<div><font face="monospace" size="1" color="#000000">Phd Candidate, University of Rochester</font></div>
<div><b style="color:rgb(0,0,0); font-family:monospace; font-size:x-small">E-mail:</b><span style="color:rgb(0,0,0); font-family:monospace; font-size:x-small"> <a href="mailto:madams@pas.rochester.edu" target="_blank">madams@pas.rochester.edu</a></span><br>
</div>
<div><font face="monospace" size="1" color="#000000"><b>Website:</b> <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.pas.rochester.edu_-7Emadams-23&d=DwMFaQ&c=-35OiAkTchMrZOngvJPOeA&r=XvZCk3VA_mUlT45nzD8dlQbO5Jfo4BiIvoNfBcz8T7g&m=YRY417B_SO8yJU-xUk-trlJCPX6Z2hXdsxqhVn9SofE&s=4RYeSt7yvt7UMimRl0T_a_--pRTbToQXnG6F8ZAL_LE&e=" target="_blank">https://www.pas.rochester.edu/~madams</a></font></div>
<div><font color="#000000" face="monospace" size="1"><b>^^ Just updated! Please send me feedback :)</b></font></div>
<div><font color="#000000" face="monospace" size="1"><b>Current Location:</b></font></div>
<div><font color="#000000" face="monospace" size="1">Occupied Seneca Land</font></div>
<div><font color="#000000" face="monospace" size="1">471 Bausch and Lomb Hall</font></div>
<div><font color="#000000" face="monospace" size="1">University of Rochester</font></div>
<div><font color="#000000" face="monospace" size="1">Rochester, NY 14627</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>