-
Sven Marcus authoredSven Marcus authored
PoiseuilleTestContainer.def 935 B
BootStrap: docker
From: ubuntu:20.04
%files
3rdParty 3rdParty
apps apps
CMake CMake
Python Python
src src
CMakeLists.txt CMakeLists.txt
cpu.cmake cpu.cmake
gpu.cmake gpu.cmake
setup.py setup.py
pyproject.toml pyproject.toml
%post
export DEBIAN_FRONTEND=noninteractive
apt-get update && \
apt-get install -y \
build-essential \
cmake=3.16.3-1ubuntu1 \
python3 \
python3-dev \
python3-pip \
mpich \
libomp-dev \
libgl1
pip3 install setuptools wheel numpy scipy pyvista
export PYTHONPATH=Python
python3 /setup.py install
%environment
export PYTHONPATH=/Python
%apprun testcase
python3 /Python/SlurmTests/poiseuille/simulation_runner.py
%apprun evaluate
python3 /Python/SlurmTests/poiseuille/evaluator.py