-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
"/app/alphafold/docker/openmm.patch: No such file or directory" or "can't open file '/app/alphafold/run_alphafold.py': [Errno 2] No such file or directory" #371
Comments
and it give me warning in step 12 × The package index page being used does not have a proper HTML doctype declaration. note: This is an issue with the page at the URL mentioned above. |
Edit: Original text: I didn't observe problems with building the image - however, when starting it by running this on RHEL7.9 / latest docker-ce with python3 coming from a venv (python 3.6) with all the things from docker/requirements.txt inside like this:
I get almost the same error:
Note, that /somewhere is a NFS mount on the host, however "root" as well as docker users can access i.e. /somewhere/alphafold/run_alphafold.py but I doubt it is mounted this way but part of the image itself, right? If my bug is something different I'm sorry for polluting this issue and would open another issue instead. Thanks |
Hello! I think the original issue is todo with where you run |
when i build docker image in the docker folder "docker build -t alphafold ."
and then
report error
Step 14/18 : RUN patch -p0 < /app/alphafold/docker/openmm.patch
---> Running in f507715f75d9
/bin/bash: /app/alphafold/docker/openmm.patch: No such file or directory
The command '/bin/bash -c patch -p0 < /app/alphafold/docker/openmm.patch' returned a non-zero code: 1
then i modify the dockerfile
#73 RUN patch -p0 < /app/alphafold/openmm.patch
then the docker image successful build$'#!/bin/bash\nldconfig\npython /app/alphafold/run_alphafold.py "$ @"' > /app/run_alphafold.sh && chmod +x /app/run_alphafold.sh
Step 14/18 : RUN patch -p0 < /app/alphafold/openmm.patch
---> Running in e17ea0d47b4d
patching file simtk/openmm/app/topology.py
Hunk #1 succeeded at 353 (offset -3 lines).
Removing intermediate container e17ea0d47b4d
---> ce77a4895544
Step 15/18 : RUN chmod u+s /sbin/ldconfig.real
---> Running in 71924dd71397
Removing intermediate container 71924dd71397
---> e1c43b3cc4fc
Step 16/18 : WORKDIR /app/alphafold
---> Running in 0d81f85886dc
Removing intermediate container 0d81f85886dc
---> 4c16bc524dd8
Step 17/18 : RUN echo
---> Running in dce02456db5b
Removing intermediate container dce02456db5b
---> 4ce1b8b476b5
Step 18/18 : ENTRYPOINT ["/app/run_alphafold.sh"]
---> Running in ca2af0632d71
Removing intermediate container ca2af0632d71
---> ca5a3d381436
Successfully built ca5a3d381436
Successfully tagged alphafold:latest
but when i run the docker
❯ python3 docker/run_docker.py
--fasta_paths=s.fas
--max_template_date=2020-05-14
--data_dir=/home/mky/Data/alphafold_data/
I0216 09:40:52.541118 140714467206976 run_docker.py:107] Mounting /home/mky/Videos/alphafold-main -> /mnt/fasta_path_0
I0216 09:40:52.541209 140714467206976 run_docker.py:107] Mounting /home/mky/Data/alphafold_data/uniref90 -> /mnt/uniref90_database_path
I0216 09:40:52.541244 140714467206976 run_docker.py:107] Mounting /home/mky/Data/alphafold_data/mgnify -> /mnt/mgnify_database_path
I0216 09:40:52.541273 140714467206976 run_docker.py:107] Mounting /home/mky/Data -> /mnt/data_dir
I0216 09:40:52.541300 140714467206976 run_docker.py:107] Mounting /home/mky/Data/alphafold_data/pdb_mmcif -> /mnt/template_mmcif_dir
I0216 09:40:52.541326 140714467206976 run_docker.py:107] Mounting /home/mky/Data/alphafold_data/pdb_mmcif -> /mnt/obsolete_pdbs_path
I0216 09:40:52.541353 140714467206976 run_docker.py:107] Mounting /home/mky/Data/alphafold_data/pdb70 -> /mnt/pdb70_database_path
I0216 09:40:52.541379 140714467206976 run_docker.py:107] Mounting /home/mky/Data/alphafold_data/uniclust30/uniclust30_2018_08 -> /mnt/uniclust30_database_path
I0216 09:40:52.541405 140714467206976 run_docker.py:107] Mounting /home/mky/Data/alphafold_data/bfd -> /mnt/bfd_database_path
I0216 09:40:54.052704 140714467206976 run_docker.py:247] python: can't open file '/app/alphafold/run_alphafold.py': [Errno 2] No such file or directory
it report this error
I'm looking for a way to solve my problem
Want to know if you can give the official docker image
thank you very much!!!
The text was updated successfully, but these errors were encountered: