2018-11-08 13:56:15 +01:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
|
|
# author: Ole Schuett
|
|
|
|
|
|
|
|
|
|
# install Ubuntu packages
|
2019-04-25 15:00:52 +02:00
|
|
|
apt-get update -qq
|
|
|
|
|
apt-get install -qq --no-install-recommends \
|
2022-02-19 14:35:21 +01:00
|
|
|
ca-certificates \
|
2021-02-17 17:02:43 +01:00
|
|
|
libpython3-stdlib \
|
|
|
|
|
python3 \
|
|
|
|
|
python3-pip \
|
2024-04-30 21:46:47 +02:00
|
|
|
python3-venv \
|
2021-02-17 17:02:43 +01:00
|
|
|
python3-wheel \
|
|
|
|
|
python3-setuptools \
|
|
|
|
|
python3-dev \
|
2021-02-23 18:10:55 +01:00
|
|
|
build-essential \
|
2023-04-17 23:41:44 +02:00
|
|
|
gfortran \
|
|
|
|
|
cmake \
|
2021-11-10 22:10:06 +01:00
|
|
|
golang \
|
2022-02-19 14:35:21 +01:00
|
|
|
unzip \
|
|
|
|
|
wget
|
2018-11-08 13:56:15 +01:00
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
2024-04-30 21:46:47 +02:00
|
|
|
# Create and activate a virtual environment for Python packages.
|
|
|
|
|
python3 -m venv /opt/venv
|
|
|
|
|
export PATH="/opt/venv/bin:$PATH"
|
|
|
|
|
|
2018-11-08 13:56:15 +01:00
|
|
|
# install python packages
|
2026-05-12 11:44:33 +02:00
|
|
|
pip3 install -r pao-ml-requirements.txt \
|
2026-05-12 13:31:01 +02:00
|
|
|
numpy==2.4.4 \
|
|
|
|
|
matplotlib==3.10.9 \
|
|
|
|
|
requests==2.34.0 \
|
|
|
|
|
types-requests==2.33.0.20260508 \
|
|
|
|
|
mypy==2.1.0
|
2019-05-23 11:52:06 +02:00
|
|
|
|
2021-11-10 22:10:06 +01:00
|
|
|
# download inputs for minimax_to_fortran_source.py
|
|
|
|
|
wget -q https://www.cp2k.org/static/downloads/1_xData.zip
|
|
|
|
|
echo "7be2e56d83d0cb17683bbc8ab85dae1dc9a9c937e1dc1bad1514857938e687cb 1_xData.zip" | sha256sum --check
|
|
|
|
|
|
2021-04-09 14:17:21 +02:00
|
|
|
#EOF
|