[FLASH-USERS] setup internal error

Ernesto Zurbriggen ezurbriggen at unc.edu.ar
Tue Aug 30 15:48:39 EDT 2022


Hi Harold!

The problem may be the python 3.10.4 release you are using.

In my case if I set up using python 2.7 everything goes well.
But if I use python 3.8.10 some warnings appear during the setup (see
below), although it reaches until the end properly.

Best!
Ernesto.

=====
./setup Sedov -auto -2d
/home/ernesto/flash4.6.2/bin/setup.py:16: DeprecationWarning:
sys.getcheckinterval() and sys.setcheckinterval() are deprecated.  Use
sys.setswitchinterval() instead.
  sys.setcheckinterval(10000) # this is not threaded application
Processing Shortcut file: /home/ernesto/flash4.6.2/bin/setup_shortcuts.txt
checking for needed files and directories
    checking sites Aliases file
    using site directory for site pc
generating default Units file
/home/ernesto/flash4.6.2/bin/unitCfg.py:108: FutureWarning: Possible nested
set at position 81
  myClass.regexps[keyword] = re.compile(regexp)
/home/ernesto/flash4.6.2/bin/unitCfg.py:114: FutureWarning: Possible nested
set at position 42
  myClass.regexps['pstring']=re.compile(r'PARAMETER\s+(\w+)\s+'\
    Driver/DriverMain/Unsplit
    Driver/localAPI
    Grid/GridBoundaryConditions
    Grid/GridMain/paramesh/interpolation/Paramesh4/prolong
    Grid/GridMain/paramesh/interpolation/prolong
    Grid/GridMain/paramesh/paramesh4/Paramesh4dev/PM4_package/headers
    Grid/GridMain/paramesh/paramesh4/Paramesh4dev/PM4_package/mpi_source
    Grid/GridMain/paramesh/paramesh4/Paramesh4dev/PM4_package/source

Grid/GridMain/paramesh/paramesh4/Paramesh4dev/PM4_package/utilities/multigrid
    Grid/GridMain/paramesh/paramesh4/Paramesh4dev/flash_avoid_orrery
    Grid/localAPI
    IO/IOMain/hdf5/serial/PM
    IO/localAPI
    PhysicalConstants/PhysicalConstantsMain
    RuntimeParameters/RuntimeParametersMain
    Simulation/SimulationMain/Sedov
    flashUtilities/contiguousConversion
    flashUtilities/general
    flashUtilities/interpolation/oneDim
    flashUtilities/nameValueLL
    flashUtilities/sorting/quicksort
    flashUtilities/system/memoryUsage/legacy
    monitors/Logfile/LogfileMain
    monitors/Timers/TimersMain/MPINative
    physics/Eos/EosMain/Gamma
    physics/Eos/localAPI
    physics/Hydro/HydroMain/unsplit/Hydro_Unsplit
    physics/Hydro/localAPI
scanning /home/ernesto/flash4.6.2/object/Units file for included units
    Driver/DriverMain/Unsplit
    Driver/localAPI
    Grid/GridBoundaryConditions
    Grid/GridMain/paramesh/interpolation/Paramesh4/prolong
    Grid/GridMain/paramesh/interpolation/prolong
    Grid/GridMain/paramesh/paramesh4/Paramesh4dev/PM4_package/headers
    Grid/GridMain/paramesh/paramesh4/Paramesh4dev/PM4_package/mpi_source
    Grid/GridMain/paramesh/paramesh4/Paramesh4dev/PM4_package/source

Grid/GridMain/paramesh/paramesh4/Paramesh4dev/PM4_package/utilities/multigrid
    Grid/GridMain/paramesh/paramesh4/Paramesh4dev/flash_avoid_orrery
    Grid/localAPI
    IO/IOMain/hdf5/serial/PM
    IO/localAPI
    PhysicalConstants/PhysicalConstantsMain
    RuntimeParameters/RuntimeParametersMain
    Simulation/SimulationMain/Sedov
    flashUtilities/contiguousConversion
    flashUtilities/general
    flashUtilities/interpolation/oneDim
    flashUtilities/nameValueLL
    flashUtilities/sorting/quicksort
    flashUtilities/system/memoryUsage/legacy
    monitors/Logfile/LogfileMain
    monitors/Timers/TimersMain/MPINative
    physics/Eos/EosMain/Gamma
    physics/Eos/localAPI
    physics/Hydro/HydroMain/unsplit/Hydro_Unsplit
    physics/Hydro/localAPI
Computing default values for options not specified on command line
Using Makefile.h: /home/ernesto/flash4.6.2/sites/pc/Makefile.h
generating Makefile
Copying data files: 3 copied
SUCCESS



On Tue, 30 Aug 2022 at 16:25, Harold J Johnson <harold.johnson at utexas.edu>
wrote:

> Hi all,
>
> I'm in the process of setting up flash for the first time on a linux
> virtualbox. I'm pretty new to this in general and have followed the flash
> manual but I'm running into a problem when setting up the Sedov explosion
> problem and I've really no idea how to fix it. Any assistance or pointing
> me in the right direction would be helpful.
>
> fyi the error reads:
> harry at harry-VirtualBox:~/Documents/FLASH4.6.2$ ./setup Sedov -auto
>
> A setup internal error has occured, if possible please email the following
> debugging info to flash-bugs at flash.uchicago.edu
> Arguments: ['/home/harry/Documents/FLASH4.6.2/bin/setup.py', 'Sedov',
> '-auto']
> Python Version: 3.10.4
> Platform Details: linux
> Traceback (most recent call last):
>   File "/home/harry/Documents/FLASH4.6.2/bin/setup.py", line 315, in
> <module>
>     raise e
>   File "/home/harry/Documents/FLASH4.6.2/bin/setup.py", line 300, in
> <module>
>     main()
>   File "/home/harry/Documents/FLASH4.6.2/bin/setup.py", line 16, in main
>     sys.setcheckinterval(10000) # this is not threaded application
> AttributeError: module 'sys' has no attribute 'setcheckinterval'. Did you
> mean: 'setswitchinterval'?
>
> Harold JJ
> _______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
>
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20220830/7ac412e0/attachment-0001.htm>


More information about the flash-users mailing list