Hi,

I have compiled OpenMPI with PGI and Intel comilers successfully on my Opteron computer running
SuSE10.0, however,  the compilation failed with gcc-4.0.2 compiler:
....
make[3]: Leaving directory `/work/source/openmpi-1.0.1/ompi/mpi/f77'
Making all in f90
make[3]: Entering directory `/work/source/openmpi-1.0.1/ompi/mpi/f90'
make  all-recursive
make[4]: Entering directory `/work/source/openmpi-1.0.1/ompi/mpi/f90'
Making all in scripts
make[5]: Entering directory `/work/source/openmpi-1.0.1/ompi/mpi/f90/scripts'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/work/source/openmpi-1.0.1/ompi/mpi/f90/scripts'
make[5]: Entering directory `/work/source/openmpi-1.0.1/ompi/mpi/f90'
gfortran -I../../../include -I../../../include -I. -c -o mpi_address_f90.o mpi_address_f90.f90
In file mpi_address_f90.f90:83

 real(kind=MPI_REAL16_KIND), intent(in) :: location
                         1
Error: Kind -1 not supported for type REAL at (1)
In file mpi_address_f90.f90:107

 complex(kind=MPI_REAL16_KIND), intent(in) :: location
                            1
Error: Kind -1 not supported for type COMPLEX at (1)
In file mpi_address_f90.f90:195

 real(kind=MPI_REAL16_KIND), dimension(:), intent(in) :: location
                         1
Error: Kind -1 not supported for type REAL at (1)
In file mpi_address_f90.f90:219

 complex(kind=MPI_REAL16_KIND), dimension(:), intent(in) :: location
                            1
Error: Kind -1 not supported for type COMPLEX at (1)
In file mpi_address_f90.f90:307

 real(kind=MPI_REAL16_KIND), dimension(:,:), intent(in) :: location
                         1
Error: Kind -1 not supported for type REAL at (1)
In file mpi_address_f90.f90:331

 complex(kind=MPI_REAL16_KIND), dimension(:,:), intent(in) :: location
                            1
Error: Kind -1 not supported for type COMPLEX at (1)
In file mpi_address_f90.f90:419

 real(kind=MPI_REAL16_KIND), dimension(:,:,:), intent(in) :: location
                         1
Error: Kind -1 not supported for type REAL at (1)
In file mpi_address_f90.f90:443

 complex(kind=MPI_REAL16_KIND), dimension(:,:,:), intent(in) :: location
                            1
Error: Kind -1 not supported for type COMPLEX at (1)
In file mpi_address_f90.f90:531

 real(kind=MPI_REAL16_KIND), dimension(:,:,:,:), intent(in) :: location
                         1
Error: Kind -1 not supported for type REAL at (1)
In file mpi_address_f90.f90:555

 complex(kind=MPI_REAL16_KIND), dimension(:,:,:,:), intent(in) :: location
                            1
Error: Kind -1 not supported for type COMPLEX at (1)
make[5]: *** [mpi_address_f90.o] Error 1
make[5]: Leaving directory `/work/source/openmpi-1.0.1/ompi/mpi/f90'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/work/source/openmpi-1.0.1/ompi/mpi/f90'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/work/source/openmpi-1.0.1/ompi/mpi/f90'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/work/source/openmpi-1.0.1/ompi/mpi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/work/source/openmpi-1.0.1/ompi'
make: *** [all-recursive] Error 1

I used the following variables:
FC=gfortran
CC=gcc
CXX=g++
F77=gfortran

Any hint on how to solve this problem?  Thanks.

Jyh-Shyong Ho, Ph.D.
Research Scientist
National Center for High Performance Computing
Hsinchu, Taiwan, ROC



Reply via email to