1
1
openmpi/opal/mca/btl
Adrian Reber fc68d8a90f
Do not use CMA in user namespaces
Trying out to run processes via mpirun in Podman containers has shown
that the CMA btl_vader_single_copy_mechanism does not work when user
namespaces are involved.

Creating containers with Podman requires at least user namespaces to be
able to do unprivileged mounts in a container

Even if running the container with user namespace user ID mappings which
result in the same user ID on the inside and outside of all involved
containers, the check in the kernel to allow ptrace (and thus
process_vm_{read,write}v()), fails if the same IDs are not in the same
user namespace.

One workaround is to specify '--mca btl_vader_single_copy_mechanism none'
and this commit adds code to automatically skip CMA if user namespaces
are detected and fall back to MCA_BTL_VADER_EMUL.

Signed-off-by: Adrian Reber <areber@redhat.com>
2019-09-05 20:15:19 +02:00
..
base Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
ofi ofi: revamp OPAL_CHECK_OFI configury 2019-02-07 06:29:58 -08:00
portals4 opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
self mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
sm btl/sm: fix CID 1415105 2018-03-26 14:21:21 -07:00
smcuda Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
tcp btl tcp: Fix error path memory leak 2019-07-15 22:35:04 +00:00
template mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
uct btl/uct: add support for UCX 1.6.x 2019-05-21 04:31:57 -06:00
ugni btl/ugni: fix 32-bit compare-and-swap atomics 2019-05-10 09:59:54 -06:00
usnic usnic: fix Coverity false positives 2019-05-14 13:53:25 -07:00
vader Do not use CMA in user namespaces 2019-09-05 20:15:19 +02:00
btl.h btl/vader: add support for atomics and emulated rdma 2018-07-02 13:57:11 -06:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00