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
1
Installation / Re: Conan in the CI
« on: August 27, 2023, 10:13:33 PM »
It looks like you changed the first OS build but did not make the changes for the Ubuntu and Windows.  So there are still build errors in the CI.

2
Installation / Conan in the CI
« on: August 22, 2023, 08:15:43 AM »
It looks like conan is 'broken' in the CI scripts.   appveyor.yml appears to be getting the latest 2.0.9 version of conan, which I think changes 'conan user' to 'conan remote login'  (or something like that).  The appveyor.yml scripts should be updated to work with the new conan 2.0.x versions or downgrade the pip install conan to something like pip install conan==1.60.2 or whatever was the last working version.

3
Uncertainty Quantification (quoFEM) / Custom Analysis Engine
« on: October 04, 2022, 05:53:34 AM »
If one wants to use a custom analysis engine but on DesignSafe, so not on one's local computer, what does one have to do?

4
Thanks.  On my MAC, fn-clink, option-click, and command-click all set the Y axis (ordinate).  ctrl-click sets the X axis (abscissa).

5
Thanks that was the problem.  When I ran pip3 install nheri_simcenter --upgrade, it install lots of things.  The example now runs fine.

Follow up question for this example, the interface allows to plot the samples versus run number.  Can one cross plot variable in the interface? or should I just export the data and use a separate plotting program?

6
Here btw is the debug.log file from Documents/quoFEM

