google-deepmind / alphafold

Open source code for AlphaFold 2.
Apache License 2.0
12.86k stars 2.28k forks source link

Unable to build #702

Closed methylome closed 1 year ago

methylome commented 1 year ago

I tried to build an image for alphafold, but failed with errors below.

docker build --no-cache -f /app/centos8/alphafold/alphafold-2.3.1/docker/Dockerfile -t alphafold . 

Sending build context to Docker daemon  
...
ERRO[2918] Tar: Can't stat file /home/docker to tar: lstat /home/docker/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local/share/docker/tmp/docker-builder208868774/.local: file name too long        
...
Sending build context to Docker daemon  478.3GB
Step 1/18 : ARG CUDA=11.1.1
Step 2/18 : FROM nvidia/cuda:${CUDA}-cudnn8-runtime-ubuntu18.04
 ---> cd358584cc21
Step 3/18 : ARG CUDA
 ---> Running in 9d39fb0e70ed
Removing intermediate container 9d39fb0e70ed
 ---> 876fd226d599
Step 4/18 : SHELL ["/bin/bash", "-o", "pipefail", "-c"]
 ---> Running in f38f9f737a39
Removing intermediate container f38f9f737a39
 ---> d6e5af833d4c
Step 5/18 : RUN apt-get update --fix-missing     && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y         build-essential         cmake       
  cuda-command-line-tools-$(cut -f1,2 -d- <<< ${CUDA//./-})         git         hmmer         kalign         tzdata         wget     && rm -rf /var/lib/apt/lists/*     &&
 apt-get autoremove -y     && apt-get clean                                                                                                                               
 ---> Running in 5b6d02444600                                                                                                                                             
Get:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease [1581 B]                                                                      
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                                                               
Get:3 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]                                                                                                          
Get:4 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  Packages [1125 kB]                                                                      
Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [3190 kB]                                                                                     
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                                                                                 
Get:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 kB]                                                                                               
Get:8 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]                                                                                         
Get:9 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]                                                                                           
Get:10 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [23.8 kB]                                                                              
Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1426 kB]                                                                              
Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1595 kB]                                                                                
Get:13 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]                                                                                         
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]                                                                                              
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1466 kB]                                                                                
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2369 kB]                                                                                  
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [30.8 kB]                                                                                
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3610 kB]                                                                                      
Get:19 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [20.5 kB]                                                                                
Get:20 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [64.0 kB]                                                                                    
Fetched 28.3 MB in 9s (3115 kB/s)                                                                                                                                         
Reading package lists...                                                                                                                                                  
Reading package lists...                                                                                                                                                  
Building dependency tree...                                                                                                                                               
Reading state information...                                                                                                                                              
The following additional packages will be installed:                                                                                                                      
  binutils binutils-common binutils-x86-64-linux-gnu cmake-data cpp cpp-7                                                                                                 
  cuda-cudart-dev-11-1 cuda-cuobjdump-11-1 cuda-cupti-11-1 cuda-cupti-dev-11-1                                                                                            
  cuda-driver-dev-11-1 cuda-gdb-11-1 cuda-memcheck-11-1 cuda-nvcc-11-1                                                                                                    
  cuda-nvdisasm-11-1 cuda-nvprof-11-1 cuda-sanitizer-11-1 dpkg-dev g++ g++-7                                                                                              
  gcc gcc-7 gcc-7-base git-man libarchive13 libasan4 libatomic1 libbinutils                                                                                               
  libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcurl3-gnutls libcurl4                                                                                                    
  libdivsufsort3 libdpkg-perl liberror-perl libexpat1 libgcc-7-dev                                                                                                        
  libgdbm-compat4 libgdbm5 libgomp1 libgssapi-krb5-2 libicu60 libisl19 libitm1                                                                                            
  libjsoncpp1 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblsan0                                                                                                
  liblzo2-2 libmpc3 libmpfr6 libmpx2 libnghttp2-14 libperl5.26 libpsl5                                                                                                    
  libquadmath0 librhash0 librtmp1 libstdc++-7-dev libtsan0 libubsan0 libuv1                                                                                               
  libxml2 linux-libc-dev make multiarch-support patch perl perl-modules-5.26                                                                                              
  xz-utils                                                                                                                                                                
Suggested packages:                                                                                                                                                       
  binutils-doc cmake-doc ninja-build cpp-doc gcc-7-locales debian-keyring
  g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-multilib
  manpages-dev autoconf automake libtool flex bison gdb gcc-doc gcc-7-multilib
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan4-dbg
  liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg
  libquadmath0-dbg gettext-base git-daemon-run | git-daemon-sysvinit git-doc
  git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn hmmer-doc
  lrzip glibc-doc bzr gdbm-l10n krb5-doc krb5-user libstdc++-7-doc make-doc ed
  diffutils-doc perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl
Recommended packages:
  fakeroot libalgorithm-merge-perl less ssh-client manpages manpages-dev
  libfile-fcntllock-perl liblocale-gettext-perl krb5-locales publicsuffix
  netbase
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential cmake
  cmake-data cpp cpp-7 cuda-command-line-tools-11-1 cuda-cudart-dev-11-1
  cuda-cuobjdump-11-1 cuda-cupti-11-1 cuda-cupti-dev-11-1 cuda-driver-dev-11-1
  cuda-gdb-11-1 cuda-memcheck-11-1 cuda-nvcc-11-1 cuda-nvdisasm-11-1
  cuda-nvprof-11-1 cuda-sanitizer-11-1 dpkg-dev g++ g++-7 gcc gcc-7 gcc-7-base
  git git-man hmmer kalign libarchive13 libasan4 libatomic1 libbinutils
  libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcurl3-gnutls libcurl4
  libdivsufsort3 libdpkg-perl liberror-perl libexpat1 libgcc-7-dev
  libgdbm-compat4 libgdbm5 libgomp1 libgssapi-krb5-2 libicu60 libisl19 libitm1
  libjsoncpp1 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblsan0
  liblzo2-2 libmpc3 libmpfr6 libmpx2 libnghttp2-14 libperl5.26 libpsl5
  libquadmath0 librhash0 librtmp1 libstdc++-7-dev libtsan0 libubsan0 libuv1
  libxml2 linux-libc-dev make multiarch-support patch perl perl-modules-5.26
  tzdata wget xz-utils
