Open andlaus opened 6 years ago
actually this does not only apply for the legacy simulators themselves but also for some legacy source files that are part of libopmsimulators.
I think these are long-ignored experiments, and the OpenMP usage there should be removed. (Not sure why I have not seen the warning, I thought it was because I disabled the -Wunknown-pragmas, but I do not...)
I think that disabling that warning when compiling without OpenMP is the only reasonable thing to do though.
Edit: I think the flow-legacy parts should be removed (it's on my list to do), but there are other, fairly well tested parts where it has been used successfully, in opm-upscaling.
when compiling the legacy simulators without openMP compiler flags, GCC produces quite a few warnings: