Re: OpenMP and fork

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pierre Léonard <pierre.leonard@xxxxxxxxxxxx> writes:

> I work with openMP (gcc 4.5.1) and use the fork unix system call in
> order to manage the different states of the computation. Unfortunelty
> openmp don't work after a fork.
>
> I have found a document : http://bisqwit.iki.fi/story/howto/openmp/
> that explain that the gnu gcc does not allow fork and openmp.
>
>
> So my question : is there a roadmap for correction of that problem ?

It's really hard to use fork with a threaded program on Unix.  The two
different ideas do not play well together.  I'm not aware of any plans
to make the specific case of OpenMP work better when using fork.

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux