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
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.
Start a new notebook and run in the cell
import openseespy.opensees as ops
ops.printModel()
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.
https://openseespydoc.readthedocs.io/en/latest/
docker run -it zhuminjie/openseespy:3.1
Content type
Image
Digest
Size
234.7 MB
Last updated
almost 6 years ago
docker pull zhuminjie/openseespy:3.2.2.6