From de0ea7c96b80cac5461110c17849d6531431bded Mon Sep 17 00:00:00 2001 From: Joost van Zwieten Date: Thu, 1 Sep 2022 22:41:20 +0200 Subject: [PATCH] container base image: add libomp MKL in a fresh container base image complains about missing symbols. This patch adds package `libomp-dev` to fix the problem. --- devtools/container/build_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/container/build_base.py b/devtools/container/build_base.py index c51298c7b..417415934 100644 --- a/devtools/container/build_base.py +++ b/devtools/container/build_base.py @@ -19,7 +19,7 @@ container.run('apt', 'update') # Package `libtbb2` is required when using Intel MKL with environment # variable `MKL_THREADING_LAYER` set to `TBB`, which is nowadays the default. - container.run('apt', 'install', '-y', '--no-install-recommends', 'python3', 'python3-pip', 'python3-wheel', 'python3-ipython', 'python3-numpy', 'python3-scipy', 'python3-matplotlib', 'python3-pil', 'python3-meshio', 'libmkl-rt', 'libtbb2', env=dict(DEBIAN_FRONTEND='noninteractive')) + container.run('apt', 'install', '-y', '--no-install-recommends', 'python3', 'python3-pip', 'python3-wheel', 'python3-ipython', 'python3-numpy', 'python3-scipy', 'python3-matplotlib', 'python3-pil', 'python3-meshio', 'libmkl-rt', 'libomp-dev', 'libtbb2', env=dict(DEBIAN_FRONTEND='noninteractive')) container.run('pip', 'install', '--no-cache-dir', 'bottombar', 'treelog', 'stringly') container.add_label('org.opencontainers.image.url', 'https://github.com/evalf/nutils') container.add_label('org.opencontainers.image.source', 'https://github.com/evalf/nutils')