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

Non docker setup #24

Closed
sanjaysrikakulam opened this issue Jul 17, 2021 · 15 comments
Closed

Non docker setup #24

sanjaysrikakulam opened this issue Jul 17, 2021 · 15 comments
Labels
setup Issue setting up AlphaFold

Comments

@sanjaysrikakulam
Copy link

Dear AlphaFold authors,

Since most of the IT does not allow docker on their HPC's or production servers, we have made a small attempt to create a How-To for non-docker AlphaFold setup.

Can be found here: https://github.com/kalininalab/alphafold_non_docker

Thank you for the tool!

Kind regards,
Sanjay

@huhlim
Copy link

huhlim commented Jul 18, 2021

Thank you for sharing your tips! My solution was very similar to yours, I was about to share mine. :)
For the record, in my case, the NVIDIA driver installed on our system supports cuda/cudatoolkits up to 11.0. In this case, I was able to create a non-docker environment with jaxlib==0.1.68+cuda110, jax==0.2.17

UPDATE: according to #20, jaxlib==0.1.69 is required to be able to use CUDA unified memory for running long sequences.

@kuixu
Copy link

kuixu commented Jul 18, 2021

Here is a another one. https://github.com/kuixu/alphafold

@lydonchandra
Copy link

lydonchandra commented Jul 18, 2021

@sanjaysrikakulam and @kuixu
following both ur examples, on Ubuntu 20.0 LTS on VirtualMachine/VMware and WSL2 (windows 10 host)
always missing simtk/openmm in site-packages ?

i have cuda 10.1 installed on my windows PC, will upgrade to 11

~/miniconda3/envs/alphafold/lib/python3.8/site-packages

@sanjaysrikakulam
Copy link
Author

sanjaysrikakulam commented Jul 18, 2021

@lydonchandra Sorry I don't have a windows system to test this.

Update: if you get missing simtk/openmm issues, it means the openmm installation was not through properly. I would suggest reinstalling this package alone and check if it gets installed.

@lydonchandra
Copy link

thanks for confirming @sanjaysrikakulam , it runs flawlessly on ubuntu 20 baremetal.

windows 10 WSL does not support cuda yet (windows 10 insider does) which i haven't tried.

@htlee6
Copy link

htlee6 commented Jul 20, 2021

Is it possible that we run a non-Docker version AF2 in a Docker container?
Consumes a lot of time to configure the environment on a host.

@hyoo
Copy link

hyoo commented Aug 5, 2021

for those who prefers singularity container (such as HPC environment), I wrapped the instructions from @sanjaysrikakulam and made a singularity definition files. https://github.com/hyoo/alphafold_singularity
hope this helps.

@AlvinHew
Copy link

Hi, how should I output five models instead of only one as shown in the example? Thanks

@sanjaysrikakulam
Copy link
Author

sanjaysrikakulam commented Aug 17, 2021

Hi @AlvinHew, please refer to our repo's readme.

@AlvinHew
Copy link

Hi @AlvinHew, please refer to our repo's readme.

Do you mean by specifying model_1, model_2, ... etc. in the flag -m ?

@sanjaysrikakulam
Copy link
Author

Yes, but make sure you do not have spaces (e.g., -m model_1,model_2,model_3,model_4,model_5)

@AlvinHew
Copy link

Thanks for the reminder!

@amorehead
Copy link

amorehead commented Dec 5, 2021

Hi, all. I have recently been organizing a recent fork of AlphaFold (with multimer support) that removes all Docker dependencies. If you find it helpful, please feel free to give it a try and let me know what you think: https://github.com/amorehead/alphafold_non_docker

@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 this issue and issue #10 that have links to third party repositories with Singularity definition files. I am going to close this issue as it is directly accessible from the README.

@prehensilecode
Copy link

prehensilecode commented Jul 30, 2022

I am maintaining a Singularity port of AlphaFold's Docker stuff. It makes no change to the AlphaFold code (or even its Docker code): it merely adds a new directory for the Singularity stuff. It also has an example Slurm job script.

It has just been updated for AlphaFold 2.2.2. Please see https://github.com/prehensilecode/alphafold_singularity

Feel free to fork and submit issues or pull requests there.

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

No branches or pull requests

12 participants