Code: [Select]
21:29:12.283 Debug: LogFILE:  "/Users/sg/Documents/quoFEM/debug.log" ()
21:29:12.452 Warning: QObject::connect: No such signal PLoMSimuWidget::queryEVT(void) ()
21:29:12.457 Warning: QObject::connect: No such slot InputWidgetEDP::setDefaultGroup(bool) ()
21:29:12.459 Warning: QObject::connect: No such signal DakotaResultsSampling::sendStatusMessage(QString) ()
21:29:12.459 Warning: QObject::connect: No such signal DakotaResultsSampling::sendErrorMessage(QString) ()
21:29:12.459 Warning: QObject::connect: No such signal RunWidget::sendErrorMessage(QString) ()
21:29:12.459 Warning: QObject::connect: No such signal RunWidget::sendStatusMessage(QString) ()
21:29:12.459 Warning: QObject::connect: No such signal AgaveCurl::closeDialog() ()
21:29:12.459 Warning: QObject::connect: No such signal RemoteJobManager::closeDialog() ()
21:29:12.467 Debug: "Welcome to quoFEM" ()
21:29:12.475 Warning: QObject::connect: No such slot WorkflowApp_quoFEM::infoMessage(QString) ()
21:29:12.490 Debug: SimCenterPreferences::getPython - scPython:  "None" ()
21:29:18.582 Debug: WorkflowAppWidget::statusMessage "Loading example Forward Propagation - OpenSeesPy" ()
21:29:18.583 Debug: WorkflowAppWidget::statusMessage " - reading input file /Users/sg/Desktop/quoFEM.app/Contents/MacOS/Examples/qfem-0002/src/input.json" ()
21:29:18.606 Debug: WorkflowAppWidget::statusMessage "Loading Example file. Wait till Done Loading Example appears before progressing." ()
21:29:18.607 Debug: WorkflowAppWidget::statusMessage "Loading File .. /Users/sg/Desktop/quoFEM.app/Contents/MacOS/Examples/qfem-0002/src/input.json" ()
21:29:18.609 Debug: UQ_EngineSelection::enginesSelectionChanged() ()
21:29:18.668 Debug: WorkflowAppWidget::statusMessage "Done Loading File" ()
21:29:18.668 Debug: WorkflowAppWidget::statusMessage "Done Loading Example." ()
21:29:51.577 Debug: WorkflowAppWidget::statusMessage "Setting up temporary directory." ()
21:29:51.580 Debug: WorkflowAppWidget::statusMessage "Gathering files to local workdir." ()
21:29:51.580 Debug: WorkflowAppWidget::errorMessage "" ()
21:29:51.581 Debug: "" ()
21:29:51.618 Debug: WorkflowAppWidget::statusMessage "SetUp Done .. Now starting application" ()
21:29:51.619 Debug: RunWidget::setupForRunApplicationDone ()
21:29:51.619 Debug: RUNTYPE "runningLocal" ()
21:29:51.619 Debug: SCRIPT:  "/Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/Workflow/qWHALE.py" ()
21:29:51.619 Debug: REGISTRY:  "/Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/Workflow/WorkflowApplications.json" ()
21:29:51.620 Debug: SimCenterPreferences::getPython - scPython:  "None" ()
21:29:51.620 Debug: DAKOTA:  "/Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/dakota/bin/dakota" ()
21:29:51.620 Debug: PYTHON COMMAND "source $HOME/.bash_profile; export PATH=/usr/local/bin:/Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/opensees/bin:/Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/dakota/bin:$PATH; \"/usr/local/bin/python3\" \"/Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/Workflow/qWHALE.py\" runningLocal \"/Users/sg/Documents/quoFEM/LocalWorkDir/tmp.SimCenter/templatedir/scInput.json\" \"/Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/Workflow/WorkflowApplications.json\"" ()
21:29:51.625 Debug: WorkflowAppWidget::statusMessage "Starting the analysis. This may take awhile!" ()
21:29:52.804 Debug: WorkflowAppWidget::statusMessage "\nqWHALE workflow\n\nSystem Information:\n  local time zone: PDT\n  start time: 2022-10-03T21:29:52\n  python: 3.9.13 (main, May 24 2022, 21:28:12) \n[Clang 12.0.0 (clang-1200.0.32.29)]\n  numpy: 1.21.2\n  pandas: 1.3.4\n\n--------------------------------------------------------------------------------\n--------------------------------------------------------------------------------\n21:29:52 Started running the workflow script\n         -----------------------------------------------------------------------\n21:29:52 Inputs provided:\n         workflow input file: /Users/sg/Documents/quoFEM/LocalWorkDir/tmp.SimCenter/templatedir/scInput.json\n         application registry file: /Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/Workflow/WorkflowApplications.json\n         run type: runningLocal\n         -----------------------------------------------------------------------\n21:29:52 Parsing application registry file\n         Loading the json file...\n           OK\n         Loading default values...\n           OK\n         Collecting application data...\n           OK\n         Available applications:\n           FEM : OpenSees\n           FEM : OpenSeesPy\n           FEM : SurrogateGP\n           FEM : FEAPpv\n           FEM : Custom\n           FEM : MultipleModels\n           UQ : Dakota-UQ\n           UQ : SimCenter-UQ\n           UQ : UCSD-UQ\n           UQ : Dakota-FEM\n           UQ : Dakota-UQ1\n           UQ : CustomUQ\n         Successfully parsed application registry\n         -----------------------------------------------------------------------\n21:29:52 Parsing workflow input file\n         Loading the json file...\n           OK\n         No units specified; using Standard units.\n         Missing output type specification, using default settings.\n{}\n         The following workflow defaults were overwritten:\n           workflowInput: scInput.json\n         Run dir : /Users/sg/Documents/quoFEM/LocalWorkDir/tmp.SimCenter\n         Local applications dir : /Users/sg/Desktop/quoFEM.app/Contents/MacOS\n         Remote applications dir : /Users/sg/Desktop/quoFEM.app/Contents/MacOS\n         Reference dir : None\n         \n         Parsing the requested list of applications...\n         \n         Requested workflow:\n           FEM : OpenSeesPy\n           UQ : Dakota-UQ\n         \n         Successfully parsed workflow inputs\n         -----------------------------------------------------------------------\n21:29:52 Initializing the simulation directory\n         Simulation directory successfully initialized.\n         -----------------------------------------------------------------------\n21:29:52 Creating files with random variables\n         \n         Running FEM app\n\n\"/Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/performFEM/OpenSeesPy/createOpenSeesPyDriver\" \"/Users/sg/Documents/quoFEM/LocalWorkDir/tmp.SimCenter/templatedir/scInput.json\" \"runningLocal\" \"MacOS\" \"driver\" \n\nOutput: \n\n\n\n         Successfully Created Driver File for Workflow.\n         -----------------------------------------------------------------------\n21:29:52 Running response simulation\nFMK COMMAND: \"/usr/local/opt/python@3.9/bin/python3.9\" \"/Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/performUQ/dakota/DakotaUQ.py\" \"--workflowInput\" \"scInput.json\" \"--driverFile\" \"driver\" \"--workflowOutput\" \"EDP.json\" \"--runType\" \"runningLocal\" \n         Simulation command:\n\n\"/usr/local/opt/python@3.9/bin/python3.9\" \"/Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/performUQ/dakota/DakotaUQ.py\" \"--workflowInput\" \"scInput.json\" \"--driverFile\" \"driver\" \"--workflowOutput\" \"EDP.json\" \"--runType\" \"runningLocal\" \n\nOutput: \n\nP 30 20 2 2EVAL CONCURRENCY: 16\nCWD: /Users/sg/Documents/quoFEM/LocalWorkDir/tmp.SimCenter/templatedir\nrunning Dakota:  dakota -input dakota.in -output dakota.out -error dakota.err\n\n\n         Response simulation finished successfully.\n         -----------------------------------------------------------------------\n" ()
21:29:52.877 Warning: QObject::connect: No such signal DakotaResultsSampling::sendStatusMessage(QString) ()
21:29:52.877 Warning: QObject::connect: No such signal DakotaResultsSampling::sendErrorMessage(QString) ()
21:29:52.877 Warning: QObject::disconnect: No such signal DakotaResultsSampling::sendErrorMessage(QString) ()
21:29:52.877 Warning: QObject::disconnect:  (sender name:   'RES') ()
21:29:52.879 Debug: 72   "Error: cannot open results file \"workdir.1/results.out\" for evaluation 1" ()
21:29:52.880 Debug: "Error Running Dakota: Error: cannot open results file \"workdir.1/results.out\" for evaluation 1" ()
21:29:52.881 Debug: WorkflowAppWidget::statusMessage "Analysis complete" ()
21:29:52.882 Debug: Task Completed ()

