File: install_misc.sh

package info (click to toggle)
cp2k 2025.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 372,052 kB
  • sloc: fortran: 963,262; ansic: 64,495; f90: 21,676; python: 14,419; sh: 11,382; xml: 2,173; makefile: 953; pascal: 845; perl: 492; cpp: 345; lisp: 297; csh: 16
file content (43 lines) | stat: -rwxr-xr-x 932 bytes parent folder | download | duplicates (2)
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
34
35
36
37
38
39
40
41
42
43
#!/bin/bash -e

# author: Ole Schuett

# install Ubuntu packages
apt-get update -qq
apt-get install -qq --no-install-recommends \
  ca-certificates \
  libpython3-stdlib \
  python3 \
  python3-pip \
  python3-venv \
  python3-wheel \
  python3-setuptools \
  python3-dev \
  build-essential \
  gfortran \
  cmake \
  golang \
  unzip \
  wget
rm -rf /var/lib/apt/lists/*

# Create and activate a virtual environment for Python packages.
python3 -m venv /opt/venv
export PATH="/opt/venv/bin:$PATH"

# install python packages
pip3 install --quiet \
  numpy==2.2.4 \
  matplotlib==3.10.1 \
  requests==2.32.3 \
  types-requests==2.32.0.20250328 \
  torch==2.6.0 \
  e3nn==0.5.6 \
  scipy==1.15.2 \
  mypy==1.5.1

# 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

#EOF