Sign inSign up

zhuminjie/openseespy

By zhuminjie

•Updated almost 6 years ago

OpenSeesPy Build

Image
0

222

zhuminjie/openseespy repository overview

⁠openseespy:3.1-notebook

⁠To run:

docker run -t -p 8888:8888 zhuminjie/openseespy:3.1-notebook

If port 8888 is occupied, try other ports

docker run -t -p 8889:8888 zhuminjie/openseespy:3.1-notebook

⁠To open:

Copy the address from outputs of the above docker command

http://127.0.0.1:8888/?token=...

The token will be different each time running the docker. Then open web browser on the host with the address.

⁠To import

Start a new notebook and run in the cell

import openseespy.opensees as ops
ops.printModel()

⁠Parallel computing

Run the following command in a cell:

!/app/mpiexec -np 2 python3.7 script.py

where 2 is the number of processors and script.py is the python script to run. You can create a python script in an editor or save a notebook as a python script.

⁠Other commands:

https://openseespydoc.readthedocs.io/en/latest/⁠

⁠openseespy:3.1

⁠To run:

docker run -it zhuminjie/openseespy:3.1

Tag summary

Content type

Image

Digest

Size

234.7 MB

Last updated

almost 6 years ago

docker pull zhuminjie/openseespy:3.2.2.6