Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sg

Pages: 1 [2]
16
Regional Hazard Simulation (R2D, rWhale) / Empty results
« on: March 12, 2021, 08:05:59 AM »
When trying to run example 1 on Design safe, the job runs.  When retrieving the results the output window shows

Code: [Select]
Contacting designsafe to Get Job Details of 7d8908ea-6cdc-45cb-8dd4-7c52c43ef455-007

Contacting designsafe to download remote file inputRWHALE.json

Successfully downloaded file

Contacting designsafe to download remote file input_data.zip

Successfully downloaded file

Contacting designsafe to download remote file hdf.zip

Successfully downloaded file

However a popup appear which says "The results folder is empty" :(

17
Regional Hazard Simulation (R2D, rWhale) / Output log for remote runs
« on: March 12, 2021, 07:56:03 AM »
When one submits for a run on DesignSafe, it would be nice if the output window provided an instruction to open
the GET from DesignSafe window.  Additionally, it is not clear if the GET from DesignSafe window refreshes itself
automatically or not, a short instruction in the output window to tell the user to click on the job to refresh would be good.

18
Regional Hazard Simulation (R2D, rWhale) / Re: New DMG run errors
« on: March 12, 2021, 04:17:33 AM »
Same error with all the other examples.

It would also be good to leave the Output log window up permanently and not just for 2 seconds when an error occurs.

19
Regional Hazard Simulation (R2D, rWhale) / New DMG run errors
« on: March 12, 2021, 04:16:41 AM »
I downloaded the latest DMG, placed it in my ~/Applications folder and tried to run it.  It seems to through some type of python error.  Here is the program output:
Code: [Select]
Loading example E2 - MDOF Building Response

This example uses ground motions from the 2018 earthquake in Anchorage, AK, to characterize the response of buildings with an idealized MDOF building model through story-level Engineering Demand Parameters (EDP). Exploiting the refinement in EDPs, a HAZUS-based story-level assessment is employed to evaluate the performance of 10 buildings. 


Loading Example file. Wait till Done Loading appears before progressing.

Done loading. Click on the 'RUN' button to run an analysis.

Setting up temporary directory.

Gathering files to local workdir.

Setup done. Now starting application.

Starting the anlysis. This may take awhile!

An error occurred in the Python script, the exit code is 1


Analysis complete with errors

20
Regional Hazard Simulation (R2D, rWhale) / Re: Install problem
« on: February 05, 2021, 06:47:38 AM »
As Stevan noted it is a 3.9 issue.  Notwithstanding for the record: the machine runs Catalina 10.15.7. MacBookPro (2019).  The Python is from brew.

21
Regional Hazard Simulation (R2D, rWhale) / Incorrect Python Command
« on: February 04, 2021, 05:58:37 PM »
Stevan here is the log from the R2D error once we forced the Preferences to point to my python 3.8

09:37:34.495 Debug: RESET_PREFERENCES ()
09:52:08.362 Debug: WorkflowAppWidget::statusMessage "Gathering Files to local workdir" ()
09:52:08.362 Debug: STATUS MESSAGE "Gathering Files to local workdir" ()
09:52:08.392 Debug: WorkflowAppWidget::errorMessage "" ()
09:52:08.392 Debug: ERROR MESSAGE "" ()
09:52:08.409 Debug: WorkflowAppR2D is changinging subDir to input_data ()
09:52:08.427 Debug: :HI DakotaINputSampling ()
09:52:08.427 Debug: WorkflowAppWidget::statusMessage "SetUp Done .. Now starting application" ()
09:52:08.427 Debug: STATUS MESSAGE "SetUp Done .. Now starting application" ()
09:52:08.428 Debug: RunWidget::setupForRunApplicationDone ()
09:52:08.428 Debug: RUNTYPE "runningLocal" ()
09:52:08.429 Debug: SCRIPT:  "/Users/sg/Junk/R2D.app/Contents/MacOS/applications/Workflow/R2DTool_workflow.py" ()
09:52:08.429 Debug: REGISTRY:  "/Users/sg/Junk/R2D.app/Contents/MacOS/applications/Workflow/WorkflowApplications.json" ()
09:52:08.430 Debug: Running the UQ engine ...  ()
09:52:08.430 Debug: WorkflowAppWidget::statusMessage "Running the UQ engine ... " ()
09:52:08.430 Debug: STATUS MESSAGE "Running the UQ engine ... " ()
09:52:08.434 Debug: PATH:  "/Users/sg/Junk/R2D.app/Contents/MacOS/applications/dakota/bin;/Users/sg/Junk/R2D.app/Contents/MacOS/applications/opensees/bin;/usr/bin:/bin:/usr/sbin:/sbin" ()
09:52:08.434 Debug: PYTHON_PATH "/Users/sg/Junk/R2D.app/Contents/MacOS/applications/dakota/share/Dakota/Python;" ()
09:52:08.434 Debug: PYTHON COMMAND "source $HOME/.bash_profile; export PATH=$PATH:/Users/sg/Junk/R2D.app/Contents/MacOS/applications/opensees/bin:/Users/sg/Junk/R2D.app/Contents/MacOS/applications/dakota/bin; \"/usr/local/Cellar/python@3.8/3.8.6_1/bin/python3\" \"/Users/sg/Junk/R2D.app/Contents/MacOS/applications/Workflow/R2DTool_workflow.py\"  \"/Users/sg/Documents/R2D/LocalWorkDir/tmp.SimCenter/inputRWHALE.json\" --registry \"/Users/sg/Junk/R2D.app/Contents/MacOS/applications/Workflow/WorkflowApplications.json\" --referenceDir \"/Users/sg/Documents/R2D/LocalWorkDir/tmp.SimCenter/input_data\" -w \"/Users/sg/Documents/R2D/LocalWorkDir/tmp.SimCenter/Results\"" ()
09:52:29.577 Debug: "/Users/sg/Documents/R2D/LocalWorkDir/tmp.SimCenter/Results" ()
09:52:29.578 Debug: PelicunPostProcessor:  "/Users/sg/Documents/R2D/LocalWorkDir/tmp.SimCenter/Results" ()
09:52:29.578 Debug: FILES IN FOLDER:  ("inputRWHALE.json") ()
09:52:36.785 Debug: WorkflowAppWidget::statusMessage "Analysis complete" ()
09:52:36.786 Debug: STATUS MESSAGE "Analysis complete" ()
09:55:32.394 Debug: WorkflowAppWidget::statusMessage "Gathering Files to local workdir" ()
09:55:32.395 Debug: STATUS MESSAGE "Gathering Files to local workdir" ()
09:55:32.417 Debug: WorkflowAppWidget::errorMessage "" ()
09:55:32.418 Debug: ERROR MESSAGE "" ()
09:55:32.461 Debug: WorkflowAppR2D is changinging subDir to input_data ()
09:55:32.476 Debug: :HI DakotaINputSampling ()
09:55:32.476 Debug: WorkflowAppWidget::statusMessage "SetUp Done .. Now starting application" ()
09:55:32.476 Debug: STATUS MESSAGE "SetUp Done .. Now starting application" ()
09:55:32.477 Debug: RunWidget::setupForRunApplicationDone ()
09:55:32.477 Debug: RUNTYPE "runningLocal" ()
09:55:32.477 Debug: SCRIPT:  "/Users/sg/Junk/R2D.app/Contents/MacOS/applications/Workflow/R2DTool_workflow.py" ()
09:55:32.477 Debug: REGISTRY:  "/Users/sg/Junk/R2D.app/Contents/MacOS/applications/Workflow/WorkflowApplications.json" ()
09:55:32.478 Debug: Running the UQ engine ...  ()
09:55:32.478 Debug: WorkflowAppWidget::statusMessage "Running the UQ engine ... " ()
09:55:32.478 Debug: STATUS MESSAGE "Running the UQ engine ... " ()
09:55:32.482 Debug: PATH:  "/Users/sg/Junk/R2D.app/Contents/MacOS/applications/dakota/bin;/Users/sg/Junk/R2D.app/Contents/MacOS/applications/opensees/bin;/usr/bin:/bin:/usr/sbin:/sbin" ()
09:55:32.482 Debug: PYTHON_PATH "/Users/sg/Junk/R2D.app/Contents/MacOS/applications/dakota/share/Dakota/Python;" ()
09:55:32.483 Debug: PYTHON COMMAND "source $HOME/.bash_profile; export PATH=$PATH:/Users/sg/Junk/R2D.app/Contents/MacOS/applications/opensees/bin:/Users/sg/Junk/R2D.app/Contents/MacOS/applications/dakota/bin; \"/usr/local/Cellar/python@3.8/3.8.6_1/Frameworks/Python.framework/Versions/3.8/bin/python3.8\" \"/Users/sg/Junk/R2D.app/Contents/MacOS/applications/Workflow/R2DTool_workflow.py\"  \"/Users/sg/Documents/R2D/LocalWorkDir/tmp.SimCenter/inputRWHALE.json\" --registry \"/Users/sg/Junk/R2D.app/Contents/MacOS/applications/Workflow/WorkflowApplications.json\" --referenceDir \"/Users/sg/Documents/R2D/LocalWorkDir/tmp.SimCenter/input_data\" -w \"/Users/sg/Documents/R2D/LocalWorkDir/tmp.SimCenter/Results\"" ()
09:55:38.043 Debug: "/Users/sg/Documents/R2D/LocalWorkDir/tmp.SimCenter/Results" ()
09:55:38.043 Debug: PelicunPostProcessor:  "/Users/sg/Documents/R2D/LocalWorkDir/tmp.SimCenter/Results" ()
09:55:38.044 Debug: FILES IN FOLDER:  ("inputRWHALE.json") ()

22
Regional Hazard Simulation (R2D, rWhale) / Install problem
« on: February 04, 2021, 05:42:46 PM »
The pip3 install for nheri-simcenter failed for me:

Code: [Select]
Sanjays-MBP2020:~ sg$ pip3 install nheri-simcenter
Collecting nheri-simcenter
  Downloading nheri_simcenter-0.9.1-py3-none-any.whl (4.3 kB)
Collecting tqdm
  Downloading tqdm-4.56.0-py2.py3-none-any.whl (72 kB)
     |████████████████████████████████| 72 kB 4.2 MB/s
Collecting pandas<=1.1.5,>=1.1.0
  Downloading pandas-1.1.5-cp39-cp39-macosx_10_9_x86_64.whl (10.3 MB)
     |████████████████████████████████| 10.3 MB 20.7 MB/s
Collecting jpype1
  Downloading JPype1-1.2.1-cp39-cp39-macosx_10_9_x86_64.whl (379 kB)
     |████████████████████████████████| 379 kB 80.5 MB/s
Collecting sklearn
  Downloading sklearn-0.0.tar.gz (1.1 kB)
Collecting xlrd<=1.2.0
  Downloading xlrd-1.2.0-py2.py3-none-any.whl (103 kB)
     |████████████████████████████████| 103 kB 75.7 MB/s
Collecting tables
  Downloading tables-3.6.1.tar.gz (4.6 MB)
     |████████████████████████████████| 4.6 MB 83.6 MB/s
    ERROR: Command errored out with exit status 1:
     command: /usr/local/opt/python@3.9/bin/python3.9 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/9d/rzw8lm7100923j8xf9bllgpc0000gn/T/pip-install-ssk3fkux/tables/setup.py'"'"'; __file__='"'"'/private/var/folders/9d/rzw8lm7100923j8xf9bllgpc0000gn/T/pip-install-ssk3fkux/tables/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/9d/rzw8lm7100923j8xf9bllgpc0000gn/T/pip-pip-egg-info-epxvhxqs
         cwd: /private/var/folders/9d/rzw8lm7100923j8xf9bllgpc0000gn/T/pip-install-ssk3fkux/tables/
    Complete output (10 lines):
    /var/folders/9d/rzw8lm7100923j8xf9bllgpc0000gn/T/H5close9tul_kdb.c:2:5: error: implicit declaration of function 'H5close' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        H5close();
        ^
    1 error generated.
    * Using Python 3.9.0 (default, Nov 21 2020, 14:01:50)
    * USE_PKGCONFIG: True
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

23
Header on this board should be change to R2D due to the name change.

24
Wind Engineering (WE-UQ) / Does not build
« on: June 30, 2020, 09:34:13 PM »
I have installed OpenFoam (with the Docker container).  If I run wmake I get the following error

Code: [Select]
wmake
    ln: ./lnInclude
Making dependency list for source file digitalFilterFvPatchVectorField.C
Making dependency list for source file syntheticEddyFvPatchVectorField.C
wmkdepend: could not open 'triSurface.H' for source file 'syntheticEddy/syntheticEddyFvPatchVectorField.C': No such file or directory
Making dependency list for source file eddyIO.C
Making dependency list for source file eddy.C
g++ -std=c++11 -m64 -DOPENFOAM=1912 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3  -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-v1912/src/triSurface/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-v1912/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1912/src/OSspecific/POSIX/lnInclude   -fPIC -c eddy/eddy.C -o Make/linux64GccDPInt32Opt/eddy/eddy.o
In file included from /opt/OpenFOAM/OpenFOAM-v1912/src/OpenFOAM/lnInclude/Random.H:342:0,
                 from eddy/eddy.H:42,
                 from eddy/eddy.C:26:
/opt/OpenFOAM/OpenFOAM-v1912/src/OpenFOAM/lnInclude/RandomI.H: In member function 'Foam::scalar Foam::eddy::epsi(Foam::Random&) const':
/opt/OpenFOAM/OpenFOAM-v1912/src/OpenFOAM/lnInclude/RandomI.H:30:21: error: 'Foam::scalar Foam::Random::scalar01()' is private
 inline Foam::scalar Foam::Random::scalar01()
                     ^
In file included from eddy/eddy.H:233:0,
                 from eddy/eddy.C:26:
eddy/eddyI.H:32:28: error: within this context
     return rndGen.scalar01() > 0.5 ? 1 : -1;
                            ^
make: *** [Make/linux64GccDPInt32Opt/eddy/eddy.o] Error 1

25
Wind Engineering (WE-UQ) / TInF folder selection Mac
« on: June 30, 2020, 08:18:38 PM »
In TInF (Mac version), when selecting the folder that has the OpenFOAM subfolders, one has to be in the folder containing 0, constant, system.
It should work that on clicks (highlights) the name of the folder containing 0, constant, system followed by open.  It doesn't make sense that you have to drop down on level further.

Pages: 1 [2]