Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] Building OpenMPI 10.4 with PGI fortran 10.8 and gcc
From: Gus Correa (gus_at_[hidden])
Date: 2010-09-14 15:50:51


Hi Axel

This is an old problem, apparently with libtool.
A workaround is to configure OpenMPI with
F77 and FC='pgf90 -noswitcherror'.
Worth trying.

I hope this helps,
Gus Correa
---------------------------------------------------------------------
Gustavo Correa
Lamont-Doherty Earth Observatory - Columbia University
Palisades, NY, 10964-8000 - USA
---------------------------------------------------------------------

Axel Schweiger wrote:
> Trying to build a hybrid OpenMPI with PGI fortran and gcc to support
> WRF model
> The problem appears to be due to a -pthread switch passed to pgfortran.
>
>
>
> libtool: link: pgfortran -shared -fpic -Mnomain .libs/mpi.o
> .libs/mpi_sizeof.o .libs/mpi_comm_spawn_multiple_f90.o
> .libs/mpi_testall_f90.o .libs/mpi_testsome_f90.o .libs/mpi_waitall_f90.o
> .libs/mpi_waitsome_f90.o .libs/mpi_wtick_f90.o .libs/mpi_wtime_f90.o
> -Wl,-rpath -Wl,/home/axel/AxboxInstall/openmpi-1.4.2/ompi/.libs
> -Wl,-rpath -Wl,/home/axel/AxboxInstall/openmpi-1.4.2/orte/.libs
> -Wl,-rpath -Wl,/home/axel/AxboxInstall/openmpi-1.4.2/opal/.libs
> -Wl,-rpath -Wl,/opt/openmpi-pgi-gcc-1.42/lib
> -L/home/axel/AxboxInstall/openmpi-1.4.2/orte/.libs
> -L/home/axel/AxboxInstall/openmpi-1.4.2/opal/.libs
> ../../../ompi/.libs/libmpi.so
> /home/axel/AxboxInstall/openmpi-1.4.2/orte/.libs/libopen-rte.so
> /home/axel/AxboxInstall/openmpi-1.4.2/opal/.libs/libopen-pal.so -ldl
> -lnsl -lutil -lm -pthread -Wl,-soname -Wl,libmpi_f90.so.0 -o
> .libs/libmpi_f90.so.0.0.0
> pgfortran-Error-Unknown switch: -pthread
> make[4]: *** [libmpi_f90.la] Error 1
>
>
> There has been discussion on this issue and the below solution
> suggested. This doesn't appear to work for the 10.8
> release.
>
> http://www.open-mpi.org/community/lists/users/2009/04/8911.php
>
> There was a previous thread:
> http://www.open-mpi.org/community/lists/users/2009/03/8687.php
>
> suggesting other solutions.
>
> Wondering if there is a better solution right now? Building 1.4.2
>
> Thanks
> Axel
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users