1
1
openmpi/opal
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
..
class opal/free_list: fix race condition 2018-10-16 13:17:09 -06:00
datatype Update the datatype dump to match the actual types. 2019-05-10 18:03:57 -04:00
dss opal: clean up init/finalize 2018-12-18 14:37:04 -07:00
etc Correct the comment in the default MCA param template - we do not support a param called "component_path". The correct syntax is "mca_base_component_path" 2018-01-05 08:46:44 -08:00
include opal/atomic: work around memory barrier bug in older gcc 2019-05-30 06:58:28 -07:00
mca Do not use CMA in user namespaces 2019-09-05 20:15:19 +02:00
memoryhooks opal: clean up init/finalize 2018-12-18 14:37:04 -07:00
runtime misc fixes 2019-02-08 11:11:25 -08:00
test/reachable opal: update some string handling 2018-10-14 16:04:28 -07:00
threads opal/threads: reverted #6199 2019-01-29 13:34:44 -05:00
tools Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
util opal/util: revamp opal_output_verbose() 2019-07-09 11:24:31 +09:00
win32 opal: convert from strncpy() -> opal_string_copy() 2018-09-27 11:56:18 -07:00
common_sym_whitelist.txt opal: add code patcher framework 2016-04-13 17:16:13 -06:00
Makefile.am opal: remove generated asm code 2017-08-03 09:18:58 -06:00
win_makefile Purge whitespace from the repo 2015-06-23 20:59:57 -07:00