Thomas

I did get a configure successfull, but make fails with

pgf90-Error-Unknown switch: -pthread
make[2]: *** [libmpi_usempi.la] Error 1

I have tried and did a fake pgf90 has mentioned on the mailing list

#! /bin/bash
newargs='echo $@ | sed s/-pthread//g -'
#echo "/opt/pgi/linux86-64/10.4/bin/pgf90  $newargs"
/opt/pgi/linux86-64/10.4/bin/pgf90  $newargs
exit

But for some reason this doesn't work, the make just stops.

Can you point me in the right direction?

Em qui, 28 de mai de 2015 às 14:10, Bruno Queiros <bquei...@gmail.com>
escreveu:

> Thank you very much Thomas
>
> I will try this
>
> Em qui, 28 de mai de 2015 às 12:25, Thomas Jahns <ja...@dkrz.de> escreveu:
>
>> On 05/28/15 12:20, Jeff Squyres (jsquyres) wrote:
>> > Sounds like your pgcc compiler installation is busted.  You'll need to
>> get that fixed to compile/install Open MPI.
>>
>> An alternative might be to use a system compiler (which is probably gcc or
>> clang) for C and C++ and only use pgfortran for the Fortran parts of
>> OpenMPI,
>> i.e. try something like
>>
>> ./configure CC=gcc CXX=g++ FC=pgf90 F77=pgf77 F90=pgf90
>> --prefix=/opt/openmpi-1.8.5_pgf90
>>
>> Regards, Thomas Jahns
>>
>>
>> _______________________________________________
>> users mailing list
>> us...@open-mpi.org
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> Link to this post:
>> http://www.open-mpi.org/community/lists/users/2015/05/26963.php
>
>

Reply via email to