forked from google-deepmind/alphafold
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconda_create.sh
34 lines (26 loc) · 853 Bytes
/
conda_create.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
CUDA=11.5
ENVNAME=af2
conda create --name $ENVNAME -y -c conda-forge -c nvidia \
python=3.7 \
openmm=7.5.1 \
cudatoolkit=$CUDA \
pdbfixer \
pip \
absl-py=0.13.0 \
cudnn \
libcusolver
source activate $ENVNAME
pip install --upgrade pip
pip3 install -r requirements.txt
# this need to be updated
pip3 install --upgrade "jax[cuda11_cudnn82]" jaxlib -f \
https://storage.googleapis.com/jax-releases/jax_releases.html
openmm_patch=$(readlink -f docker/openmm.patch)
cd $CONDA_PREFIX/lib/python3.7/site-packages
patch -p0 < $openmm_patch
cd -
if [[ ! -e alphafold/common/stereo_chemical_props.txt ]]; then
wget -q -P alphafold/common/ \
https://git.scicore.unibas.ch/schwede/openstructure/-/raw/7102c63615b64735c4941278d92b554ec94415f8/modules/mol/alg/src/stereo_chemical_props.txt
fi