7
When trying to run example 2, the code throws an error with respect to Dakota.  Is there something special that needs to be done in the set up?  Here is the log file:

Code: [Select]
21:29:12 - Welcome to quoFEM
21:29:18 - Loading example Forward Propagation - OpenSeesPy
21:29:18 -  - reading input file /Users/sg/Desktop/quoFEM.app/Contents/MacOS/Examples/qfem-0002/src/input.json
21:29:18 - Loading Example file. Wait till Done Loading Example appears before progressing.
21:29:18 - Loading File .. /Users/sg/Desktop/quoFEM.app/Contents/MacOS/Examples/qfem-0002/src/input.json
21:29:18 - Done Loading File
21:29:18 - Done Loading Example.
21:29:51 - Setting up temporary directory.
21:29:51 - Gathering files to local workdir.
21:29:51 - 
21:29:51 - SetUp Done .. Now starting application
21:29:51 - Starting the analysis. This may take awhile!
21:29:52 -
qWHALE workflow

System Information:
  local time zone: PDT
  start time: 2022-10-03T21:29:52
  python: 3.9.13 (main, May 24 2022, 21:28:12)
[Clang 12.0.0 (clang-1200.0.32.29)]
  numpy: 1.21.2
  pandas: 1.3.4

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
21:29:52 Started running the workflow script
         -----------------------------------------------------------------------
21:29:52 Inputs provided:
         workflow input file: /Users/sg/Documents/quoFEM/LocalWorkDir/tmp.SimCenter/templatedir/scInput.json
         application registry file: /Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/Workflow/WorkflowApplications.json
         run type: runningLocal
         -----------------------------------------------------------------------
