Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] Error compiling openmpi-1.9a1r29292
From: Siegmar Gross (Siegmar.Gross_at_[hidden])
Date: 2013-09-30 03:41:38


Hi,

today I tried to install openmpi-1.9a1r29292 on my platforms
(openSuSE 12.1 Linux x86_64, Solaris 10 x86_64, and Solaris 10 Sparc)
with Sun C 5.12 and gcc-4.8.0. I have the following error on all
platforms, when I compile a 32- or 64-bit version with Sun C.

...
  PPFC mpi-f08-interfaces.lo

module mpi_f08_interfaces
       ^
"../../../../../openmpi-1.9a1r29292/ompi/mpi/fortran/base/mpi-f08-interfaces.F90",
  Line = 19, Column = 8: ERROR: The compiler has detected
  errors in module "MPI_F08_INTERFACES". No module information
  file will be created for this module.

   use :: mpi_f08_types, only : MPI_Datatype, MPI_Comm, MPI_Aint,
     MPI_ADDRESS_KIND
                                                        ^
"../../../../../openmpi-1.9a1r29292/ompi/mpi/fortran/base/mpi-f08-interfaces.F90",
  Line = 4419, Column = 57: ERROR: "MPI_AINT" is not in module "MPI_F08_TYPES".

f90comp: 4622 SOURCE LINES
f90comp: 2 ERRORS, 0 WARNINGS, 0 OTHER MESSAGES, 0 ANSI
make[2]: *** [mpi-f08-interfaces.lo] Error 1
make[2]: Leaving directory
  `.../openmpi-1.9a1r29292-Linux.x86_64.64_cc/ompi/mpi/fortran/base'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
  `.../openmpi-1.9a1r29292-Linux.x86_64.64_cc/ompi'
make: *** [all-recursive] Error 1
linpc1 openmpi-1.9a1r29292-Linux.x86_64.64_cc 122

I have the following error on all platforms, when I compile a 32-bit
version with gcc-4.8.0.

