Merck / BioPhi

BioPhi is an open-source antibody design platform. It features methods for automated antibody humanization (Sapiens), humanness evaluation (OASis) and an interface for computer-assisted antibody sequence design.
https://biophi.dichlab.org/
MIT License
131 stars 44 forks source link

make docker-build fails on machines with <=4GB RAM, but succeeds with >=8GB RAM #14

Closed erikr closed 2 years ago

erikr commented 2 years ago

Provisioned a fresh VM with Ubuntu 20.04., git v2.25.1, and latest clone of BioPhi's main.

2 vCPU and 4 GB RAM throws the following error:

Click to expand console output ```bash base $ git clone https://github.com/Merck/BioPhi.git Cloning into 'BioPhi'... remote: Enumerating objects: 1513, done. remote: Counting objects: 100% (1513/1513), done. remote: Compressing objects: 100% (1103/1103), done. remote: Total 1513 (delta 467), reused 1419 (delta 385), pack-reused 0 Receiving objects: 100% (1513/1513), 14.62 MiB | 43.79 MiB/s, done. Resolving deltas: 100% (467/467), done. base $ cd BioPhi base $ make docker-build docker-compose build redis uses an image, skipping Building web Sending build context to Docker daemon 29.64MB Step 1/11 : FROM continuumio/miniconda3 latest: Pulling from continuumio/miniconda3 33847f680f63: Pull complete f5a80bcd1413: Pull complete 8d0d14d1334a: Pull complete Digest: sha256:592a60b95b547f31c11dc6593832e962952e3178f1fa11db37f43a2afe8df8d7 Status: Downloaded newer image for continuumio/miniconda3:latest ---> 67414e5844b6 Step 2/11 : RUN apt-get update -y && apt-get install -y --no-install-recommends build-essential ---> Running in 4c3edc93c3d5 Get:1 http://deb.debian.org/debian buster InRelease [122 kB] Get:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB] Get:5 http://deb.debian.org/debian buster-updates/main amd64 Packages [15.2 kB] Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [302 kB] Fetched 8463 kB in 2s (5427 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 cpp cpp-8 dpkg-dev g++ g++-8 gcc gcc-8 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libdpkg-perl libgcc-8-dev libgomp1 libisl19 libitm1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 libstdc++-8-dev libtsan0 libubsan1 linux-libc-dev make patch xz-utils Suggested packages: binutils-doc cpp-doc gcc-8-locales debian-keyring g++-multilib g++-8-multilib gcc-8-doc libstdc++6-8-dbg gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc gcc-8-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg glibc-doc gnupg | gnupg2 bzr libstdc++-8-doc make-doc ed diffutils-doc Recommended packages: fakeroot gnupg | gnupg2 libalgorithm-merge-perl manpages manpages-dev libfile-fcntllock-perl liblocale-gettext-perl The following NEW packages will be installed: binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-8 dpkg-dev g++ g++-8 gcc gcc-8 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libdpkg-perl libgcc-8-dev libgomp1 libisl19 libitm1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 libstdc++-8-dev libtsan0 libubsan1 linux-libc-dev make patch xz-utils 0 upgraded, 34 newly installed, 0 to remove and 4 not upgraded. Need to get 47.3 MB of archives. After this operation, 181 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 xz-utils amd64 5.2.4-1 [183 kB] Get:2 http://security.debian.org/debian-security buster/updates/main amd64 linux-libc-dev amd64 4.19.194-3 [1459 kB] Get:3 http://deb.debian.org/debian buster/main amd64 binutils-common amd64 2.31.1-16 [2073 kB] Get:4 http://deb.debian.org/debian buster/main amd64 libbinutils amd64 2.31.1-16 [478 kB] Get:5 http://deb.debian.org/debian buster/main amd64 binutils-x86-64-linux-gnu amd64 2.31.1-16 [1823 kB] Get:6 http://deb.debian.org/debian buster/main amd64 binutils amd64 2.31.1-16 [56.8 kB] Get:7 http://deb.debian.org/debian buster/main amd64 libc-dev-bin amd64 2.28-10 [275 kB] Get:8 http://deb.debian.org/debian buster/main amd64 libc6-dev amd64 2.28-10 [2691 kB] Get:9 http://deb.debian.org/debian buster/main amd64 libisl19 amd64 0.20-2 [587 kB] Get:10 http://deb.debian.org/debian buster/main amd64 libmpfr6 amd64 4.0.2-1 [775 kB] Get:11 http://deb.debian.org/debian buster/main amd64 libmpc3 amd64 1.1.0-1 [41.3 kB] Get:12 http://deb.debian.org/debian buster/main amd64 cpp-8 amd64 8.3.0-6 [8914 kB] Get:13 http://deb.debian.org/debian buster/main amd64 cpp amd64 4:8.3.0-1 [19.4 kB] Get:14 http://deb.debian.org/debian buster/main amd64 libcc1-0 amd64 8.3.0-6 [46.6 kB] Get:15 http://deb.debian.org/debian buster/main amd64 libgomp1 amd64 8.3.0-6 [75.8 kB] Get:16 http://deb.debian.org/debian buster/main amd64 libitm1 amd64 8.3.0-6 [27.7 kB] Get:17 http://deb.debian.org/debian buster/main amd64 libatomic1 amd64 8.3.0-6 [9032 B] Get:18 http://deb.debian.org/debian buster/main amd64 libasan5 amd64 8.3.0-6 [362 kB] Get:19 http://deb.debian.org/debian buster/main amd64 liblsan0 amd64 8.3.0-6 [131 kB] Get:20 http://deb.debian.org/debian buster/main amd64 libtsan0 amd64 8.3.0-6 [283 kB] Get:21 http://deb.debian.org/debian buster/main amd64 libubsan1 amd64 8.3.0-6 [120 kB] Get:22 http://deb.debian.org/debian buster/main amd64 libmpx2 amd64 8.3.0-6 [11.4 kB] Get:23 http://deb.debian.org/debian buster/main amd64 libquadmath0 amd64 8.3.0-6 [133 kB] Get:24 http://deb.debian.org/debian buster/main amd64 libgcc-8-dev amd64 8.3.0-6 [2298 kB] Get:25 http://deb.debian.org/debian buster/main amd64 gcc-8 amd64 8.3.0-6 [9452 kB] Get:26 http://deb.debian.org/debian buster/main amd64 gcc amd64 4:8.3.0-1 [5196 B] Get:27 http://deb.debian.org/debian buster/main amd64 libstdc++-8-dev amd64 8.3.0-6 [1532 kB] Get:28 http://deb.debian.org/debian buster/main amd64 g++-8 amd64 8.3.0-6 [9752 kB] Get:29 http://deb.debian.org/debian buster/main amd64 g++ amd64 4:8.3.0-1 [1644 B] Get:30 http://deb.debian.org/debian buster/main amd64 make amd64 4.2.1-1.2 [341 kB] Get:31 http://deb.debian.org/debian buster/main amd64 libdpkg-perl all 1.19.7 [1414 kB] Get:32 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB] Get:33 http://deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1773 kB] Get:34 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 47.3 MB in 1s (68.9 MB/s) Selecting previously unselected package xz-utils. (Reading database ... 12133 files and directories currently installed.) Preparing to unpack .../00-xz-utils_5.2.4-1_amd64.deb ... Unpacking xz-utils (5.2.4-1) ... Selecting previously unselected package binutils-common:amd64. Preparing to unpack .../01-binutils-common_2.31.1-16_amd64.deb ... Unpacking binutils-common:amd64 (2.31.1-16) ... Selecting previously unselected package libbinutils:amd64. Preparing to unpack .../02-libbinutils_2.31.1-16_amd64.deb ... Unpacking libbinutils:amd64 (2.31.1-16) ... Selecting previously unselected package binutils-x86-64-linux-gnu. Preparing to unpack .../03-binutils-x86-64-linux-gnu_2.31.1-16_amd64.deb ... Unpacking binutils-x86-64-linux-gnu (2.31.1-16) ... Selecting previously unselected package binutils. Preparing to unpack .../04-binutils_2.31.1-16_amd64.deb ... Unpacking binutils (2.31.1-16) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../05-libc-dev-bin_2.28-10_amd64.deb ... Unpacking libc-dev-bin (2.28-10) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../06-linux-libc-dev_4.19.194-3_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.19.194-3) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../07-libc6-dev_2.28-10_amd64.deb ... Unpacking libc6-dev:amd64 (2.28-10) ... Selecting previously unselected package libisl19:amd64. Preparing to unpack .../08-libisl19_0.20-2_amd64.deb ... Unpacking libisl19:amd64 (0.20-2) ... Selecting previously unselected package libmpfr6:amd64. Preparing to unpack .../09-libmpfr6_4.0.2-1_amd64.deb ... Unpacking libmpfr6:amd64 (4.0.2-1) ... Selecting previously unselected package libmpc3:amd64. Preparing to unpack .../10-libmpc3_1.1.0-1_amd64.deb ... Unpacking libmpc3:amd64 (1.1.0-1) ... Selecting previously unselected package cpp-8. Preparing to unpack .../11-cpp-8_8.3.0-6_amd64.deb ... Unpacking cpp-8 (8.3.0-6) ... Selecting previously unselected package cpp. Preparing to unpack .../12-cpp_4%3a8.3.0-1_amd64.deb ... Unpacking cpp (4:8.3.0-1) ... Selecting previously unselected package libcc1-0:amd64. Preparing to unpack .../13-libcc1-0_8.3.0-6_amd64.deb ... Unpacking libcc1-0:amd64 (8.3.0-6) ... Selecting previously unselected package libgomp1:amd64. Preparing to unpack .../14-libgomp1_8.3.0-6_amd64.deb ... Unpacking libgomp1:amd64 (8.3.0-6) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../15-libitm1_8.3.0-6_amd64.deb ... Unpacking libitm1:amd64 (8.3.0-6) ... Selecting previously unselected package libatomic1:amd64. Preparing to unpack .../16-libatomic1_8.3.0-6_amd64.deb ... Unpacking libatomic1:amd64 (8.3.0-6) ... Selecting previously unselected package libasan5:amd64. Preparing to unpack .../17-libasan5_8.3.0-6_amd64.deb ... Unpacking libasan5:amd64 (8.3.0-6) ... Selecting previously unselected package liblsan0:amd64. Preparing to unpack .../18-liblsan0_8.3.0-6_amd64.deb ... Unpacking liblsan0:amd64 (8.3.0-6) ... Selecting previously unselected package libtsan0:amd64. Preparing to unpack .../19-libtsan0_8.3.0-6_amd64.deb ... Unpacking libtsan0:amd64 (8.3.0-6) ... Selecting previously unselected package libubsan1:amd64. Preparing to unpack .../20-libubsan1_8.3.0-6_amd64.deb ... Unpacking libubsan1:amd64 (8.3.0-6) ... Selecting previously unselected package libmpx2:amd64. Preparing to unpack .../21-libmpx2_8.3.0-6_amd64.deb ... Unpacking libmpx2:amd64 (8.3.0-6) ... Selecting previously unselected package libquadmath0:amd64. Preparing to unpack .../22-libquadmath0_8.3.0-6_amd64.deb ... Unpacking libquadmath0:amd64 (8.3.0-6) ... Selecting previously unselected package libgcc-8-dev:amd64. Preparing to unpack .../23-libgcc-8-dev_8.3.0-6_amd64.deb ... Unpacking libgcc-8-dev:amd64 (8.3.0-6) ... Selecting previously unselected package gcc-8. Preparing to unpack .../24-gcc-8_8.3.0-6_amd64.deb ... Unpacking gcc-8 (8.3.0-6) ... Selecting previously unselected package gcc. Preparing to unpack .../25-gcc_4%3a8.3.0-1_amd64.deb ... Unpacking gcc (4:8.3.0-1) ... Selecting previously unselected package libstdc++-8-dev:amd64. Preparing to unpack .../26-libstdc++-8-dev_8.3.0-6_amd64.deb ... Unpacking libstdc++-8-dev:amd64 (8.3.0-6) ... Selecting previously unselected package g++-8. Preparing to unpack .../27-g++-8_8.3.0-6_amd64.deb ... Unpacking g++-8 (8.3.0-6) ... Selecting previously unselected package g++. Preparing to unpack .../28-g++_4%3a8.3.0-1_amd64.deb ... Unpacking g++ (4:8.3.0-1) ... Selecting previously unselected package make. Preparing to unpack .../29-make_4.2.1-1.2_amd64.deb ... Unpacking make (4.2.1-1.2) ... Selecting previously unselected package libdpkg-perl. Preparing to unpack .../30-libdpkg-perl_1.19.7_all.deb ... Unpacking libdpkg-perl (1.19.7) ... Selecting previously unselected package patch. Preparing to unpack .../31-patch_2.7.6-3+deb10u1_amd64.deb ... Unpacking patch (2.7.6-3+deb10u1) ... Selecting previously unselected package dpkg-dev. Preparing to unpack .../32-dpkg-dev_1.19.7_all.deb ... Unpacking dpkg-dev (1.19.7) ... Selecting previously unselected package build-essential. Preparing to unpack .../33-build-essential_12.6_amd64.deb ... Unpacking build-essential (12.6) ... Setting up binutils-common:amd64 (2.31.1-16) ... Setting up linux-libc-dev:amd64 (4.19.194-3) ... Setting up libgomp1:amd64 (8.3.0-6) ... Setting up libasan5:amd64 (8.3.0-6) ... Setting up make (4.2.1-1.2) ... Setting up libmpfr6:amd64 (4.0.2-1) ... Setting up xz-utils (5.2.4-1) ... update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn't exist Setting up libquadmath0:amd64 (8.3.0-6) ... Setting up libmpc3:amd64 (1.1.0-1) ... Setting up libatomic1:amd64 (8.3.0-6) ... Setting up patch (2.7.6-3+deb10u1) ... Setting up libdpkg-perl (1.19.7) ... Setting up libmpx2:amd64 (8.3.0-6) ... Setting up libubsan1:amd64 (8.3.0-6) ... Setting up libisl19:amd64 (0.20-2) ... Setting up libbinutils:amd64 (2.31.1-16) ... Setting up cpp-8 (8.3.0-6) ... Setting up libc-dev-bin (2.28-10) ... Setting up libcc1-0:amd64 (8.3.0-6) ... Setting up liblsan0:amd64 (8.3.0-6) ... Setting up libitm1:amd64 (8.3.0-6) ... Setting up binutils-x86-64-linux-gnu (2.31.1-16) ... Setting up libtsan0:amd64 (8.3.0-6) ... Setting up binutils (2.31.1-16) ... Setting up dpkg-dev (1.19.7) ... Setting up libgcc-8-dev:amd64 (8.3.0-6) ... Setting up cpp (4:8.3.0-1) ... Setting up libc6-dev:amd64 (2.28-10) ... Setting up libstdc++-8-dev:amd64 (8.3.0-6) ... Setting up gcc-8 (8.3.0-6) ... Setting up gcc (4:8.3.0-1) ... Setting up g++-8 (8.3.0-6) ... Setting up g++ (4:8.3.0-1) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode Setting up build-essential (12.6) ... Processing triggers for libc-bin (2.28-10) ... Removing intermediate container 4c3edc93c3d5 ---> 7929c494c4c5 Step 3/11 : WORKDIR /opt/biophi ---> Running in af786e51ff0c Removing intermediate container af786e51ff0c ---> c985a3f4b9e9 Step 4/11 : COPY environment.yml . ---> e938f6f37d4e Step 5/11 : COPY Makefile . ---> 1b27c5adcbde Step 6/11 : RUN make env-update ENV_NAME=base ---> Running in 14b9502a50b7 conda env update -n base -f environment.yml Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done Downloading and Extracting Packages abnumber-0.2.7 | 33 KB | ########## | 100% wheel-0.36.2 | 33 KB | ########## | 100% libblas-3.9.0 | 12 KB | ########## | 100% certifi-2021.5.30 | 141 KB | ########## | 100% ruamel_yaml-0.15.80 | 272 KB | ########## | 100% libcblas-3.9.0 | 11 KB | ########## | 100% idna-2.10 | 52 KB | ########## | 100% setuptools-57.4.0 | 934 KB | ########## | 100% pandas-1.3.1 | 13.0 MB | ########## | 100% liblapack-3.9.0 | 11 KB | ########## | 100% pysocks-1.7.1 | 27 KB | ########## | 100% python-dateutil-2.8. | 240 KB | ########## | 100% pip-21.2.4 | 1.1 MB | ########## | 100% libopenblas-0.3.17 | 9.2 MB | ########## | 100% biopython-1.79 | 2.6 MB | ########## | 100% pycosat-0.6.3 | 107 KB | ########## | 100% brotlipy-0.7.0 | 341 KB | ########## | 100% tqdm-4.61.2 | 83 KB | ########## | 100% numpy-1.21.1 | 6.2 MB | ########## | 100% openssl-1.1.1k | 2.1 MB | ########## | 100% pyopenssl-20.0.1 | 49 KB | ########## | 100% libgfortran5-11.1.0 | 1.7 MB | ########## | 100% cryptography-3.4.7 | 1.1 MB | ########## | 100% conda-package-handli | 927 KB | ########## | 100% libgfortran-ng-11.1. | 19 KB | ########## | 100% six-1.16.0 | 18 KB | ########## | 100% urllib3-1.26.6 | 112 KB | ########## | 100% conda-4.10.3 | 3.1 MB | ########## | 100% hmmer-3.3.2 | 9.6 MB | ########## | 100% anarci-2020.04.23 | 1.1 MB | ########## | 100% python-3.8.10 | 26.2 MB | ########## | 100% chardet-4.0.0 | 199 KB | ########## | 100% python_abi-3.8 | 4 KB | ########## | 100% pytz-2021.1 | 239 KB | ########## | 100% cffi-1.14.6 | 226 KB | ########## | 100% requests-2.25.1 | 52 KB | ########## | 100% pycparser-2.20 | 94 KB | ########## | 100% Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done Installing pip dependencies: ...working... Ran pip subprocess with arguments: ['/opt/conda/bin/python', '-m', 'pip', 'install', '-U', '-r', '/opt/biophi/condaenv.tshc824g.requirements.txt'] Pip subprocess output: Collecting click>=7 Downloading click-8.0.1-py3-none-any.whl (97 kB) Requirement already satisfied: pandas in /opt/conda/lib/python3.8/site-packages (from -r /opt/biophi/condaenv.tshc824g.requirements.txt (line 2)) (1.3.1) Collecting pandas Downloading pandas-1.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.5 MB) Collecting sqlalchemy Downloading SQLAlchemy-1.4.23-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB) Collecting flask Downloading Flask-2.0.1-py3-none-any.whl (94 kB) Collecting redis Downloading redis-3.5.3-py2.py3-none-any.whl (72 kB) Collecting celery Downloading celery-5.1.2-py3-none-any.whl (401 kB) Requirement already satisfied: biopython in /opt/conda/lib/python3.8/site-packages (from -r /opt/biophi/condaenv.tshc824g.requirements.txt (line 7)) (1.79) Collecting pytest Downloading pytest-6.2.4-py3-none-any.whl (280 kB) Requirement already satisfied: requests in /opt/conda/lib/python3.8/site-packages (from -r /opt/biophi/condaenv.tshc824g.requirements.txt (line 9)) (2.25.1) Collecting requests Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB) Requirement already satisfied: tqdm in /opt/conda/lib/python3.8/site-packages (from -r /opt/biophi/condaenv.tshc824g.requirements.txt (line 10)) (4.61.2) Collecting tqdm Downloading tqdm-4.62.2-py2.py3-none-any.whl (76 kB) Collecting xlsxwriter Downloading XlsxWriter-3.0.1-py3-none-any.whl (148 kB) Collecting humanize Downloading humanize-3.11.0-py3-none-any.whl (90 kB) Collecting fairseq==0.10.2 Downloading fairseq-0.10.2-cp38-cp38-manylinux1_x86_64.whl (1.7 MB) Requirement already satisfied: cffi in /opt/conda/lib/python3.8/site-packages (from fairseq==0.10.2->-r /opt/biophi/condaenv.tshc824g.requirements.txt (line 13)) (1.14.6) Collecting hydra-core Downloading hydra_core-1.1.1-py3-none-any.whl (145 kB) Requirement already satisfied: numpy in /opt/conda/lib/python3.8/site-packages (from fairseq==0.10.2->-r /opt/biophi/condaenv.tshc824g.requirements.txt (line 13)) (1.21.1) Collecting sacrebleu>=1.4.12 Downloading sacrebleu-2.0.0-py3-none-any.whl (90 kB) Collecting regex Downloading regex-2021.8.21-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (763 kB) Collecting dataclasses Downloading dataclasses-0.6-py3-none-any.whl (14 kB) Collecting torch Downloading torch-1.9.0-cp38-cp38-manylinux1_x86_64.whl (831.4 MB) failed Pip subprocess error: /opt/conda/.tmpg04gop_k: line 3: 461 Killed /opt/conda/bin/python -m pip install -U -r /opt/biophi/condaenv.tshc824g.requirements.txt CondaEnvException: Pip failed make: *** [Makefile:12: env-update] Error 1 The command '/bin/sh -c make env-update ENV_NAME=base' returned a non-zero code: 2 ERROR: Service 'web' failed to build : Build failed make: *** [Makefile:25: docker-build] Error 1 ```

The error does not appear if repeating the above steps with 2 vCPU and 8 GB RAM.

erikr commented 2 years ago

Confirming make docker-build no longer throws the above error on a fresh AWS EC2 VM running Amazon Linux 2, with 4 GB of RAM.

Not sure what changed to fix, but glad it is addressed. This issue is appropriate to close.