21:29:52 Parsing application registry file
         Loading the json file...
           OK
         Loading default values...
           OK
         Collecting application data...
           OK
         Available applications:
           FEM : OpenSees
           FEM : OpenSeesPy
           FEM : SurrogateGP
           FEM : FEAPpv
           FEM : Custom
           FEM : MultipleModels
           UQ : Dakota-UQ
           UQ : SimCenter-UQ
           UQ : UCSD-UQ
           UQ : Dakota-FEM
           UQ : Dakota-UQ1
           UQ : CustomUQ
         Successfully parsed application registry
         -----------------------------------------------------------------------
21:29:52 Parsing workflow input file
         Loading the json file...
           OK
         No units specified; using Standard units.
         Missing output type specification, using default settings.
{}
         The following workflow defaults were overwritten:
           workflowInput: scInput.json
         Run dir : /Users/sg/Documents/quoFEM/LocalWorkDir/tmp.SimCenter
         Local applications dir : /Users/sg/Desktop/quoFEM.app/Contents/MacOS
         Remote applications dir : /Users/sg/Desktop/quoFEM.app/Contents/MacOS
         Reference dir : None
         
         Parsing the requested list of applications...
         
         Requested workflow:
           FEM : OpenSeesPy
           UQ : Dakota-UQ
         
         Successfully parsed workflow inputs
         -----------------------------------------------------------------------
21:29:52 Initializing the simulation directory
         Simulation directory successfully initialized.
         -----------------------------------------------------------------------
21:29:52 Creating files with random variables
         
         Running FEM app

"/Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/performFEM/OpenSeesPy/createOpenSeesPyDriver" "/Users/sg/Documents/quoFEM/LocalWorkDir/tmp.SimCenter/templatedir/scInput.json" "runningLocal" "MacOS" "driver"

Output:



         Successfully Created Driver File for Workflow.
         -----------------------------------------------------------------------
21:29:52 Running response simulation
FMK COMMAND: "/usr/local/opt/python@3.9/bin/python3.9" "/Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/performUQ/dakota/DakotaUQ.py" "--workflowInput" "scInput.json" "--driverFile" "driver" "--workflowOutput" "EDP.json" "--runType" "runningLocal"
         Simulation command:

"/usr/local/opt/python@3.9/bin/python3.9" "/Users/sg/Desktop/quoFEM.app/Contents/MacOS/applications/performUQ/dakota/DakotaUQ.py" "--workflowInput" "scInput.json" "--driverFile" "driver" "--workflowOutput" "EDP.json" "--runType" "runningLocal"

Output:

P 30 20 2 2EVAL CONCURRENCY: 16
CWD: /Users/sg/Documents/quoFEM/LocalWorkDir/tmp.SimCenter/templatedir
running Dakota:  dakota -input dakota.in -output dakota.out -error dakota.err


         Response simulation finished successfully.
         -----------------------------------------------------------------------

21:29:52 - Analysis done
21:29:52 - Error Running Dakota: Error: cannot open results file "workdir.1/results.out" for evaluation 1
21:29:52 - Analysis complete

8
Uncertainty Quantification (quoFEM) / Running python analysis
« on: October 04, 2022, 04:26:20 AM »
Is there a reason that to run a Python analysis, one has to select OpenSeesPY as the analysis engine?  This does not seem to make sense?  Should the menu open perhaps read Python Script?

9
Uncertainty Quantification (quoFEM) / Example page error
« on: October 02, 2022, 08:03:05 AM »
On the documentation page
https://nheri-simcenter.github.io/quoFEM-Documentation/common/user_manual/examples/desktop/qfem-0022/README.html
there are references to
Code: [Select]
../../../../../_images/FEM.pngand
Code: [Select]
../../../../../_images/RV.pngthat are not loading properly.

10
I was trying to follow the documentation on adding a custom UQ engine at

https://nheri-simcenter.github.io/quoFEM-Documentation/common/user_manual/usage/desktop/Configuring_CustomUQ.html#lblcustomuq

