rcps-buildscripts icon indicating copy to clipboard operation
rcps-buildscripts copied to clipboard

Install Request: OpenSees and OpenSeesPy on Myriad [IN06531574]

Open balston opened this issue 1 year ago • 3 comments

an Open System for Earthquake Engineering Simulation (OpenSees) : https://opensees.github.io/OpenSeesDocumentation/index.html

OpenSeesPy : https://github.com/zhuminjie/OpenSeesPy/tree/openseespy Docs: https://openseespydoc.readthedocs.io/en/latest/index.html

balston avatar Mar 21 '24 17:03 balston

I have had a quick look at installing the Python version OpenSeesPy in my account using the instructions from the documentation here: https://opensees.github.io/OpenSeesDocumentation/user/pythonInstall.html

I did:

module unload compilers
module load compilers/gnu/4.9.2
module load python3/3.11

pip3 install --user --no-cache-dir  --no-binary :all: openseespy

I then tried running one of the examples from the documentation here:

https://openseespydoc.readthedocs.io/en/latest/src/Canti2DEQ.html

python3 Canti2DEQ.py

but it failed with the following error:

=========================================================
Start cantilever 2D EQ ground motion with gravity example
Traceback (most recent call last):
  File "/lustre/scratch/scratch/ccaabaa/Software/OpenSeesPy/Canti2DEQ.py", line 71, in <module>
    freq = eigen('-fullGenLapack', 1)[0]**0.5
           ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
TypeError: 'float' object is not subscriptable

balston avatar May 03 '24 16:05 balston

I've responded to IN06531574 suggesting they try the above. Waiting for the user to respond.

balston avatar May 09 '24 11:05 balston

User is working with this version so we probably do not need to do anything more with this request at the moment.

balston avatar May 20 '24 14:05 balston