[openib-general] Fork issues with simple MPI program

Arlin Davis arlin.r.davis at intel.com
Tue Feb 20 11:06:17 PST 2007



>Arlin Davis wrote:
>> Any insight would be greatly appreciated. It was our assumption that the parent process can
>continue
>> to use IB resources after the fixes went into 2.6.16 and OFED 1.1. Is this true?
>
>As was discussed over this list in few occasions: in contrast to popular
>thought the fork support was deployed in libibverbs1.1 where OFED 1.1
>contains libibverbs1.0
 
OFED 1.2 alpha (libibverbs 1.1) on 2.6.20 fails the same way. Does the following disclaimer still
apply?

"Fork support from kernel 2.6.12 and above is available provided
that applications do not use threads. The fork() is supported as long
as parent process does not run before child exits or calls exec().
The former can be achieved by calling wait(childpid) the later can be
achieved by application specific means.  Posix system() call is
supported."




More information about the general mailing list