linpc1 openmpi-1.9a1r29292-Linux.x86_64.32_gcc 120 tail -150 log.make.Linux.x86_64.32_gcc
Making all in mca/spml
make[2]: Entering directory `/export2/src/openmpi-1.9/openmpi-1.9a1r29292-Linux.x86_64.32_gcc/oshmem/mca/spml'
  CC base/spml_base_frame.lo
  CC base/spml_base_select.lo
  CC base/spml_base_request.lo
  CC base/spml_base_atomicreq.lo
  CC base/spml_base_getreq.lo
  CC base/spml_base_putreq.lo
  CC base/spml_base.lo
  CCLD libmca_spml.la
make[2]: Leaving directory `/export2/src/openmpi-1.9/openmpi-1.9a1r29292-Linux.x86_64.32_gcc/oshmem/mca/spml'
Making all in .
make[2]: Entering directory `/export2/src/openmpi-1.9/openmpi-1.9a1r29292-Linux.x86_64.32_gcc/oshmem'
  CC op/op.lo
../../openmpi-1.9a1r29292/oshmem/op/op.c: In function 'oshmem_op_max_freal16_func':
../../openmpi-1.9a1r29292/oshmem/op/op.c:134:15: error: 'a' undeclared (first use in this function)
         type *a = (type *) in; \
               ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:194:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(max, freal16, ompi_fortran_real16_t, __max_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:134:15: note: each undeclared identifier is reported only once for each function it appears in
         type *a = (type *) in; \
               ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:194:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(max, freal16, ompi_fortran_real16_t, __max_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:134:26: error: expected expression before ')' token
         type *a = (type *) in; \
                          ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:194:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(max, freal16, ompi_fortran_real16_t, __max_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:135:15: error: 'b' undeclared (first use in this function)
         type *b = (type *) out; \
               ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:194:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(max, freal16, ompi_fortran_real16_t, __max_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:135:26: error: expected expression before ')' token
         type *b = (type *) out; \
                          ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:194:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(max, freal16, ompi_fortran_real16_t, __max_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c: In function 'oshmem_op_min_freal16_func':
../../openmpi-1.9a1r29292/oshmem/op/op.c:134:15: error: 'a' undeclared (first use in this function)
         type *a = (type *) in; \
               ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:211:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(min, freal16, ompi_fortran_real16_t, __min_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:134:26: error: expected expression before ')' token
         type *a = (type *) in; \
                          ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:211:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(min, freal16, ompi_fortran_real16_t, __min_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:135:15: error: 'b' undeclared (first use in this function)
         type *b = (type *) out; \
               ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:211:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(min, freal16, ompi_fortran_real16_t, __min_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:135:26: error: expected expression before ')' token
         type *b = (type *) out; \
                          ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:211:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(min, freal16, ompi_fortran_real16_t, __min_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c: In function 'oshmem_op_sum_freal16_func':
../../openmpi-1.9a1r29292/oshmem/op/op.c:134:15: error: 'a' undeclared (first use in this function)
         type *a = (type *) in; \
               ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:230:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(sum, freal16, ompi_fortran_real16_t, __sum_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:134:26: error: expected expression before ')' token
         type *a = (type *) in; \
                          ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:230:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(sum, freal16, ompi_fortran_real16_t, __sum_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:135:15: error: 'b' undeclared (first use in this function)
         type *b = (type *) out; \
               ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:230:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(sum, freal16, ompi_fortran_real16_t, __sum_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:135:26: error: expected expression before ')' token
         type *b = (type *) out; \
                          ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:230:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(sum, freal16, ompi_fortran_real16_t, __sum_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c: In function 'oshmem_op_prod_freal16_func':
../../openmpi-1.9a1r29292/oshmem/op/op.c:134:15: error: 'a' undeclared (first use in this function)
         type *a = (type *) in; \
               ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:249:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(prod, freal16, ompi_fortran_real16_t, __prod_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:134:26: error: expected expression before ')' token
         type *a = (type *) in; \
                          ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:249:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(prod, freal16, ompi_fortran_real16_t, __prod_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:135:15: error: 'b' undeclared (first use in this function)
         type *b = (type *) out; \
               ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:249:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(prod, freal16, ompi_fortran_real16_t, __prod_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:135:26: error: expected expression before ')' token
         type *b = (type *) out; \
                          ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:249:1: note: in expansion of macro 'FUNC_OP_CREATE'
 FUNC_OP_CREATE(prod, freal16, ompi_fortran_real16_t, __prod_op);
 ^
../../openmpi-1.9a1r29292/oshmem/op/op.c: In function 'oshmem_op_init':
../../openmpi-1.9a1r29292/oshmem/op/op.c:149:62: error: expected expression before ')' token
         oshmem_op_##name##_##type_name->dt_size = sizeof(type); \
                                                              ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:302:5: note: in expansion of macro 'OBJ_OP_CREATE'
     OBJ_OP_CREATE(max, freal16, ompi_fortran_real16_t, OSHMEM_OP_MAX, OSHMEM_OP_TYPE_FREAL16);
     ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:149:62: error: expected expression before ')' token
         oshmem_op_##name##_##type_name->dt_size = sizeof(type); \
                                                              ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:318:5: note: in expansion of macro 'OBJ_OP_CREATE'
     OBJ_OP_CREATE(min, freal16, ompi_fortran_real16_t, OSHMEM_OP_MIN, OSHMEM_OP_TYPE_FREAL16);
     ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:149:62: error: expected expression before ')' token
         oshmem_op_##name##_##type_name->dt_size = sizeof(type); \
                                                              ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:336:5: note: in expansion of macro 'OBJ_OP_CREATE'
     OBJ_OP_CREATE(sum, freal16, ompi_fortran_real16_t, OSHMEM_OP_SUM, OSHMEM_OP_TYPE_FREAL16);
     ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:149:62: error: expected expression before ')' token
         oshmem_op_##name##_##type_name->dt_size = sizeof(type); \
                                                              ^
../../openmpi-1.9a1r29292/oshmem/op/op.c:354:5: note: in expansion of macro 'OBJ_OP_CREATE'
     OBJ_OP_CREATE(prod, freal16, ompi_fortran_real16_t, OSHMEM_OP_PROD, OSHMEM_OP_TYPE_FREAL16);
     ^
make[2]: *** [op/op.lo] Error 1
make[2]: Leaving directory `/export2/src/openmpi-1.9/openmpi-1.9a1r29292-Linux.x86_64.32_gcc/oshmem'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export2/src/openmpi-1.9/openmpi-1.9a1r29292-Linux.x86_64.32_gcc/oshmem'
make: *** [all-recursive] Error 1
linpc1 openmpi-1.9a1r29292-Linux.x86_64.32_gcc 121

I would be grateful, if somebody can fix the problems. Thank you very
much for your help in advance.

Kind regards

Siegmar