[Flash-X-users] CCSN_WL setup problem

Richardson, Colter cricha80 at vols.utk.edu
Wed Jun 22 10:13:24 CDT 2022


To whom it may concern,
I am attempting to set up the CCSN_WL simulation with the -debug option
enabled durring setup, and I get the following error message.

A setup internal error has occured, if possible please email the following
debugging info to flash-x-users at lists.cels.anl.gov
Arguments: ['/home/colter/Flash-X/bin/setup.py', 'CCSN_WL', '-auto', '-1d',
'+spherical', '-objdir=ccsn1d_wl', '-nxb=16', 'threadBlockList=False',
'+pm4dev', '+hdf5', 'threadWithinBlock=False', '+newMpole', '+uhd',
'-debug', '+mode1', '-parfile=ccsn1d.par']
Python Version: 3.8.10
Platform Details: linux
Traceback (most recent call last):
  File "/home/colter/Flash-X/bin/setup.py", line 317, in <module>
    raise e
  File "/home/colter/Flash-X/bin/setup.py", line 302, in <module>
    main()
  File "/home/colter/Flash-X/bin/setup.py", line 222, in main
    generateMakefile(configInfo, machDir)
  File "/home/colter/Flash-X/bin/genFiles.py", line 539, in generateMakefile
    flagRedirect = setRedirectFlags('Makefile.h', GVars.buildFlag,
  File "/home/colter/Flash-X/bin/genFiles.py", line 658, in setRedirectFlags
    libFlags = libConfigInfo.getLibFlags(lib, buildFlag=buildFlag,
  File "/home/colter/Flash-X/bin/libUtils.py", line 145, in getLibFlags
    self.makeBinary(libDir,base,makefilename)
  File "/home/colter/Flash-X/bin/libUtils.py", line 245, in makeBinary
    status = subprocess.check_call('./build.sh', shell=False)
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command './build.sh' returned non-zero exit
status 2.


Oddly, when I do not include the -debug flag, the simulation works perfect.

I have also included the git diff below so you can see the changes.

diff --git a/bin/setup.py b/bin/setup.py
index 4cc5d224..16a5e97a 100755
--- a/bin/setup.py
+++ b/bin/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3

 import os, sys, string, re, time, shutil, types, glob, socket, math

diff --git a/lib/thornado/source b/lib/thornado/source
index 63bbac76..fa3baef7 160000
--- a/lib/thornado/source
+++ b/lib/thornado/source
@@ -1 +1 @@
-Subproject commit 63bbac76b29c56b55402950d703680a59c06f2b9
+Subproject commit fa3baef76c73cdb72e5d502fdd4834e2bf5ba709
diff --git a/source/Grid/GridMain/AMR/Paramesh4/PM4_package
b/source/Grid/GridMain/AMR/Paramesh4/PM4_package
index b277e6d4..b13a873e 160000
--- a/source/Grid/GridMain/AMR/Paramesh4/PM4_package
+++ b/source/Grid/GridMain/AMR/Paramesh4/PM4_package
@@ -1 +1 @@
-Subproject commit b277e6d48ec98c23669b07d2e72624a1122d0252
+Subproject commit b13a873e10a4e9757eb0e64075f2ffe6fdb2acfe
diff --git a/source/Simulation/SimulationMain/CCSN_WL/Config
b/source/Simulation/SimulationMain/CCSN_WL/Config
index 8beb1a2a..648b2719 100644
--- a/source/Simulation/SimulationMain/CCSN_WL/Config
+++ b/source/Simulation/SimulationMain/CCSN_WL/Config
@@ -4,7 +4,7 @@ REQUIRES Driver
 REQUIRES Grid
 REQUIRES physics/Hydro/HydroMain
 REQUIRES physics/Eos/EosMain/WeakLib
-REQUESTS physics/sourceTerms/Burn/BurnMain/nuclearBurn
+#REQUESTS physics/sourceTerms/Burn/BurnMain/nuclearBurn
 REQUESTS physics/Gravity/GravityMain/Poisson/Multipole

 # params for 1D initialization

-- 
Thank you,
Colter Richardson

University of Tennessee, Knoxville
Physics Graduate Student
cricha80 at vols.utk.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cels.anl.gov/pipermail/flash-x-users/attachments/20220622/3fd9810d/attachment.html>


More information about the Flash-X-users mailing list