I have an computational application which makes heavy use of fork to generate subprocesses which carry out (mostly) independent calculations.
With Intel C++ 14.0.3 20140422, I find that the application gives incorrect results for OMP_NUM_THREADS>1 if I have called fork(), but works otherwise. Is there some way to fix this?
Could I, for instance, explicitly shut down OpenMP before the fork and then restart it?
thank you--
Charles