0 upgraded, 82 newly installed, 0 to remove and 22 not upgraded.
Need to get 157 MB of archives.
After this operation, 581 MB of additional disk space will be used.
Get:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  cuda-driver-dev-11-1 11.1.74-1 [25.4 kB]
Get:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  cuda-cudart-dev-11-1 11.1.74-1 [1734 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 multiarch-support amd64 2.27-3ubuntu1.6 [6960 B]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblzo2-2 amd64 2.08-1.2 [48.7 kB]
Get:5 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  cuda-nvcc-11-1 11.1.105-1 [27.0 MB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.6 [2764 kB]
Get:7 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  cuda-cupti-11-1 11.1.105-1 [10.9 MB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.6 [3556 kB]
Get:11 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  cuda-cupti-dev-11-1 11.1.105-1 [2294 kB]
Get:12 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  cuda-nvdisasm-11-1 11.1.74-1 [32.8 MB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.6 [201 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.9 [82.8 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libicu60 amd64 60.2-3ubuntu3.2 [8050 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxml2 amd64 2.9.4+dfsg1-6.1ubuntu1.8 [664 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 tzdata all 2022g-0ubuntu0.18.04 [184 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 xz-utils amd64 5.2.2-1.3ubuntu0.1 [83.8 kB]
Get:19 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  cuda-cuobjdump-11-1 11.1.74-1 [110 kB]
Get:20 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  cuda-gdb-11-1 11.1.105-1 [3627 kB]
Get:21 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  cuda-memcheck-11-1 11.1.105-1 [144 kB]
Get:22 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  cuda-nvprof-11-1 11.1.105-1 [1910 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libkrb5support0 amd64 1.16-2ubuntu0.3 [30.9 kB]
Get:24 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  cuda-sanitizer-11-1 11.1.105-1 [7253 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libk5crypto3 amd64 1.16-2ubuntu0.3 [85.5 kB]
Get:26 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libkeyutils1 amd64 1.5.9-9.2ubuntu2.1 [8764 B]
Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libkrb5-3 amd64 1.16-2ubuntu0.3 [278 kB]
Get:28 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  cuda-command-line-tools-11-1 11.1.1-1 [2472 B]
Get:29 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgssapi-krb5-2 amd64 1.16-2ubuntu0.3 [122 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpsl5 amd64 0.19.1-5build1 [41.8 kB]
Get:31 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 wget amd64 1.19.4-1ubuntu2.2 [316 kB]
Get:32 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils-common amd64 2.30-21ubuntu1~18.04.8 [197 kB]
Get:33 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbinutils amd64 2.30-21ubuntu1~18.04.8 [488 kB]
Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils-x86-64-linux-gnu amd64 2.30-21ubuntu1~18.04.8 [1839 kB]
Get:35 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils amd64 2.30-21ubuntu1~18.04.8 [3388 B]
Get:36 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc-dev-bin amd64 2.27-3ubuntu1.6 [71.9 kB]
Get:37 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-204.215 [996 kB]
Get:38 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6-dev amd64 2.27-3ubuntu1.6 [2587 kB]
Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7-base amd64 7.5.0-3ubuntu1~18.04 [18.3 kB]
Get:40 http://archive.ubuntu.com/ubuntu bionic/main amd64 libisl19 amd64 0.19-1 [551 kB]
Get:41 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpfr6 amd64 4.0.1-1 [243 kB]
Get:42 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpc3 amd64 1.1.0-1 [40.8 kB]
Get:43 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp-7 amd64 7.5.0-3ubuntu1~18.04 [8591 kB]
Ign:43 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp-7 amd64 7.5.0-3ubuntu1~18.04
Get:44 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp amd64 4:7.4.0-1ubuntu2.3 [27.7 kB]
Get:45 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcc1-0 amd64 8.4.0-1ubuntu1~18.04 [39.4 kB]
Get:46 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgomp1 amd64 8.4.0-1ubuntu1~18.04 [76.5 kB]
Get:47 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.4.0-1ubuntu1~18.04 [27.9 kB]
Get:48 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.4.0-1ubuntu1~18.04 [9192 B]
Get:49 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.5.0-3ubuntu1~18.04 [358 kB]
Get:50 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.4.0-1ubuntu1~18.04 [133 kB]
Get:51 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.4.0-1ubuntu1~18.04 [288 kB]
Get:52 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.5.0-3ubuntu1~18.04 [126 kB]
Get:53 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.5.0-3ubuntu1~18.04 [42.5 kB]
Get:54 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.4.0-1ubuntu1~18.04 [11.6 kB]
Get:55 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.4.0-1ubuntu1~18.04 [134 kB]
Get:56 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.5.0-3ubuntu1~18.04 [2378 kB]
Get:57 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.5.0-3ubuntu1~18.04 [9381 kB]
Get:58 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5184 B]
Get:59 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.5.0-3ubuntu1~18.04 [1471 kB]
Get:60 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.5.0-3ubuntu1~18.04 [9697 kB]
Get:61 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1568 B]
Get:62 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB]
Get:63 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdpkg-perl all 1.19.0.5ubuntu2.4 [212 kB]
Get:64 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB]
Get:65 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dpkg-dev all 1.19.0.5ubuntu2.4 [607 kB]
Get:66 http://archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4758 B]
Get:67 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cmake-data all 3.10.2-1ubuntu2.18.04.2 [1332 kB]
Get:68 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libarchive13 amd64 3.2.2-3.1ubuntu0.7 [288 kB]
Get:69 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnghttp2-14 amd64 1.30.0-1ubuntu1 [77.8 kB]
Get:70 http://archive.ubuntu.com/ubuntu bionic/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-1 [54.2 kB]
Get:71 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.22 [220 kB]
Get:72 http://archive.ubuntu.com/ubuntu bionic/main amd64 libjsoncpp1 amd64 1.7.4-3 [73.6 kB]
Get:73 http://archive.ubuntu.com/ubuntu bionic/main amd64 librhash0 amd64 1.3.6-2 [78.1 kB]
Get:74 http://archive.ubuntu.com/ubuntu bionic/main amd64 libuv1 amd64 1.18.0-3 [64.4 kB]
Get:75 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cmake amd64 3.10.2-1ubuntu2.18.04.2 [3152 kB]
Get:76 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.22 [218 kB]
Get:77 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB]
Get:78 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.16 [805 kB]
Get:79 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.16 [3929 kB]
Get:80 http://archive.ubuntu.com/ubuntu bionic/universe amd64 kalign amd64 1:2.03+20110620-4 [103 kB]
Get:81 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libdivsufsort3 amd64 2.0.1-3 [44.4 kB]
Get:82 http://archive.ubuntu.com/ubuntu bionic/universe amd64 hmmer amd64 3.1b2+dfsg-5ubuntu1 [1119 kB]
Err:43 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 cpp-7 amd64 7.5.0-3ubuntu1~18.04
  Connection failed [IP: 220.82.45.51 3128]
Fetched 148 MB in 2min 51s (866 kB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/cpp-7_7.5.0-3ubuntu1~18.04_amd64.deb  Connection failed [IP: 220.82.45.51 3128]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
The command '/bin/bash -o pipefail -c apt-get update --fix-missing     && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y         build-essential         cmake         cuda-command-line-tools-$(cut -f1,2 -d- <<< ${CUDA//./-})         git         hmmer         kalign         tzdata         wget     && rm -rf /var/lib/apt/lists/*     && apt-get autoremove -y     && apt-get clean' returned a non-zero code: 100
Htomlinson14 commented 1 year ago

Hi thanks for raising! How many times did you try to build? Looks like a connection time-out

methylome commented 1 year ago

I keep trying to build. My centos server cannot get http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/cpp-7_7.5.0-3ubuntu1~18.04_amd64.deb because the downloading was stalled after 2.22M was downloaded. The resolution was to download cpp-7 using iMAC and install it.

RUN apt-get update --fix-missing \
    && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
        gcc-7-base libisl19 libmpc3 libmpfr6
COPY cpp-7_7.5.0-3ubuntu1~18.04_amd64.deb /tmp
RUN dpkg -i /tmp/cpp-7_7.5.0-3ubuntu1~18.04_amd64.deb
methylome commented 1 year ago

With the fix, the following error occurred.

Step 15/21 : RUN pip3 install --upgrade pip --no-cache-dir     && pip3 install -r /app/alphafold/requirements.txt --no-cache-dir     && pip3 install --upgrade --no-cache-dir       jax==0.3.25       jaxlib==0.3.25+cuda11.cudnn805       -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
 ---> Running in fc0470b024dc
/bin/bash: pip3: command not found
The command '/bin/bash -o pipefail -c pip3 install --upgrade pip --no-cache-dir     && pip3 install -r /app/alphafold/requirements.txt --no-cache-dir     && pip3 install --upgrade --no-cache-dir       jax==0.3.25       jaxlib==0.3.25+cuda11.cudnn805       -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html' returned a non-zero code: 127

RUN ls -l /opt/conda/bin

Step 13/26 : RUN ls -l /opt/conda/bin
 ---> Running in 31537d56f5ff
total 34536
-rwxrwxr-x 1 root root      101 Mar  7 00:34 2to3-3.8
-rwxrwxr-x 1 root root      184 Mar  7 00:34 activate
-rwxrwxr-x 2 root root   110256 Jul 15  2019 bunzip2
-rwxrwxr-x 2 root root   110256 Jul 15  2019 bzcat
lrwxrwxrwx 1 root root        6 Mar  7 00:24 bzcmp -> bzdiff
-rwxrwxr-x 2 root root     2140 Jul 15  2019 bzdiff
lrwxrwxrwx 1 root root        6 Mar  7 00:24 bzegrep -> bzgrep
lrwxrwxrwx 1 root root        6 Mar  7 00:24 bzfgrep -> bzgrep
-rwxrwxr-x 2 root root     2054 Jul 15  2019 bzgrep
-rwxrwxr-x 2 root root   110256 Jul 15  2019 bzip2
-rwxrwxr-x 2 root root    21064 Jul 15  2019 bzip2recover
lrwxrwxrwx 1 root root        6 Mar  7 00:24 bzless -> bzmore
-rwxrwxr-x 2 root root     1259 Jul 15  2019 bzmore
-rwxrwxr-x 1 root root     7226 Mar  7 00:34 c_rehash
lrwxrwxrwx 1 root root        3 Mar  7 00:24 captoinfo -> tic
-rwxrwxr-x 2 root root    14312 Jan 26 11:54 clear
-rwxrwxr-x 1 root root      511 Mar  7 00:34 conda
-rwxrwxr-x 1 root root      148 Mar  7 00:34 conda-env
-rwxrwxr-x 1 root root      234 Mar  7 00:34 cph
-rwxrwxr-x 1 root root      272 Mar  7 00:34 deactivate
-rwxrwxr-x 1 root root      254 Mar  7 00:34 f2py
-rwxrwxr-x 1 root root      254 Mar  7 00:34 f2py3
-rwxrwxr-x 1 root root      254 Mar  7 00:34 f2py3.8
-rwxrwxr-x 1 root root  2450264 Dec  4  2021 fftw-wisdom
-rwxrwxr-x 1 root root     2282 Dec  4  2021 fftw-wisdom-to-conf
-rwxrwxr-x 1 root root  2500392 Dec  4  2021 fftwf-wisdom
-rwxrwxr-x 1 root root  1102640 Dec  4  2021 fftwl-wisdom
-rwxrwxr-x 1 root root       99 Mar  7 00:34 idle3.8
-rwxrwxr-x 2 root root    63536 Jan 26 11:54 infocmp
lrwxrwxrwx 1 root root        3 Mar  7 00:24 infotocap -> tic
lrwxrwxrwx 1 root root        2 Mar  7 00:24 lzcat -> xz
lrwxrwxrwx 1 root root        6 Mar  7 00:24 lzcmp -> xzdiff
lrwxrwxrwx 1 root root        6 Mar  7 00:24 lzdiff -> xzdiff
lrwxrwxrwx 1 root root        6 Mar  7 00:24 lzegrep -> xzgrep
lrwxrwxrwx 1 root root        6 Mar  7 00:24 lzfgrep -> xzgrep
lrwxrwxrwx 1 root root        6 Mar  7 00:24 lzgrep -> xzgrep
lrwxrwxrwx 1 root root        6 Mar  7 00:24 lzless -> xzless
lrwxrwxrwx 1 root root        2 Mar  7 00:24 lzma -> xz
-rwxrwxr-x 2 root root    17184 Jan 18 19:39 lzmadec
-rwxrwxr-x 1 root root    17016 Mar  7 00:24 lzmainfo
lrwxrwxrwx 1 root root        6 Mar  7 00:24 lzmore -> xzmore
-rwxrwxr-x 1 root root     8866 Mar  7 00:24 ncursesw6-config
-rwxrwxr-x 1 root root  1094680 May  3  2022 openssl
-rwxr-xr-x 1 root root      227 Mar  7 00:34 pdbfixer
-rwxrwxr-x 1 root root       84 Mar  7 00:34 pydoc3.8
-rwxrwxr-x 1 root root 22751104 Mar  7 00:34 python3.8
-rwxrwxr-x 1 root root     3489 Mar  7 00:34 python3.8-config
lrwxrwxrwx 1 root root        4 Mar  7 00:24 reset -> tset
-rwxrwxr-x 2 root root  1678440 Jan  9 19:53 sqlite3
-rwxrwxr-x 2 root root    30392 Jun  1  2022 sqlite3_analyzer
-rwxrwxr-x 2 root root    22424 Jan 26 11:54 tabs
lrwxrwxrwx 1 root root        8 Mar  7 00:24 tclsh -> tclsh8.6
-rwxrwxr-x 2 root root    16816 Jun  1  2022 tclsh8.6
-rwxrwxr-x 2 root root    92248 Jan 26 11:54 tic
-rwxrwxr-x 2 root root    22424 Jan 26 11:54 toe
-rwxrwxr-x 2 root root    22528 Jan 26 11:54 tput
-rwxrwxr-x 2 root root    30696 Jan 26 11:54 tset
lrwxrwxrwx 1 root root        2 Mar  7 00:24 unlzma -> xz
lrwxrwxrwx 1 root root        2 Mar  7 00:24 unxz -> xz
lrwxrwxrwx 1 root root        7 Mar  7 00:24 wish -> wish8.6
-rwxrwxr-x 2 root root    16968 Jun  1  2022 wish8.6
-rwxrwxr-x 2 root root  2777592 May 19  2022 x86_64-conda-linux-gnu-ld
lrwxrwxrwx 1 root root       25 Mar  7 00:24 x86_64-conda_cos7-linux-gnu-ld -> x86_64-conda-linux-gnu-ld
-rwxrwxr-x 1 root root    95096 Mar  7 00:24 xz
lrwxrwxrwx 1 root root        2 Mar  7 00:24 xzcat -> xz
lrwxrwxrwx 1 root root        6 Mar  7 00:24 xzcmp -> xzdiff
-rwxrwxr-x 2 root root    17184 Jan 18 19:39 xzdec
-rwxrwxr-x 2 root root     7373 Jan 18 19:39 xzdiff
lrwxrwxrwx 1 root root        6 Mar  7 00:24 xzegrep -> xzgrep
lrwxrwxrwx 1 root root        6 Mar  7 00:24 xzfgrep -> xzgrep
-rwxrwxr-x 2 root root    10334 Jan 18 19:39 xzgrep
-rwxrwxr-x 2 root root     1814 Jan 18 19:39 xzless
-rwxrwxr-x 2 root root     2191 Jan 18 19:39 xzmore

There were no pip3. However

Step 15/26 : RUN python -m pip --version
 ---> Running in 1309e10b6062
pip 23.0.1 from /opt/conda/lib/python3.8/site-packages/pip (python 3.8)
Step 16/26 : RUN conda list pip
 ---> Running in 43297f4e4cec
# packages in environment at /opt/conda:
#
# Name                    Version                   Build  Channel
pip                       23.0.1             pyhd8ed1ab_0    conda-forge
methylome commented 1 year ago

Solved by repliacing pip3 with python -m pip.

methylome commented 1 year ago

Another problem was solved by replacing /app/alphafold/docker/openmm.patch with /app/alphafold/openmm.patch

Step 18/22 : RUN patch -p0 < /app/alphafold/docker/openmm.patch
 ---> Running in 24a6639eab51
/bin/bash: /app/alphafold/docker/openmm.patch: No such file or directory