Thanks all for the suggestions. It was more of the annoyance than
anything. I will get them removed. It sounds like someday the
libtool developers will (hopefully) account for the change and I won't
have to make local mods to the source code.
On Fri, Nov 9, 2012 at 11:45 AM, Martin Siegert <siegert_at_[hidden]> wrote:
> On Fri, Nov 09, 2012 at 11:05:23AM -0700, Craig Tierney wrote:
>> I just built OpenMPI 1.6.3 with ifort 12.1.4. When running ifort I am
>> getting the warning:
>> ifort: command line remark #10010: open '-pthread' is depreciated and
>> will be removed in a future release. See '-help deprecated'.
> If you just want to get rid of the warning, you can edit the settings
> for the wrapper compilers in share/openmpi/mpif90-wrapper-data.txt, etc.
> gcc -dumpspecs | grep pthread
> shows that -pthread adds the preprocessor flag -D_REENTRANT and the linker
> flag -lpthread. I.e., removing -pthread from the
> line and adding -D_REENTRANT to the
> line and -lpthread to the
> line should do the job and should be completely equivalent.
> As far as Intel compilers are concerned -pthread can be replaced with
> "-reentrancy threaded", but that does not work when the underlying compiler
> is changed, e.g., OMPI_FC=gfortran.
> Martin Siegert
> Simon Fraser University
> Burnaby, British Columbia
>> Is -pthread really needed? Is there a configure option to change this
>> or should have intel not changed from how other compilers work?
>> users mailing list
> users mailing list