Skip to content

Commit e68a9fa

Browse files
committed
Pre-install
1 parent 11acfe7 commit e68a9fa

File tree

1 file changed

+58
-3
lines changed

1 file changed

+58
-3
lines changed

.github/workflows/main.yml

+58-3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,63 @@ jobs:
4343
python3-pip \
4444
python3-venv
4545
46+
apt-get install -y -q --no-install-recommends \
47+
procps \
48+
nano \
49+
vim \
50+
htop \
51+
ncdu \
52+
less \
53+
gdb \
54+
cmake-curses-gui
55+
56+
apt-get install -y -q --no-install-recommends \
57+
pkg-config \
58+
libsuitesparse-dev \
59+
libopenblas-dev \
60+
libsuperlu-dev \
61+
libhdf5-dev \
62+
libhdf5-openmpi-dev \
63+
libnetcdf-dev \
64+
libnetcdff-dev \
65+
libfftw3-dev \
66+
libgsl-dev \
67+
libopenmpi-dev \
68+
libscalapack-openmpi-dev \
69+
libpcre3-dev \
70+
libreadline-dev \
71+
h5utils \
72+
hdf5-tools \
73+
netcdf-bin
74+
75+
apt-get install -y -q --no-install-recommends \
76+
python3-wheel python3-setuptools \
77+
# Shell and file formats
78+
python3-ipython jupyter python3-sphinx python3-matplotlib \
79+
python3-openpyxl python3-xlrd python3-h5py python3-netcdf4 \
80+
# Scientific computing
81+
python3-sympy python3-uncertainties python3-numpy python3-scipy \
82+
python3-numba \
83+
# Statistics
84+
python3-pandas python3-sklearn python3-torch \
85+
# For OMFIT
86+
python3-boto3 python3-lmfit python3-configobj python3-dill \
87+
python3-pyodbc python3-pyotp \
88+
# Misc
89+
fortran-language-server python3-tqdm python3-pytest \
90+
python3-mpi4py python3-skbuild
91+
92+
mkdir -p /opt/venv
93+
python3 -m venv --system-site-packages /opt/venv/plasma
94+
python -m pip install pylance black f90wrap
95+
96+
echo 'export PATH=$HOME/bin:$PATH' >> ~/.bashrc && \
97+
echo 'export LD_LIBRARY_PATH=$HOME/bin:$LD_LIBRARY_PATH' >> ~/.bashrc && \
98+
echo 'export STELLOPT_PATH="/src/STELLOPT"' >> ~/.bashrc && \
99+
echo 'export MACHINE="ubuntu"' >> ~/.bashrc && \
100+
echo 'export OMPI_ALLOW_RUN_AS_ROOT=1' >> ~/.bashrc && \
101+
echo 'export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1' >> ~/.bashrc && \
102+
echo '. /opt/venv/plasma/bin/activate' >> ~/.bashrc
46103
47104
- name: Initialize Gitlab access token
48105
run: |
@@ -52,7 +109,7 @@ jobs:
52109
- name: libneo
53110
run: |
54111
git clone https://github.com/itpplasma/libneo.git
55-
112+
56113
- name: NEO-2
57114
run: |
58115
git clone https://github.com/itpplasma/NEO-2.git
@@ -83,5 +140,3 @@ jobs:
83140
- name: KIM
84141
run: |
85142
git clone https://gitlab.tugraz.at/plasma/codes/MEPHIT.git
86-
87-

0 commit comments

Comments
 (0)