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] problems building openmpi v 1.6.4 using a local build of gcc 4.7.2 on rhel6
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2013-04-05 07:45:51


It looks like you configured with gfortran 4.7.2 (/nm/programs/third_party/gcc-4.7.2-rhel5/bin/gfortran).

Did you change your path after that, such that a different gfortran was found/used to build Open MPI?

I ask because real*16 (etc.) were all found and used successfully in configure, but then failed when you built. I'm guessing that this means that a different fortran compiler was used between configure and make.

On Apr 4, 2013, at 9:41 PM, Alan Sayre <ansayre62_at_[hidden]> wrote:

> I'm trying to build openmpi v.1.6.4 using a local build of gcc 4.7.2 on rhel6.
>
> The configure and build scripts are attached. The config.log and build.output are attached.
>
> The last few lines of the build output is:
>
> make[3]: Entering directory `/nm/programs/third_party/tmp-install/openmpi-1.6.4-blgwap02/ompi/mpi/f77'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/nm/programs/third_party/tmp-install/openmpi-1.6.4-blgwap02/ompi/mpi/f77'
> make[2]: Leaving directory `/nm/programs/third_party/tmp-install/openmpi-1.6.4-blgwap02/ompi/mpi/f77'
> Making all in mpi/f90
> make[2]: Entering directory `/nm/programs/third_party/tmp-install/openmpi-1.6.4-blgwap02/ompi/mpi/f90'
> make all-recursive
> make[3]: Entering directory `/nm/programs/third_party/tmp-install/openmpi-1.6.4-blgwap02/ompi/mpi/f90'
> Making all in scripts
> make[4]: Entering directory `/nm/programs/third_party/tmp-install/openmpi-1.6.4-blgwap02/ompi/mpi/f90/scripts'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/nm/programs/third_party/tmp-install/openmpi-1.6.4-blgwap02/ompi/mpi/f90/scripts'
> make[4]: Entering directory `/nm/programs/third_party/tmp-install/openmpi-1.6.4-blgwap02/ompi/mpi/f90'
> FC mpi.lo
> In file mpi-f90-interfaces.h:1586
>
> Included at mpi.f90:37
>
> real*16, intent(in) :: x
> 1
> Error: Old-style type declaration REAL*16 not supported at (1)
> In file mpi-f90-interfaces.h:1607
>
> Included at mpi.f90:37
>
> complex*32, intent(in) :: x
> 1
> Error: Old-style type declaration COMPLEX*32 not supported at (1)
> In file mpi-f90-interfaces.h:1670
>
> Included at mpi.f90:37
>
> real*16, dimension(*), intent(in) :: x
> 1
> Error: Old-style type declaration REAL*16 not supported at (1)
> In file mpi-f90-interfaces.h:1691
>
> Included at mpi.f90:37
>
> complex*32, dimension(*), intent(in) :: x
> 1
> Error: Old-style type declaration COMPLEX*32 not supported at (1)
> In file mpi-f90-interfaces.h:1754
>
> Included at mpi.f90:37
>
> real*16, dimension(1,*), intent(in) :: x
> 1
> Error: Old-style type declaration REAL*16 not supported at (1)
> In file mpi-f90-interfaces.h:1775
>
> Included at mpi.f90:37
>
> complex*32, dimension(1,*), intent(in) :: x
> 1
> Error: Old-style type declaration COMPLEX*32 not supported at (1)
> In file mpi-f90-interfaces.h:1838
>
> Included at mpi.f90:37
>
> real*16, dimension(1,1,*), intent(in) :: x
> 1
> Error: Old-style type declaration REAL*16 not supported at (1)
> In file mpi-f90-interfaces.h:1859
>
> Included at mpi.f90:37
>
> complex*32, dimension(1,1,*), intent(in) :: x
> 1
> Error: Old-style type declaration COMPLEX*32 not supported at (1)
> In file mpi-f90-interfaces.h:1922
>
> Included at mpi.f90:37
>
> real*16, dimension(1,1,1,*), intent(in) :: x
> 1
> Error: Old-style type declaration REAL*16 not supported at (1)
> In file mpi-f90-interfaces.h:1943
>
> Included at mpi.f90:37
>
> complex*32, dimension(1,1,1,*), intent(in) :: x
> 1
> Error: Old-style type declaration COMPLEX*32 not supported at (1)
> In file mpi-f90-interfaces.h:1946
>
> Included at mpi.f90:37
>
> end subroutine MPI_Sizeof4DC32
> 1
> Error: Ambiguous interfaces 'mpi_sizeof4dc32' and 'mpi_sizeof4dr16' in generic interface 'mpi_sizeof' at (1)
> make[4]: *** [mpi.lo] Error 1
> make[4]: Leaving directory `/nm/programs/third_party/tmp-install/openmpi-1.6.4-blgwap02/ompi/mpi/f90'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/nm/programs/third_party/tmp-install/openmpi-1.6.4-blgwap02/ompi/mpi/f90'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/nm/programs/third_party/tmp-install/openmpi-1.6.4-blgwap02/ompi/mpi/f90'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/nm/programs/third_party/tmp-install/openmpi-1.6.4-blgwap02/ompi'
> make: *** [all-recursive] Error 1
>
>
> What I am doing wrong?
>
> Thanks,
>
> Alan
> <build.out.bz2><config.log.bz2><1_Warning.txt><2_Warning.txt><tail.out><test.c><test.out><3_Warning.txt>_______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/