<div dir="ltr">You could also check out the new FLASH4.7. Setup and other included python scripts have been updated to be compatible with newer versions of python3.<br><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr" style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">*************************************************************************</div><div dir="ltr" style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Adam Reyes<div><img src="https://flash.rochester.edu/site/common/images/email_signature/FLASH.jpg"><br></div><div>Code Group Leader, Flash Center for Computational Science <span> </span><br></div><div>Research Scientist, Dept. of Physics and Astronomy</div><div>University of Rochester</div><div>River Campus: Bausch and Lomb Hall, 369 <span> </span><br></div><div>500 Wilson Blvd. PO Box 270171, Rochester, NY 14627</div><div dir="ltr">Email<span> </span><a href="mailto:adam.reyes@rochester.edu" target="_blank">adam.reyes@rochester.edu</a></div><div>Web<span> </span><a href="https://flash.rochester.edu/" target="_blank">https://flash.rochester.edu</a><br></div><div> (he / him / his)</div><div><img src="https://flash.rochester.edu/site/common/images/email_signature/FLASH-pride-sml.png"><br></div>*************************************************************************</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 16, 2023 at 11:42 AM Matthew Trantham <<a href="mailto:mtrantha@umich.edu">mtrantha@umich.edu</a>> wrote:<br></div><blockquote class="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><span style="font-family:"Lucida Grande",Arial,sans-serif;font-size:16px">Python 3.9 and 3.10, are not compatible with FLASHX.X.X/bin/setup.py</span><span style="font-family:"Lucida Grande",Arial,sans-serif;font-size:16px"><br></span></div><div><span style="font-family:"Lucida Grande",Arial,sans-serif;font-size:16px"><br></span></div><div><span style="font-family:"Lucida Grande",Arial,sans-serif;font-size:16px">You could use an older version of Python or replace the offending functions as I did below:</span></div><div><span style="font-family:"Lucida Grande",Arial,sans-serif;font-size:16px"><br></span></div><div><div><span style="font-family:"Lucida Grande",Arial,sans-serif;font-size:16px">The </span><code style="background-color:rgb(236,240,243);padding:0px 1px;font-size:15.44px;font-family:monospace,monospace;border-radius:3px">sys.getcheckinterval()</code><span style="font-family:"Lucida Grande",Arial,sans-serif;font-size:16px"> and </span><code style="background-color:rgb(236,240,243);padding:0px 1px;font-size:15.44px;font-family:monospace,monospace;border-radius:3px">sys.setcheckinterval()</code><span style="font-family:"Lucida Grande",Arial,sans-serif;font-size:16px"> functions have been removed from Python. They were deprecated since Python 3.2 (and don't work after 3.7 or 3.8 at all). Use </span><a href="https://docs.python.org/3/library/sys.html#sys.getswitchinterval" title="sys.getswitchinterval" style="color:rgb(0,114,170);text-decoration:none;font-family:"Lucida Grande",Arial,sans-serif;font-size:16px" target="_blank"><code style="background-color:transparent;padding:0px 1px;font-size:15.44px;font-family:monospace,monospace;border-radius:3px">sys.getswitchinterval()</code></a><span style="font-family:"Lucida Grande",Arial,sans-serif;font-size:16px"> and </span><a href="https://docs.python.org/3/library/sys.html#sys.setswitchinterval" title="sys.setswitchinterval" style="color:rgb(0,114,170);text-decoration:none;font-family:"Lucida Grande",Arial,sans-serif;font-size:16px" target="_blank"><code style="background-color:transparent;padding:0px 1px;font-size:15.44px;font-family:monospace,monospace;border-radius:3px">sys.<span>setswitchinterval</span>()</code></a><span style="font-family:"Lucida Grande",Arial,sans-serif;font-size:16px"> instead. </span></div></div><div><br></div><div><span style="font-family:"Lucida Grande",Arial,sans-serif;font-size:16px">If you run into problems with the setup command in FLASH find and replace </span><span style="background-color:rgb(236,240,243);font-family:monospace,monospace;font-size:15.44px">sys.setcheckinterval(10000) with </span><a href="https://docs.python.org/3/library/sys.html#sys.setswitchinterval" title="sys.setswitchinterval" style="color:rgb(0,114,170);text-decoration:none;font-family:"Lucida Grande",Arial,sans-serif;font-size:16px" target="_blank"><code style="background-color:transparent;padding:0px 1px;font-size:15.44px;font-family:monospace,monospace;border-radius:3px">sys.<span>setswitchinterval</span>(</code></a>10000)</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 16, 2023 at 11:26 AM kiyarash Taghiniyarami <<a href="mailto:kiyarash.niyarami@gmail.com" target="_blank">kiyarash.niyarami@gmail.com</a>> wrote:<br></div><blockquote class="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">Dear all FLASH users,<br><br>I tried to setup simple sedov problem with the command of<br>./setup Sedov -auto<br>but I got the following error:<br><br><b>A setup internal error has occured, if possible please email the following<br>debugging info to <a href="mailto:flash-bugs@flash.uchicago.edu" target="_blank">flash-bugs@flash.uchicago.edu</a><br>Arguments: ['/home/ubuntu/FLASH/FLASH4.6.2/bin/setup.py', 'Sedov', '-auto']<br>Python Version: 3.10.6<br>Platform Details: linux<br>Traceback (most recent call last):<br> File "/home/ubuntu/FLASH/FLASH4.6.2/bin/setup.py", line 315, in <module><br> raise e<br> File "/home/ubuntu/FLASH/FLASH4.6.2/bin/setup.py", line 300, in <module><br> main()<br> File "/home/ubuntu/FLASH/FLASH4.6.2/bin/setup.py", line 16, in main<br> sys.setcheckinterval(10000) # this is not threaded application<br>AttributeError: module 'sys' has no attribute 'setcheckinterval'. Did you mean: 'setswitchinterval'?<br></b><br>could anyone help what causes the error?<br><br>best,<br>Kiya</div>
_______________________________________________<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" rel="noreferrer" target="_blank">https://flash.rochester.edu/mailman/listinfo/flash-users</a><br>
</blockquote></div>
_______________________________________________<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" rel="noreferrer" target="_blank">https://flash.rochester.edu/mailman/listinfo/flash-users</a><br>
</blockquote></div>