Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare Docker container with MATLAB runtime #18

Closed
4 of 5 tasks
agitter opened this issue May 3, 2019 · 2 comments
Closed
4 of 5 tasks

Prepare Docker container with MATLAB runtime #18

agitter opened this issue May 3, 2019 · 2 comments

Comments

@agitter
Copy link
Member

agitter commented May 3, 2019

#16 confirmed that it is possible to run SINGE inside a Docker to container using compiled MATLAB code. Our next step will be to create a general purpose SINGE Docker container. Specific tasks include:

@agitter
Copy link
Member Author

agitter commented May 4, 2019

CHTC shared the Docker command that HTCondor runs after transferring files, pulling a Docker container, and starting the container:
docker run --user $(id -u):$(id -g) -v $PWD:/scratch -w /scratch username/imagename:tag /path/to/executable

OSG uses Singularity and has a related command: https://gist.github.com/ChristinaLK/3e147f940cd02513c4cdc7c4b04ccfed

We could test these using the compiled SCINGE_Example from #16 while we work on the more general container.

@agitter
Copy link
Member Author

agitter commented Jan 26, 2020

Closed by the v0.4.0 release. We now have a process for pushing temporary compiled MATLAB executables to https://www.biostat.wisc.edu/~gitter/tmp (or some other temporary location) and using them in temporary Docker images. When the code is versioned, we upload the versioned executables to the GitHub release. Then we create a new versioned Docker image from those versioned executables, which is visible from https://hub.docker.com/r/agitter/singe/tags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant