Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] openmpi-1.2.8: segmentation fault using Cygwin-1.5 and gcc-3.4.4
From: Siegmar Gross (Siegmar.Gross_at_[hidden])
Date: 2009-02-12 09:09:02


Hi,

I have installed openmpi-1.2.8 using Cygwin 1.5 on top of Windows
XP Pro with gcc-3.4.4 with the following commands.

configure --prefix=/usr/local/openmpi-1.2.8 \
  CFLAGS="" CXXFLAGS="" FFLAGS="" FCFLAGS="" \
  CPPFLAGS="" C_INCL_PATH="" C_INCLUDE_PATH="" CPLUS_INCLUDE_PATH="" \
  OBJC_INCLUDE_PATH="" \
  --without-udapl \
  --enable-cxx-exceptions --enable-mpi-threads \
  --enable-progress-threads --with-threads=posix \
  --enable-static --without-cs-fs \
  |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV

cp -p opal/mca/timer/windows/timer_windows.h \
  opal/mca/timer/windows/timer_windows_component.h

make |& tee log.make.$SYSTEM_ENV.$MACHINE_ENV
make install |& tee log.make-install.$SYSTEM_ENV.$MACHINE_ENV

I get the following output when I run some commands.

eiger Admin 4 set MPI = openmpi-1.2.8
eiger Admin 5 source .mpi.csh

eiger hello1 8 mpicc -show
[eiger:05032] *** Process received signal ***
[eiger:05032] Signal: Segmentation fault (11)
[eiger:05032] Signal code: (23)
[eiger:05032] Failing at address: 0x401a06
[eiger:05032] *** End of error message ***
Segmentation fault (core dumped)

eiger hello1 9 orted --help
Usage: orted [OPTION]...
Start an Open RTE Daemon
...

eiger hello1 10 orterun --help
orterun (OpenRTE) 1.2.8

Usage: orterun [OPTION]... [PROGRAM]...
Start the given program using Open RTE
...

eiger hello1 11 ompi_info --help
--------------------------------------------------------------------------
The ompi_info command can be used to provide detailed information on
your Open MPI installation. Syntax:
...

eiger Admin 4 set MPI = openmpi-1.2.8
eiger Admin 5 source .mpi.csh
eiger Admin 6 ompi_info
                Open MPI: 1.2.8
   Open MPI SVN revision: r19718
                Open RTE: 1.2.8
   Open RTE SVN revision: r19718
                    OPAL: 1.2.8
       OPAL SVN revision: r19718
                  Prefix: /usr/local/openmpi-1.2.8
 Configured architecture: i686-pc-cygwin
           Configured by: fd1026
           Configured on: Sun Jan 4 11:45:54 2009
          Configure host: eiger
                Built by: fd1026
                Built on: Sun Jan 4 15:21:41 2009
              Built host: eiger
              C bindings: yes
            C++ bindings: yes
      Fortran77 bindings: yes (double underscore)
      Fortran90 bindings: no
 Fortran90 bindings size: na
              C compiler: gcc
     C compiler absolute: /usr/bin/gcc
            C++ compiler: g++
   C++ compiler absolute: /usr/bin/g++
      Fortran77 compiler: g77
  Fortran77 compiler abs: /usr/bin/g77
      Fortran90 compiler: none
  Fortran90 compiler abs: none
             C profiling: yes
           C++ profiling: yes
     Fortran77 profiling: yes
     Fortran90 profiling: no
          C++ exceptions: yes
          Thread support: posix (mpi: yes, progress: yes)
  Internal debug support: no
     MPI parameter check: runtime
Memory profiling support: no
Memory debugging support: no
         libltdl support: yes
   Heterogeneous support: yes
 mpirun default --prefix: no
           MCA backtrace: none (MCA v1.0, API v1.0, Component v1.2.8)
           MCA paffinity: windows (MCA v1.0, API v1.0, Component v1.2.8)
           MCA maffinity: first_use (MCA v1.0, API v1.0, Component v1.2.8)
               MCA timer: windows (MCA v1.0, API v1.0, Component v1.2.8)
...
                 MCA pls: gridengine (MCA v1.0, API v1.3, Component v1.2.8)
                 MCA pls: rsh (MCA v1.0, API v1.3, Component v1.2.8)
                 MCA sds: env (MCA v1.0, API v1.0, Component v1.2.8)
                 MCA sds: seed (MCA v1.0, API v1.0, Component v1.2.8)
                 MCA sds: singleton (MCA v1.0, API v1.0, Component v1.2.8)
                 MCA sds: pipe (MCA v1.0, API v1.0, Component v1.2.8)
eiger Admin 7

It seems that everything is working with the execption of "mpicc".
When I search the log-files I can find the following problems.

