Hi OpenSim Team,
I have recently gained access to our university HPC cluster, with the hope that this will help with running optimal control problems through OpenSim Moco via Python scripting. Ideally I could just use the conda opensim-moco package, but the HPC runs on Linux and unfortunately the conda package for this isn't ready yet. I also cannot install OpenSim on the HPC myself, so the recommended option was to use a container/docker image.
I found that relevant containers for OpenSim are available (e.g. https://hub.docker.com/r/stanfordnmbl/opensim-python) and was successfully able to pull this to the HPC. The HPC uses Singularity to do this, and I end up with an 'opensim-python_4.5.sif' file that I can use to access the container - but here is where I'm stuck, as I have no idea what to do once I've accessed the container. I would have thought that this container would have Python included, but the 'python' command gives me nothing rather than what I'd expect. I'm wondering if there is anything I'm missing, or specific advice for this use case?
Perhaps a simpler question - does the latest container for OpenSim 4.5 include Moco (I noticed that there is an extra 4.4 with Moco version on docker)?
Thanks,
Aaron
Using an OpenSim Docker Container
- Mohammadreza Rezaie
- Posts: 408
- Joined: Fri Nov 24, 2017 12:48 am
Re: Using an OpenSim Docker Container
Hi, the conda opensim-moco package for Linux is already available through opensim_admin channel: https://anaconda.org/opensim_admin/opensim-mocoIdeally I could just use the conda opensim-moco package, but the HPC runs on Linux and unfortunately the conda package for this isn't ready yet.
Hope this helps.
-Mohammadreza
Re: Using an OpenSim Docker Container
Thanks Mohammadreza - that might be a useful solution. I've been conversing with Nick about this on the Moco forum, so might raise it over there as to what this conda package includes. This package might be a work in progress given what he's mentioned over there.
Aaron
Aaron