[openib-general] Fork issues with simple MPI program

Roland Dreier rdreier at cisco.com
Tue Feb 20 14:33:02 PST 2007


 > Does this require 2.6.16 or better kernel support?

The kernel must support the MADV_DONTFORK flag to madvise(), not sure
when exactly that was merged but 2.6.16 or so sounds right.

ibv_fork_init() will return an error if the kernel support is missing
and fork safety won't actually work.  And if you use the environment
variable a warning will be printed if ibv_fork_init() fails.

 - R.




More information about the general mailing list