Install Request: OpenSees and OpenSeesPy on Myriad [IN06531574]
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
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
I've responded to IN06531574 suggesting they try the above. Waiting for the user to respond.
User is working with this version so we probably do not need to do anything more with this request at the moment.