Compiling OpenSees and OpenSeesPy on Ubuntu 22.04 using CMAKE. RAW Tutorial

Ғылым және технология

In this RAW tutorial, I went through the building (compilation) process for OpenSees (TCL) and OpenSeesPy (python) from a fresh install of Ubuntu 22.04 using cmake and regular Ubuntu repos.
This is an unoptimized build for the sequential version of OpenSees.
The history log I mentioned at the end of the video, as well as my CMakeLists.txt file are available in my personal website:
joseabell.com/building-opense...
-----
www.joseabell.com

Пікірлер: 16

  • @hxh3956537
    @hxh3956537 Жыл бұрын

    Hi Jose, thanks a lot for this great video.

  • @JoseAbell

    @JoseAbell

    Жыл бұрын

    My pleasure!

  • @junfeihuang8415
    @junfeihuang84155 ай бұрын

    Thanks for the great tutorial! Any plan to make a video for compiling the parallel version of OpenSeesPy? The current cmake files seem to be set for the sequential python version only. 😆

  • @JoseAbell

    @JoseAbell

    3 ай бұрын

    Hi! That would be nice. I haven't tried out the parallel version of openseespy yet, but I'm aware that its there. I'll check it out.

  • @fslurrehman
    @fslurrehman Жыл бұрын

    Also I would like to see video on OpenSeesMP and SP. I am facing segmentation fault error when executing MP. Would like to here about this from you. Regards, FR

  • @JoseAbell

    @JoseAbell

    Жыл бұрын

    Segfault might be from several different sources, not necesarily a faulty compilation. This is especially true for MP where things are... trickier.

  • @dex8487
    @dex8487 Жыл бұрын

    Hey Jose, during linking for the OpenSeesPy target - im getting an error (OpenSees built fine): fatal error: bytecode stream in file ‘/path/to/anaconda3/lib/libpython3.8.a’ generated with LTO version 6.0 instead of the expected 8.1 compilation terminated. I've checked online and am not making many inroads. Wondering if you have any thoughts on this?

  • @JoseAbell

    @JoseAbell

    Жыл бұрын

    Hi! Did you fix the issue?

  • @dex8487

    @dex8487

    Жыл бұрын

    @@JoseAbell yes! Thought I had posted something about it but I had to go to the CMake file or the make file and adjust the python version it was trying to find (I think, been awhile since I was building this) Thanks Jose

  • @JoseAbell

    @JoseAbell

    Жыл бұрын

    @@dex8487 great to hear you fixed it. I'm sorry I don't pay that close attention to KZread comments

  • @shamsaei1998
    @shamsaei1998 Жыл бұрын

    Hi Jose, Is there any chance that you have a guide to compile OpenSeesMP and SP with cmake?

  • @JoseAbell

    @JoseAbell

    Жыл бұрын

    Hi. I tried a few months ago to use cmake to compile OpenSeesMP and was unsuccessful. There are some dependencies which are not handled. That's why makefiles is still the way to go for parallel version of OpenSees.

  • @shamsaei1998

    @shamsaei1998

    Жыл бұрын

    @@JoseAbell I see! Is there any chance you have a tutorial for compiling the MP version with makefile? I am getting several multiple definition errors between system of equations routines and libOpenSees.a.

  • @JoseAbell

    @JoseAbell

    Жыл бұрын

    @@shamsaei1998 I will. By the end of the week hopefully. I'll continue where I left with the previous video.

  • @fslurrehman
    @fslurrehman Жыл бұрын

    Hi Jose, Why don't you use conan to build dependencies as it's easy instead of changing cmakelist.txt file? It is also mentioned in new opensees official documentation repo.

  • @JoseAbell

    @JoseAbell

    Жыл бұрын

    Thanks! I was under the impression that conan is still in a testing phase and didnt see it in the new docs. I'll give it a try and come up with a new tutorial if that makes life easier.

Келесі