Hi!
On 10/10/2012 07:25 PM, Reuti wrote:
Hi,
Am 10.10.2012 um 19:16 schrieb Jonas Juselius:
we recently installed the latest compilers from Intel (version 13.0.0), and compiled openmpi 1.6.2
for those compilers. When compiling using the mpif90, mpicc and mpicxx commands, the compiler spews
out warnings that the "-pthreads" option is deprecated and that "-reentrant
threads" should be used instead. While this is not a problem per se (yet), it confuses our
users. I tried to fix this, but the settings are configured quite deep in some autoconf macros, and
I decided to leave it for the time being.
what about adjusting it in /usr/share/openmpi/mpicc-wrapper-data.txt and alike?
Ahh, that's a useful workaround! But it would be nice to have a solution
which works automagically with both gcc and intel, i.e. when using
OMPI_CC=icc. But for now I can ajust the flags for the intel users, and
avoid confusion :)
Jonas