This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: OpenMP and fork


Pierre LÃonard <pierre.leonard@jouy.inra.fr> 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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]