Open MPI logo

Open MPI User's Mailing List Archives

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

From: Michael Galloway (mgx_at_[hidden])
Date: 2006-12-14 15:48:24


On Thu, Dec 14, 2006 at 02:01:54PM -0500, Michael Galloway wrote:
> good day all, i've been trying to build ompi with the 6.2-X version of the pgi
> compiler set (pgcc 6.2-4 64-bit target on x86-64 Linux). i've tried both 1.1.2 and
> the current nightly build 1.1.3b2r12766, both fail with this error from configure:
>
> *** Fortran 77 compiler
> checking whether we are using the GNU Fortran 77 compiler... no
> checking whether /opt/pgi/linux86-64/6.2/bin/pgf77 accepts -g... yes
> checking if Fortran 77 compiler works... yes
> checking /opt/pgi/linux86-64/6.2/bin/pgf77 external symbol convention... single underscore
> checking if Fortran 77 compiler supports LOGICAL... yes
> checking size of Fortran 77 LOGICAL... 4
> checking for C type corresponding to LOGICAL... not found
> configure: WARNING: *** Did not find corresponding C type
> configure: error: Cannot continue
>
> i will attache the config.log file. i've looked around the maillist and i've seen a few issue
> similar but no real resolution. the env i used to build is:
>
> F90=/opt/pgi/linux86-64/6.2/bin/pgf90
> F77=/opt/pgi/linux86-64/6.2/bin/pgf77
> LM_LICENSE_FILE=/opt/pgi/license.dat
> CXX=/opt/pgi/linux86-64/6.2/bin/pgCC
> FC=/opt/pgi/linux86-64/6.2/bin/pgf90
> CC=/opt/pgi/linux86-64/6.2/bin/pgcc
>
> F90FLAGS=-fastsse
> CXXFLAGS=-g -O3 -Minfo=all -fastsse -Mipa=fast -Knoieee -mp
> FCFLAGS=-fastsse
> CFLAGS=-g -O3 -Minfo=all -fastsse -Mipa=fast -Knoieee -mp
> FFLAGS=-fastsse
>
> is there something simple i'm messing up? thanks!
>
> -- michael

interesting, if i build with the 32bit pgi components it works. the env:

[root_at_bioinfo openmpi-1.1.2]# env | grep pgi
PGI=/opt/pgi
PATH=/opt/pgi/linux86/6.2/bin:/opt/pgi/linux86-64/6.2/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/opt/globus/bin:/opt/globus/sbin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/opt/Bio/ncbi/bin:/opt/Bio/mpiblast/bin/:/opt/Bio/hmmer/bin:/opt/Bio/Emboss/bin:/opt/Bio/clustalw/bin:/opt/Bio/t_coffee/bin:/opt/Bio/phylip/exe:/opt/Bio/mrbayes:/opt/Bio/fasta:/opt/Bio/glimmer/bin://opt/Bio/glimmer/scripts:/opt/Bio/gromacs/bin:/opt/ganglia/bin:/opt/ganglia/sbin:/usr/java/jre1.5.0_09/bin:/opt/lam/gnu/bin:/usr/NX/bin:/opt/openmpi/bin/:/opt/rocks/bin:/opt/rocks/sbin:/root/bin
F90=/opt/pgi/linux86/6.2/bin/pgf90
F77=/opt/pgi/linux86/6.2/bin/pgf77
LM_LICENSE_FILE=/opt/pgi/license.dat
CXX=/opt/pgi/linux86/6.2/bin/pgCC
FC=/opt/pgi/linux86/6.2/bin/pgf95
CC=/opt/pgi/linux86/6.2/bin/pgcc

[root_at_bioinfo openmpi-1.1.2]# env | grep FLAG
F90FLAGS=-fastsse
CXXFLAGS=-g -O3 -Minfo=all -fastsse -Mipa=fast -Knoieee -mp
CFLAGS=-g -O3 -Minfo=all -fastsse -Mipa=fast -Knoieee -mp
FFLAGS=-fastsse

and config'd with:

./configure --prefix=/share/apps/opmi-112/pgi --with-gnu-ld

at least configure completes. if i change back to x86_64 it fails with:

*** Fortran 77 compiler
checking whether we are using the GNU Fortran 77 compiler... no
checking whether /opt/pgi/linux86-64/6.2/bin/pgf77 accepts -g... yes
checking if Fortran 77 compiler works... yes
checking /opt/pgi/linux86-64/6.2/bin/pgf77 external symbol convention... single underscore
checking if Fortran 77 compiler supports LOGICAL... yes
checking size of Fortran 77 LOGICAL... 4
checking for C type corresponding to LOGICAL... not found
configure: WARNING: *** Did not find corresponding C type
configure: error: Cannot continue

and the env:

[root_at_bioinfo openmpi-1.1.2]# env | grep pgi
PGI=/opt/pgi
PATH=/opt/pgi/linux86-64/6.2/bin:/opt/pgi/linux86/6.2/bin:/opt/pgi/linux86-64/6.2/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/opt/globus/bin:/opt/globus/sbin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/opt/Bio/ncbi/bin:/opt/Bio/mpiblast/bin/:/opt/Bio/hmmer/bin:/opt/Bio/Emboss/bin:/opt/Bio/clustalw/bin:/opt/Bio/t_coffee/bin:/opt/Bio/phylip/exe:/opt/Bio/mrbayes:/opt/Bio/fasta:/opt/Bio/glimmer/bin://opt/Bio/glimmer/scripts:/opt/Bio/gromacs/bin:/opt/ganglia/bin:/opt/ganglia/sbin:/usr/java/jre1.5.0_09/bin:/opt/lam/gnu/bin:/usr/NX/bin:/opt/openmpi/bin/:/opt/rocks/bin:/opt/rocks/sbin:/root/bin
F90=/opt/pgi/linux86-64/6.2/bin/pgf90
F77=/opt/pgi/linux86-64/6.2/bin/pgf77
LM_LICENSE_FILE=/opt/pgi/license.dat
CXX=/opt/pgi/linux86-64/6.2/bin/pgCC
FC=/opt/pgi/linux86-64/6.2/bin/pgf95
CC=/opt/pgi/linux86-64/6.2/bin/pgcc

odd .....

-- michael