wi23 openmpi-1.2.8-gcc 17 grep -i warning log.configure.Cygwin.x86
configure: WARNING: -fno-strict-aliasing has been added to CFLAGS
configure: WARNING: -finline-functions has been added to CXXFLAGS
configure: WARNING: *** Fortran 90/95 bindings disabled (could not find
compiler)
configure: WARNING: *** Shared libraries have been disabled (--disable-shared)
configure: WARNING: *** Building MCA components as DSOs automatically disabled
configure: WARNING: Unknown architecture ... proceeding anyway
configure: WARNING: File locks may not work with NFS. See the Installation and
wi23 openmpi-1.2.8-gcc 18

wi23 openmpi-1.2.8-gcc 19 grep -i warning log.make.Cygwin.x86
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared
libraries
*** Warning: This system can not link to static lib archive
/home/Admin/MPI/OpenMpi/openmpi-1.2.8/opal/libopen-pal.la.
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared
libraries
../../ompi/datatype/datatype_pack.h:41: warning: passing arg 5 of
`opal_bcopy_uicsum_partial' from incompatible pointer type
../../ompi/datatype/datatype_pack.h:51: warning: passing arg 5 of
`opal_bcopy_uicsum_partial' from incompatible pointer type
../../ompi/datatype/datatype_pack.h:82: warning: passing arg 5 of
`opal_bcopy_uicsum_partial' from incompatible pointer type
datatype_pack.c:75: warning: passing arg 3 of `opal_uicsum_partial' from
incompatible pointer type
datatype_pack.c:80: warning: passing arg 5 of `opal_bcopy_uicsum_partial' from
incompatible pointer type
datatype_pack.c:143: warning: passing arg 3 of `opal_uicsum_partial' from
incompatible pointer type
datatype_pack.c:162: warning: passing arg 3 of `opal_uicsum_partial' from
incompatible pointer type
datatype_pack.c:168: warning: passing arg 3 of `opal_uicsum_partial' from
incompatible pointer type
datatype_pack.c:193: warning: passing arg 5 of `opal_bcopy_uicsum_partial' from
incompatible pointer type
datatype_pack.c:203: warning: passing arg 5 of `opal_bcopy_uicsum_partial' from
incompatible pointer type
datatype_pack.c:214: warning: passing arg 5 of `opal_bcopy_uicsum_partial' from
incompatible pointer type
../../ompi/datatype/datatype_unpack.h:41: warning: passing arg 5 of
`opal_bcopy_uicsum_partial' from incompatible pointer type
../../ompi/datatype/datatype_unpack.h:51: warning: passing arg 5 of
`opal_bcopy_uicsum_partial' from incompatible pointer type
../../ompi/datatype/datatype_unpack.h:82: warning: passing arg 5 of
`opal_bcopy_uicsum_partial' from incompatible pointer type
datatype_unpack.c:216: warning: passing arg 5 of `opal_bcopy_uicsum_partial'
from incompatible pointer type
datatype_unpack.c:234: warning: passing arg 5 of `opal_bcopy_uicsum_partial'
from incompatible pointer type
datatype_unpack.c:245: warning: passing arg 5 of `opal_bcopy_uicsum_partial'
from incompatible pointer type
datatype_unpack.c:258: warning: passing arg 5 of `opal_bcopy_uicsum_partial'
from incompatible pointer type
datatype_unpack.c:395: warning: passing arg 3 of `opal_uicsum_partial' from
incompatible pointer type
datatype_unpack.c:429: warning: passing arg 3 of `opal_uicsum_partial' from
incompatible pointer type
dt_args.c:611: warning: passing arg 1 of `__ompi_ddt_create_from_args' from
incompatible pointer type
dt_args.c:649: warning: passing arg 2 of `ompi_ddt_create_indexed' from
incompatible pointer type
dt_args.c:649: warning: passing arg 3 of `ompi_ddt_create_indexed' from
incompatible pointer type
dt_args.c:654: warning: passing arg 2 of `ompi_ddt_create_hindexed' from
incompatible pointer type
dt_args.c:658: warning: passing arg 3 of `ompi_ddt_create_indexed_block' from
incompatible pointer type
dt_args.c:663: warning: passing arg 2 of `ompi_ddt_create_struct' from
incompatible pointer type
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared
libraries
ppack_external.c:78: warning: passing arg 3 of `ompi_convertor_pack' from
incompatible pointer type
ppack.c:80: warning: passing arg 3 of `ompi_convertor_pack' from incompatible
pointer type
ptype_contiguous.c:58: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
ptype_create_darray.c:218: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
ptype_create_hindexed.c:77: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
ptype_create_hvector.c:70: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
ptype_create_indexed_block.c:68: warning: passing arg 3 of `ompi_ddt_set_args'
from incompatible pointer type
ptype_create_struct.c:81: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
ptype_create_subarray.c:143: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
ptype_get_contents.c:61: warning: passing arg 3 of `ompi_ddt_get_args' from
incompatible pointer type
ptype_get_contents.c:61: warning: passing arg 4 of `ompi_ddt_get_args' from
incompatible pointer type
ptype_get_contents.c:61: warning: passing arg 5 of `ompi_ddt_get_args' from
incompatible pointer type
ptype_get_contents.c:61: warning: passing arg 7 of `ompi_ddt_get_args' from
incompatible pointer type
ptype_get_envelope.c:56: warning: passing arg 3 of `ompi_ddt_get_args' from
incompatible pointer type
ptype_get_envelope.c:56: warning: passing arg 5 of `ompi_ddt_get_args' from
incompatible pointer type
ptype_get_envelope.c:56: warning: passing arg 7 of `ompi_ddt_get_args' from
incompatible pointer type
ptype_get_envelope.c:56: warning: passing arg 9 of `ompi_ddt_get_args' from
incompatible pointer type
ptype_indexed.c:81: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
ptype_vector.c:66: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
punpack_external.c:75: warning: passing arg 3 of `ompi_convertor_unpack' from
incompatible pointer type
punpack.c:84: warning: passing arg 3 of `ompi_convertor_unpack' from
incompatible pointer type
pack_external.c:78: warning: passing arg 3 of `ompi_convertor_pack' from
incompatible pointer type
pack.c:80: warning: passing arg 3 of `ompi_convertor_pack' from incompatible
pointer type
type_contiguous.c:58: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
type_create_darray.c:218: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
type_create_hindexed.c:77: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
type_create_hvector.c:70: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
type_create_indexed_block.c:68: warning: passing arg 3 of `ompi_ddt_set_args'
from incompatible pointer type
type_create_struct.c:81: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
type_create_subarray.c:143: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
type_get_contents.c:61: warning: passing arg 3 of `ompi_ddt_get_args' from
incompatible pointer type
type_get_contents.c:61: warning: passing arg 4 of `ompi_ddt_get_args' from
incompatible pointer type
type_get_contents.c:61: warning: passing arg 5 of `ompi_ddt_get_args' from
incompatible pointer type
type_get_contents.c:61: warning: passing arg 7 of `ompi_ddt_get_args' from
incompatible pointer type
type_get_envelope.c:56: warning: passing arg 3 of `ompi_ddt_get_args' from
incompatible pointer type
type_get_envelope.c:56: warning: passing arg 5 of `ompi_ddt_get_args' from
incompatible pointer type
type_get_envelope.c:56: warning: passing arg 7 of `ompi_ddt_get_args' from
incompatible pointer type
type_get_envelope.c:56: warning: passing arg 9 of `ompi_ddt_get_args' from
incompatible pointer type
type_indexed.c:81: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
type_vector.c:66: warning: passing arg 3 of `ompi_ddt_set_args' from
incompatible pointer type
unpack_external.c:75: warning: passing arg 3 of `ompi_convertor_unpack' from
incompatible pointer type
unpack.c:84: warning: passing arg 3 of `ompi_convertor_unpack' from incompatible
pointer type
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared
libraries
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared
libraries
base/pml_base_bsend.c:255: warning: passing arg 3 of `ompi_convertor_pack' from
incompatible pointer type
pml_cm_send.c:77: warning: passing arg 3 of `ompi_convertor_pack' from
incompatible pointer type
pml_cm_send.c:142: warning: passing arg 3 of `ompi_convertor_pack' from
incompatible pointer type
pml_cm_start.c:124: warning: passing arg 3 of `ompi_convertor_pack' from
incompatible pointer type
pml_ob1_sendreq.c:417: warning: passing arg 3 of `ompi_convertor_pack' from
incompatible pointer type
pml_ob1_sendreq.c:468: warning: passing arg 3 of `ompi_convertor_pack' from
incompatible pointer type
pml_ob1_sendreq.c:533: warning: passing arg 3 of `ompi_convertor_pack' from
incompatible pointer type
attribute/attribute.c:685: warning: passing arg 1 of pointer to function from
incompatible pointer type
attribute/attribute.c:685: warning: passing arg 1 of pointer to function from
incompatible pointer type
attribute/attribute.c:901: warning: passing arg 1 of pointer to function from
incompatible pointer type
attribute/attribute.c:901: warning: passing arg 1 of pointer to function from
incompatible pointer type
attribute/attribute.c:1071: warning: passing arg 1 of pointer to function from
incompatible pointer type
attribute/attribute.c:1071: warning: passing arg 1 of pointer to function from
incompatible pointer type
*** Warning: This system can not link to static lib archive
/home/Admin/MPI/OpenMpi/openmpi-1.2.8/orte/libopen-rte.la.
*** Warning: This system can not link to static lib archive
/home/Admin/MPI/OpenMpi/openmpi-1.2.8/opal/libopen-pal.la.
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared
libraries
wi23 openmpi-1.2.8-gcc 20

The log-files contain no errors. Does anybody know what's wrong with
the installation? Does anybody have a working installation? Thank
you very much for any help in advance.

Kind regads

Siegmar