|
43 | 43 | python3-pip \
|
44 | 44 | python3-venv
|
45 | 45 |
|
| 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 |
46 | 103 |
|
47 | 104 | - name: Initialize Gitlab access token
|
48 | 105 | run: |
|
|
52 | 109 | - name: libneo
|
53 | 110 | run: |
|
54 | 111 | git clone https://github.com/itpplasma/libneo.git
|
55 |
| - |
| 112 | +
|
56 | 113 | - name: NEO-2
|
57 | 114 | run: |
|
58 | 115 | git clone https://github.com/itpplasma/NEO-2.git
|
|
83 | 140 | - name: KIM
|
84 | 141 | run: |
|
85 | 142 | git clone https://gitlab.tugraz.at/plasma/codes/MEPHIT.git
|
86 |
| -
|
87 |
| - |
|
0 commit comments