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

Singularity Definition #143

Closed
jdhayes opened this issue Aug 19, 2021 · 6 comments
Closed

Singularity Definition #143

jdhayes opened this issue Aug 19, 2021 · 6 comments
Labels
feature request New feature or request setup Issue setting up AlphaFold

Comments

@jdhayes
Copy link

jdhayes commented Aug 19, 2021

Here is a singularity definition dirived from your Dockerfile:
https://github.com/jdhayes/alphafold/blob/main/docker/Singularity.def
Do you think you could integrate this with your codebase, should I make a pull request?

@jdhayes
Copy link
Author

jdhayes commented Aug 19, 2021

@abridgland abridgland added feature request New feature or request setup Issue setting up AlphaFold labels Sep 1, 2021
@EricDeveaud
Copy link

Hello in order to tun the downlaod scripts from the container
aria2 and rsync should be installed
esay fix, see above diff. not sure it worth providing a patch ;-)

packbuilder:alphafold/alphafold-v2.0.0 > diff -u Singularity.def alphafold-v2.0.0.recipe
--- Singularity.def     2021-09-23 17:13:49.019136000 +0200
+++ alphafold-v2.0.0.recipe     2021-09-23 17:13:29.162525000 +0200
@@ -41,6 +41,8 @@
kalign \
tzdata \
wget \
+aria2 \
+rsync \
&& rm -rf /var/lib/apt/lists/*

# Get code base

regards

Eric

@tomgreen66
Copy link

Did a run_docker.py-like script get written? I converted Python to bash since we didn't need any Python API - see: /ARCCA/alphafold/tree/singularity/docker/run_singularity.sh

@EricDeveaud
Copy link

see bottom of the singularity defintion file.
a shell script is generated.

echo '#!/bin/bash
#ldconfig
source /opt/conda/etc/profile.d/conda.sh
conda activate base
python /app/alphafold/run_alphafold.py "$@"' > /app/run_alphafold.sh

this is the launcher you should use

singularity run <singulariy arguments> <alphafold arguments>

@Augustin-Zidek
Copy link
Collaborator

Unfortunately we don't have the capacity to maintain and support Singularity. We added a link in the README to the two AlphaFold issues that have links to third party repositories with Singularity definition files (#10 and #24).

@SomePersonSomeWhereInTheWorld

Looks like the link to the cuda download is broken:

FATAL: While performing build: conveyor failed to get: Error reading manifest 11.1-cudnn8-runtime-ubuntu18.04 in docker.io/nvidia/cuda: manifest unknown: manifest unknown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request setup Issue setting up AlphaFold
Projects
None yet
Development

No branches or pull requests

6 participants