Climber Grasshopper module - alan-turing-institute/protein_folding GitHub Wiki
How to install Deploy and Run the Climber-Grasshopper Module
<skip steps 1,2, 4-8 if you have already cloned the repository and pulled the docker container>
- Clone or Download the repository. (climber-Grasshoper branch)
- Open grasshopper and update the two input paths: (AMP state from within the RUN101 folder inside the downloaded repository),(data input from local machine).
- Open the state.txt inside the RUN101 folder in the repository folder and delete whatever is written there and save.
- Sign up and Download the latest SimTK Climber for Linux from the SimTK website.
- Extract the contents of the downloaded Climber to the "Climber" folder inside the cloned repository.
- Download and install Docker.
- Open CMD and cd to the "climber-docker" folder in the repository.
- Log in to dockerhub
docker login
(add credentials for climberapp) and pull docker imagedocker pull climberapp/climber-test:latest
. - Mount RUN101 folder which is found in the repository main path in the container using
docker run -v "%cd%\RUN101":/usr/src/Climber/examples/RUN101 -it climberapp/climber-test:latest bash
. - The previous command line should also run the container's bash line. Navigate to the mounted RUN101 folder in the container:
cd usr/src/Climber/examples/RUN101
. - Run Climber
python3 climberrunner.py
Docker should be running and climber should be ready to listen to grassopper. - Go back to grasshopper and activate the Boolean component "START" (this should kick off grasshopper).
- go to the state.txt file and type "start" (without the quotes) and save. start will kick off the grasshopper-climber loop and files should start appearing within the RUN101 folder.
To simply run the container without mounting: run docker container docker run climberapp/climber-test:latest
.