Closed almeida85 closed 3 days ago
The issue was that Singularity doesn’t automatically set the working directory like Docker does. By using the full path
python /app/alphafold/run_alphafold.py,
it worked correctly.
@DrizzeTing thanks! I've updated the %runscript
section with an absolute path and removed the unnecessary cd
step. https://gist.github.com/aozalevsky/f4704d2a07040ab6852fbeaf46726832
NB: this is not an "official" singularity recipe, and I don't perform extensive testing aside from verifying that it successfully builds and can show cli options and/or run run_alphafod_test.py
Thanks for reporting! Fixed in https://github.com/google-deepmind/alphafold3/commit/65328c9cfbbb5b7f41a83e27c20891cb578ea3a9.
Hello,
I am trying to run with Singularity in my HPC. I generated the image with the
Singularity.def
file provided before in #23. With this, I build the sif image without problemsMy script is the following:
When I run the script I get the error:
/alphafold3_venv/bin/python: can't open file '//alphafold3/run_alphafold.py': [Errno 2] No such file or directory
The image is located in the alphafold3 root folder cloned from GitHub.
Any help is appreciated.
Thanks