OpenSees Cloud

OpenSees AMI

Compiling OpenSees

Original Post - 24 Nov 2020 - Michael H. Scott

Visit Structural Analysis Is Simple on Substack.


In the early days of G3/OpenSees, I was in change of compiling the Windows version using Visual C++, part of Visual Studio. Frank maintained the Linux version.

Pretty soon after arriving in Eastchester, I switched to compiling OpenSees on Linux and periodically compiled in Visual Studio–only when I absolutely had to do so.

Visual Studio has a free Community Edition now, so I decided to give it another shot. Most things are the same (the GitHub integration is pretty nice) and I managed to compile OpenSees.exe again. I also compiled opensees.pyd, the OpenSees Python module that goes into the openseespy pip package.

Compiling OpenSeesPy

In Linux, all you have to do is type make python in the OpenSees/ root directory. This will create opensees.so in the OpenSees/SRC/interpreter directory.