OpenSeesPy MPCO recorder?

Post Reply
wxyeah
Posts: 2
Joined: Thu Dec 22, 2022 10:40 pm

OpenSeesPy MPCO recorder?

Post by wxyeah » Thu Dec 22, 2022 10:57 pm

Hi there, I was wondering if there is an OpenSeesPy command for creating the MPCO recorder? I couldn't find it on the OpenSeesPy wiki page. I have created my model and analysis using OpenSeesPy. I wanted to use MPCO to output a database and then use the STKO post-processor for post-processing. By any chance, can you point me to the right direction? Thanks.

STKO Team
Posts: 1811
Joined: Tue Oct 29, 2019 8:45 am

Re: OpenSeesPy MPCO recorder?

Post by STKO Team » Fri Dec 23, 2022 8:18 am

For some reason, the latest compiled openseespy version does not include the MPCO recorder, because it did not link to the HDF5 library.

However, if you are able to compile OpenSeesPy by yourself, and if you first install HDF5 1.12.0, you can use it. Otherwise you may need to wait for the next OpenSeesPy release

wxyeah
Posts: 2
Joined: Thu Dec 22, 2022 10:40 pm

Re: OpenSeesPy MPCO recorder?

Post by wxyeah » Fri Dec 23, 2022 2:33 pm

Okay I see. Thank you very much for your reply and the helpful suggestion. I'll try to look into it. Happy holidays!

STKO Team
Posts: 1811
Joined: Tue Oct 29, 2019 8:45 am

Re: OpenSeesPy MPCO recorder?

Post by STKO Team » Mon Jan 02, 2023 9:38 am

You're welcome

Pooyan
Posts: 3
Joined: Thu Apr 20, 2023 2:42 pm

Re: OpenSeesPy MPCO recorder?

Post by Pooyan » Thu Apr 20, 2023 5:29 pm

Dear coordinator,

If I am not wrong the MPCO recorder still is not available for OpenSeesPy in the latest version, as I couldn't find it in recorder types. I would appreciate it if it would be possible to use your powerful recorder since I am working with big data in my research.

Kind regards,
Pooyan.

STKO Team
Posts: 1811
Joined: Tue Oct 29, 2019 8:45 am

Re: OpenSeesPy MPCO recorder?

Post by STKO Team » Fri Apr 21, 2023 7:48 am

Not in the current compiled version.
However, you can re.compile it from source using CMake.
You will have to modify the CMakeLists file as explained here:
viewtopic.php?f=38&t=2415&p=6347&hilit=HDF5+Cmake#p6347

Pooyan
Posts: 3
Joined: Thu Apr 20, 2023 2:42 pm

Re: OpenSeesPy MPCO recorder?

Post by Pooyan » Mon May 08, 2023 12:46 pm

I appreciate your valuable assistance. However, recompiling the computation using Cmake has been a challenging task since I am running it on a cluster instead of a local PC. While using OpenSees TCL on my personal computer, I encountered multiple hurdles when I attempted to transfer the simulation to a Linux cluster. The primary issue was installing essential libraries such as Cmake, gfortran, Lapack, Blas, HDF5, and Conan. I had to load them individually since using the Sudo command was not allowed on the cluster. Although I spent a month trying to solve the problem of loading HDF5 and Conan libraries, my efforts were unsuccessful. Consequently, I switched to using Opensees Py, which has its own set of challenges.

Regrettably, OpenSeespy does not support the MPCO recorder, posing a new challenge for me. Is there any solution other than manual recompilation that you suggested? I would appreciate your guidance in this matter.

STKO Team
Posts: 1811
Joined: Tue Oct 29, 2019 8:45 am

Re: OpenSeesPy MPCO recorder?

Post by STKO Team » Wed May 10, 2023 10:51 am

We've just seen that now they are re-compiling and releasing the new OpenSees version:
https://github.com/OpenSees/OpenSees/issues/1191

And we re-added the missing _HDF5 macro that has been accidentally removed before:
https://github.com/OpenSees/OpenSees/pull/1200

So hopefully the new pre-compiled version will have it. It will be release in the next few days I think

Pooyan
Posts: 3
Joined: Thu Apr 20, 2023 2:42 pm

Re: OpenSeesPy MPCO recorder?

Post by Pooyan » Tue May 16, 2023 5:39 pm

Fabulous.
Thank you for the update. It made my day.
The OpenSees TCl 3.5.0 has been released, but I haven't found the OpenSeesPy 3.5.0 version, has it been released yet?

STKO Team
Posts: 1811
Joined: Tue Oct 29, 2019 8:45 am

Re: OpenSeesPy MPCO recorder?

Post by STKO Team » Wed May 17, 2023 8:31 am

Not yet

Post Reply