[FLASH-USERS] Setup error when requiring nuclear reaction network
Mathieu Renzo
mrenzo at flatironinstitute.org
Fri Apr 24 15:36:56 EDT 2020
Hi,
I'm trying to setup a new problem in FLASH4.6.2 to run a pulsational
pair instability (following the steps of
https://ui.adsabs.harvard.edu/abs/2012ApJ...748...42C/abstract). My long
term aim is to initialize the problem loading a MESA model already
computed as initial conditions.
I am encountering the following error when running:
./setup PPISN_mathieu -auto -objdir PPISN
(where PPISN_mathieu is the subfolder of
source/Simulation/SimulationMain where I am developing my setup)
A setup internal error has occured, if possible please email the following
debugging info toflash-bugs at flash.uchicago.edu
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
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:
REQUIRES physics/sourceTerms/Burn/BurnMain/nuclearBurn/Aprox19
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.
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.
If you have any advice on what is happening and how to fix this issue,
they would be very much appreciated.
What follows are a few more information on the setup on my workstation
if that can be helpful:
uname -a
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
gfortran --version
GNU Fortran (GCC) 7.4.0
gcc --version
gcc (GCC) 7.4.0
Thanks in advance,
Mathieu
--
Mathieu Renzo <https://users.flatironinstitute.org/~mrenzo/>
Flatiron Research Fellow
Center for Computational Astrophysics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20200424/5b5a59c9/attachment.htm>
More information about the flash-users
mailing list