Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] PGI Fortran pthread support
From: Prentice Bisbal (prentice_at_[hidden])
Date: 2009-04-14 10:30:58


Orion,

I have no trouble getting thread support during configure with PGI 8.0-3

Are there any other compilers in your path before the PGI compilers?
Even if the PGI compilers come first, try specifying the PGI compilers
explicitly with these environment variables (bash syntax shown):

export CC=pgcc
export CXX=pgCC
export F77=pgf77
export FC=pgf90

also check the value of CPPFLAGS and LDFLAGS, and make sure they are
correct for your PGI compilers.

--
Prentice
Orion Poplawski wrote:
> Seeing the following building openmpi 1.3.1 on CentOS 5.3 with PGI pgf90
> 8.0-5 fortran compiler:
> 
> checking if C compiler and POSIX threads work with -Kthread... no
> checking if C compiler and POSIX threads work with -kthread... no
> checking if C compiler and POSIX threads work with -pthread... yes
> checking if C++ compiler and POSIX threads work with -Kthread... no
> checking if C++ compiler and POSIX threads work with -kthread... no
> checking if C++ compiler and POSIX threads work with -pthread... yes
> checking if F77 compiler and POSIX threads work with -Kthread... no
> checking if F77 compiler and POSIX threads work with -kthread... no
> checking if F77 compiler and POSIX threads work with -pthread... no
> checking if F77 compiler and POSIX threads work with -pthreads... no
> checking if F77 compiler and POSIX threads work with -mt... no
> checking if F77 compiler and POSIX threads work with -mthreads... no
> checking if F77 compiler and POSIX threads work with -lpthreads... no
> checking if F77 compiler and POSIX threads work with -llthread... no
> checking if F77 compiler and POSIX threads work with -lpthread... no
> checking for PTHREAD_MUTEX_ERRORCHECK_NP... yes
> checking for PTHREAD_MUTEX_ERRORCHECK... yes
> checking for working POSIX threads package... no
> checking if C compiler and Solaris threads work... no
> checking if C++ compiler and Solaris threads work... no
> checking if F77 compiler and Solaris threads work... no
> checking for working Solaris threads package... no
> checking for type of thread support... none found
>