how to use MPCO Recorder in openseespy

Post Reply
zxh
Posts: 1
Joined: Mon Jan 08, 2024 1:54 pm

how to use MPCO Recorder in openseespy

Post by zxh » Mon Jan 08, 2024 2:07 pm

As is well known, we can use the MPCO Recorder to generate post-processing files and then perform post-processing using STKO. The TCL version of OpenSees can accomplish this with the MPCO Recorder. Now, my model is built using openseespy and I am unable to use the MPCO Recorder to generate post-processing files. How should I compile the MPCO Recorder into openseespy?
Attachments
Snipaste_2024-01-08_22-06-00.jpg
Snipaste_2024-01-08_22-06-00.jpg (7.13 KiB) Viewed 2384 times

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

Re: how to use MPCO Recorder in openseespy

Post by STKO Team » Fri Jan 12, 2024 9:00 am

Now MPCO Recorder is not compiled with openseespy because they don't want to include the HDF5 library it depends on.
We are planning to include it in openseespy without the need for linking to HDF5.

In the meantime, if you are able to compile openseespy by yourself, we can tell you how to include the mpco recoder there

nmorabowen
Posts: 5
Joined: Thu May 16, 2024 3:52 am

Re: how to use MPCO Recorder in openseespy

Post by nmorabowen » Thu May 16, 2024 3:54 am

Is the hdf5 library compiled into professor Tarque's version?
If not, could you please tell me how this could be done?

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

Re: how to use MPCO Recorder in openseespy

Post by STKO Team » Thu May 16, 2024 8:19 am

Is the hdf5 library compiled into professor Tarque's version?
Yes, the MPCORecorder is included.
If not, could you please tell me how this could be done?
If you want to compile your own version of OpenSees and/or OpenSeesPy including the MPCORecorder, please follow the instruction here https://opensees.github.io/OpenSeesDocu ... build.html using CMake and Conan (this toolchain will take care of downloading all the necessary dependencies, including hdf5)

nmorabowen
Posts: 5
Joined: Thu May 16, 2024 3:52 am

Re: how to use MPCO Recorder in openseespy

Post by nmorabowen » Thu May 16, 2024 4:04 pm

Thank you!

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

Re: how to use MPCO Recorder in openseespy

Post by STKO Team » Fri May 17, 2024 8:32 am

You're welcome

OmarA
Posts: 7
Joined: Wed Aug 07, 2024 11:24 am

Re: how to use MPCO Recorder in openseespy

Post by OmarA » Wed Aug 07, 2024 11:33 am

STKO Team wrote:
Thu May 16, 2024 8:19 am
Is the hdf5 library compiled into professor Tarque's version?
Yes, the MPCORecorder is included.
If not, could you please tell me how this could be done?
If you want to compile your own version of OpenSees and/or OpenSeesPy including the MPCORecorder, please follow the instruction here https://opensees.github.io/OpenSeesDocu ... build.html using CMake and Conan (this toolchain will take care of downloading all the necessary dependencies, including hdf5)
I have compiled openseespy following the instructions in the link. How can I include MPCO recorders?

Thanks in advance

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

Re: how to use MPCO Recorder in openseespy

Post by STKO Team » Thu Aug 08, 2024 7:25 am

Just use the mpco recorder command in your file.
Documentation here:
https://drive.google.com/file/d/1V6Dh8C ... cIDBT/view
It's for Tcl but it's super easy to convert it to python

Post Reply