MPCO recorder not found

Post Reply
Lichiel
Posts: 7
Joined: Fri Sep 09, 2022 3:36 am

MPCO recorder not found

Post by Lichiel » Thu Oct 20, 2022 2:34 pm

Greetings STKO,

I'm currently working on a STKO model, and I need to be run it on Ubuntu.

I transferred the files from STKO on Windows to Ubuntu OpenSeesMP, but I'm now stuck on an MPCO recorder issue that I've been researching without success. Perhaps the current version of OpenSees does not support it, forcing you to use an earlier version. Could you please clarify that to me?

best regards
thank you
Attachments
Screenshot 2022-10-20 214930.png
Screenshot 2022-10-20 214930.png (355.4 KiB) Viewed 6701 times
Screenshot 2022-10-20 213348.png
Screenshot 2022-10-20 213348.png (293.02 KiB) Viewed 6701 times

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

Re: MPCO recorder not found

Post by STKO Team » Fri Oct 21, 2022 3:01 pm

If you are compiling OpenSeesMP with makefiles,

add the following lines in your Makefile.def

Code: Select all

# HDF5 for MPCORecorder and H5DRM
HDF5_INCL = -IC:/progra~1/HDF_Group/HDF5/1.12.0/include
HDF5_LIBS = C:/progra~1/HDF_Group/HDF5/1.12.0/lib/hdf5.lib
HDF5_FLAG = -D_HDF5 -D_H5DRM -DH5_BUILT_AS_DYNAMIC_LIB -DH5_SIZEOF_SSIZE_T=8
H5DRM_FLAG = YES
Of course, you need to change HDF5_INCL and HDF5_LIBS according to your installation of HDF5 version 1.12.0.

Lichiel
Posts: 7
Joined: Fri Sep 09, 2022 3:36 am

Re: MPCO recorder not found

Post by Lichiel » Mon Oct 24, 2022 8:11 am

hello,
Thank you for the reply.

I attempted to directly compile Opensees using the Makefile.def, but I ran into numerous issues during the installation process. I tried to install it using Ubuntu 18, 20, and 22 in many different ways, and none of them were successful.
Eventually, I was able to get it working, but there were repeated warnings, and when I tried to replicate Opensees examples, it didn't perform as expected.
Fortunately, I found another approach online that involves installing it using Conan. The used tutorial is available here:
https://opensees.github.io/OpenSeesDocu ... tml#ubuntu
I noticed various warnings about MKL throughout this installation process, which I share in the picture attached.

Note:
When I have opensees installed from the above tutorial despite the MKL warning I was able to successfully test Opensees examples using both Opensees and OpenseesMP. The examples I tried did not have MPCO recorder. This issue only arises when I attempt to run STKO output files. To troubleshoot this issue, I have tried a lot of different approaches, but so far without success.
I would be grateful if you could help through this post. By the way, I don't use Ubuntu frequently, which makes the debugging process even more challenging.
Attachments
Error.png
Error.png (518.83 KiB) Viewed 6632 times

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

Re: MPCO recorder not found

Post by STKO Team » Mon Oct 24, 2022 8:33 am

So if you are using Cmake, you need to fix a line in the OpenSees/CMakeLists.txt ( I will change it soon, they are still working on the Cmake part... )


cmakje.png
cmakje.png (23.09 KiB) Viewed 6629 times
You have to move the YELLOW line (_H5DRM flag) above as in the above picture.
The add the green line (_HDF5 flag).

Lichiel
Posts: 7
Joined: Fri Sep 09, 2022 3:36 am

Re: MPCO recorder not found

Post by Lichiel » Mon Oct 24, 2022 10:02 pm

Thank you very much
that solved the problem :D
Attachments
Screenshot 2022-10-25 055638.png
Screenshot 2022-10-25 055638.png (120.24 KiB) Viewed 6623 times

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

Re: MPCO recorder not found

Post by STKO Team » Tue Oct 25, 2022 7:02 am

you're welcome

StavrosP
Posts: 25
Joined: Sat Oct 22, 2022 2:48 pm

Re: MPCO recorder not found

Post by StavrosP » Wed May 01, 2024 9:20 am

Hello,

I am also facing the same issue with the mpco recorder missing from a custom-built OS version. I am using the latest (atm) stable OS release (v3.6.0, built Feb 15, 2024; https://opensees.berkeley.edu/). I am building the app for Win64 using VS: https://github.com/OpenSees/OpenSees/tree/master/Win64.

Do you have any advice on what might be going wrong during compilation? I don't get mpco recorder in the built version. Is there something "extra" that needs to be accounted for perhaps? Note that the build is successful and the version seems to be working as expected otherwise.

Thanks a lot,
Stavros
Attachments
mpco_recorder_error.png
mpco_recorder_error.png (54.51 KiB) Viewed 4506 times

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

Re: MPCO recorder not found

Post by STKO Team » Wed May 08, 2024 4:19 pm

It's easier if you follow the build instructions here : https://opensees.github.io/OpenSeesDocu ... build.html

Using CMake and Conan, it will automatically find all the necessary dependencies for building the MPCO Recorder

Post Reply