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
Description: BZip2 compressed data
config.log.bz2
Description: BZip2 compressed data
configure_openmpi-1.6.4-xxx.sh
Description: Bourne shell script
make_openmpi-1.6.4-xxx.sh
Description: Bourne shell script
tail.out
Description: Binary data
#include <stdio.h> int main(const int argc, const char* argv[]) { bool bar; bool foo = true; bar = foo; printf("Hello World!\n"); printf("sizeof bool %i\n", sizeof(bool)); return 0; }
test.out
Description: Binary data
test.sh
Description: Bourne shell script