OpenSees GitHub
Install OpenSeesPy on Ubuntu EC2 Instance
ssh -A -i keypair.m ....
sudo apt update
sudo apt install libblas-dev python3-pip python3-venv
python3 -m venv ~/venv
~/venv/bin/python3 -m pip install openseespy
Cmake instructions
cd OpenSees
rm -rf build
mkdir build
cd build
conan install .. --build missing
cmake ..
cmake --build . --target OpenSees -j 4
cmake --build . --target OpenSeesPy -j 4
mv lib/OpenSeesPy.so ../SRC/interpreter/opensees.so
Remove a branch from the server
git branch -D branchname
git push origin :branchname # or delete at github.com after PR is merged
git remote prune origin
Copy file from branch A to branch B
git checkout branchB
git checkout branchA filename
git commit -m "Adding filename to branchB"
Force local master
to be the same as upstream/master
git checkout master
git reset --hard upstream/master
git push origin master --force