<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hi,<br>
<div class="moz-forward-container"> <br>
I'm trying to setup a new problem in FLASH4.6.2 to run a
pulsational pair instability (following the steps of <a
class="moz-txt-link-freetext"
href="https://ui.adsabs.harvard.edu/abs/2012ApJ...748...42C/abstract"
moz-do-not-send="true">https://ui.adsabs.harvard.edu/abs/2012ApJ...748...42C/abstract</a>).
My long term aim is to initialize the problem loading a MESA model
already computed as initial conditions. <br>
<br>
I am encountering the following error when running:<br>
<pre> ./setup PPISN_mathieu -auto -objdir PPISN </pre>
(where PPISN_mathieu is the subfolder of
source/Simulation/SimulationMain where I am developing my setup)<br>
<pre>A setup internal error has occured, if possible please email the following
debugging info to <a class="moz-txt-link-abbreviated" href="mailto:flash-bugs@flash.uchicago.edu" moz-do-not-send="true">flash-bugs@flash.uchicago.edu</a>
Arguments: ['/mnt/home/mrenzo/codes/FLASH/FLASH4.6.2/bin/setup.py', 'PPISN_mathieu', '-auto', '-objdir', 'PPISN']
Python Version: 3.7.4
Platform Details: linux
Traceback (most recent call last):
File "/mnt/home/mrenzo/codes/FLASH/FLASH4.6.2/bin/setup.py", line 315, in <module>
raise e
File "/mnt/home/mrenzo/codes/FLASH/FLASH4.6.2/bin/setup.py", line 300, in <module>
main()
File "/mnt/home/mrenzo/codes/FLASH/FLASH4.6.2/bin/setup.py", line 186, in main
generateMakefile(configInfo, machDir)
File "/mnt/home/mrenzo/codes/FLASH/FLASH4.6.2/bin/genFiles.py", line 540, in generateMakefile
configInfo['libConfigInfo'])
File "/mnt/home/mrenzo/codes/FLASH/FLASH4.6.2/bin/genFiles.py", line 658, in setRedirectFlags
args=args, makefilename=makefilename)
File "/mnt/home/mrenzo/codes/FLASH/FLASH4.6.2/bin/libUtils.py", line 125, in getLibFlags
libFlags = __import__("libinfo").libinfo(absLibDir=libDir,
File "/mnt/home/mrenzo/codes/FLASH/FLASH4.6.2/lib/ma28/libinfo.py", line 20
os.chmod(buildScript, 0744)
^
SyntaxError: invalid token
</pre>
This error disappears and I can setup and compile fine when I
comment out from my Config file this line requiring the nuclear
reaction network:
<pre> REQUIRES physics/sourceTerms/Burn/BurnMain/nuclearBurn/Aprox19
</pre>
The same happens when trying to require Approx13 instead of
Approx19, and I also failed at compiling other pre-existing FLASH
problems using nuclear networks.<br>
<br>
In the future I might want to update the nuclear network to use
Approx21_plus_co56 from MESA for consistency between the two
codes, but anyways having a nuclear reaction network is key to the
problem I'm trying to setup.<br>
<br>
If you have any advice on what is happening and how to fix this
issue, they would be very much appreciated.<br>
<br>
What follows are a few more information on the setup on my
workstation if that can be helpful:<br>
<br>
<pre>uname -a</pre>
<pre>Linux ccalin010 3.10.0-1062.1.2.el7.x86_64 #1 SMP Mon Sep 30 14:19:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux</pre>
<pre>gfortran --version</pre>
<pre>GNU Fortran (GCC) 7.4.0
</pre>
<pre>gcc --version</pre>
<pre>gcc (GCC) 7.4.0</pre>
<br>
Thanks in advance,<br>
Mathieu<br>
<br>
<br>
<div class="moz-signature">-- <br>
<a href="https://users.flatironinstitute.org/~mrenzo/"
moz-do-not-send="true">Mathieu Renzo</a><br>
Flatiron Research Fellow<br>
Center for Computational Astrophysics<br>
</div>
</div>
</body>
</html>