Issue Running ShakeMap Hazard on DesignSafe #328
-
|
Hi, I’m using ShakeMap to define the hazard in the HAZ section, while keeping everything else from Example 1 unchanged. The workflow runs successfully on my local machine, but when I submit the same job to DesignSafe, I encounter the following error: "/work2/00477/tg457427/stampede3/python_env/intel24python3.9-simcenter-25.02/bin/python3" 12:31:21 ERROR I don’t recall encountering this issue in the past when generating a hazard event using ShakeMap on DesignSafe. Could you please advise what might be causing this error or how I could further troubleshoot it? Thank you! Best, |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
|
Hi Bofan, Sorry to know that you are experiencing the error. There is currently an issue with the connection between R2D and DesignSafe. We are working on resolving the issue, and we will post here as soon as we have an answer for you. Thanks for your patience. Best, Jinyan |
Beta Was this translation helpful? Give feedback.
-
|
Hi Jinyan, Thank you for your reply and assistance. I’ve downloaded the latest version of the R2D application and noticed that in the "DL" section, the options "HAZUS MH EQ CSM" and "HAZUS MH EQ IM" have been replaced by "Hazus Earthquake - Buildings." I’m curious—what are the differences between these functions? Thanks, |
Beta Was this translation helpful? Give feedback.
-
|
By the way, in the previous version, I used the "Capacity Spectra Method" in the "ANA" section along with "HAZUS MH EQ CSM" in the "DL" section to run my simulations. However, after the update, I selected "Capacity Spectra Method" and "Hazus Earthquake - Buildings," but the simulation failed with the following error: KeyError: 'No capacity data for build class C1L and design level Pre-Code' 10:34:04 - There was an error in the Python process backend, the exit code is -20. Could you please let me know how to resolve this or whether I should configure something differently? Thanks, |
Beta Was this translation helpful? Give feedback.
-
|
Hi Bofan, Thanks for letting us know. In older versions, "HAZUS MH EQ IM" was used for the simplified HAZUS method, where PGA based fragility curves are used for the damage and loss analysis. "HAZUS MH EQ CSM" was used for the capacity spectrum method described in FEMA HAZUS, where a building-level spectrum acceleration and spectrum displacement are used for the damage and loss analysis. In the latest version, when "Hazus Earthquake - Buildings" is selected, the original "HAZUS MH EQ CSM" method will be used. If you would like to use the original "HAZUS MH EQ IM" method, please check the "Use Lifeline Facility models" checkbox. This is because the original IM(PGA)-based fragility curves in FEMA HAZUS were developed for buildings associated with lifeline facilities. The error you experienced is related to an incompatibility of the CSM method and the updated pelicun3 package. We are in the process of fixing this in the release. Meanwhile, you could fix this on your local computer by modifying the backend calculation code. Steps are:
Please note that several naming conventions in the ASD have been updated. E.g., in the "DesignLevel" column, "PC" in the older R2D version is updated to "Pre-Code". We have updated the ASD in the built-in examples in R2D, but your own building inventories that you prepared for older R2D versions may require some modification to fit the latest R2D. If you experience difficulties, please let us know. Thanks and regards, Jinyan |
Beta Was this translation helpful? Give feedback.
-
|
Hi Jinyan, Thank you for your patient reply. Everything runs smoothly on my local computer. However, I’m unsure how to run the program remotely on DesignSafe. When I log into DesignSafe through the R2D user interface, I encounter the following error: Additionally, I replaced the original CapacityModels.py and DampingModels.py files with the versions you provided, which allowed the program to run successfully locally. If I run the simulation remotely on DesignSafe without modifying those Python files, will it still work properly? Best, |
Beta Was this translation helpful? Give feedback.
-
|
if you still have the OAuth problem .. try running the following application at DesignSafe to get set up for launching jobs on stampede3: |
Beta Was this translation helpful? Give feedback.
Hi Bofan,
Thanks for letting us know. In older versions, "HAZUS MH EQ IM" was used for the simplified HAZUS method, where PGA based fragility curves are used for the damage and loss analysis. "HAZUS MH EQ CSM" was used for the capacity spectrum method described in FEMA HAZUS, where a building-level spectrum acceleration and spectrum displacement are used for the damage and loss analysis. In the latest version, when "Hazus Earthquake - Buildings" is selected, the original "HAZUS MH EQ CSM" method will be used. If you would like to use the original "HAZUS MH EQ IM" method, please check the "Use Lifeline Facility models" checkbox. This is because the original IM(PGA)-based fragility curves i…