and tried to follow the "linked here" link in this section
Code: [Select]
As an example, UQpy has been implemented in the customized backend–the source code for the customized UqRunner class can be found in the SimCenterBackendApplications repository, linked here, and is also availble in the {Path to quoFEM app contents}/applications/performUQ/other directory.but the link is broken.

11
General Questions / Job owner
« on: March 12, 2021, 11:27:43 PM »
When jobs are run at TACC via the SimCenter apps, what username are they run under?  i.e., if one logs into to stampede2 and runs squeue -u XXX, what should XXX be to see the job?

12
Regional Hazard Simulation (R2D, rWhale) / Export to PDF
« on: March 12, 2021, 11:02:26 PM »
Two comments on the Export to PDF button:

(1) It silently writes the file even when it already exists -- clobbering existing files :(

(2) The box for the file name is labeled "Export folder:" as opposed to export file.  If I used a folder name, would it silently clobber my
whole folder?

13
Regional Hazard Simulation (R2D, rWhale) / Re: Empty results
« on: March 12, 2021, 10:54:35 PM »
After updating the python path in the preferences pane to a version of Python 3.8, I now get
 a pop up saying "The component ID 8000 is out of range of the components provided", after closing
that pop up the "The results folder is empty" pop returns.

14
Regional Hazard Simulation (R2D, rWhale) / Re: New DMG run errors
« on: March 12, 2021, 10:47:43 PM »
I change the default python path in the Preferences pane to /usr/local/Cellar/python@3.8/3.8.6_1/bin
and I was able to run example 1.  Presumably this fixes the other examples.  It would be good to update
the error message in the output window if the python version number is incorrect from 'exit code is 1' to something
indicating that the use needs to provide a path to a compatible version of python.

15
Regional Hazard Simulation (R2D, rWhale) / Re: Empty results
« on: March 12, 2021, 08:24:23 AM »
Same issue arises with example 2.  The folder /Users/sg/Documents/R2D/RemoteWorkDir however does have files in it.

Here is tail end of debug.log
Code: [Select]
00:21:33.583 Debug: "Contacting designsafe to Get Job Status of 8151f2fe-93d0-479d-8708-6bfbd5b9a613-007" ()
00:21:33.843 Debug: "Successfully obtained job status: FINISHED" ()
00:21:38.665 Debug: "Contacting designsafe to Get Job Details of 8151f2fe-93d0-479d-8708-6bfbd5b9a613-007" ()
00:21:38.775 Debug: "Contacting designsafe to download remote file inputRWHALE.json" ()
00:21:39.874 Debug: "Successfully downloaded file" ()
00:21:39.874 Debug: "Contacting designsafe to download remote file input_data.zip" ()
00:21:41.593 Debug: "Successfully downloaded file" ()
00:21:41.594 Debug: "Contacting designsafe to download remote file hdf.zip" ()
00:21:42.579 Debug: "Successfully downloaded file" ()
00:21:44.045 Debug: "/Users/sg/Documents/R2D/RemoteWorkDir" ()
00:21:44.045 Debug: PelicunPostProcessor:  "/Users/sg/Documents/R2D/RemoteWorkDir" ()
00:21:44.046 Debug: FILES IN FOLDER:  ("debug.log") ()

Here is the listing of the RemoteWorkDir:
Code: [Select]
ls -al
total 10384
drwxr-xr-x   6 sg  staff      192 Mar 12 00:21 .
drwxr-xr-x@  5 sg  staff      160 Mar 12 00:21 ..
-rw-r--r--   1 sg  staff       22 Mar 12 00:21 hdf.zip
-rw-r--r--   1 sg  staff     3584 Mar 12 00:21 inputRWHALE.json
drwxr-xr-x  29 sg  staff      928 Mar 12 00:21 input_data
-rw-r--r--   1 sg  staff  5094518 Mar 12 00:21 input_data.zip

Pages: [1] 2