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.6.3 MinGW64 buildup on Windows 7
From: Ilias Miroslav (Miroslav.Ilias_at_[hidden])
Date: 2012-12-09 14:52:03


Dear experts,

following README.WINDOWS.txt I am trying to install OpenMPI-1.6.3 using MinGW64 package on my 64-bit Windows 7 machine.

After configuring with cmake-giu, I got these error messages below. Any help, please ? Maybe I should set up some CMake variable to cure " conflicting types for 'ssize_t'" ?
It seems that you support build only on 32-bit Windows platform....?

Miro

C:\OpenMPI-1.6.3_MinGW64>mingw32-make install
-- The Fortran compiler identification is GNU
-- checking for type of MPI_Offset...
-- checking for type of MPI_Offset...long long
-- checking for an MPI datatype for MPI_Offset...
-- checking for an MPI datatype for MPI_Offset...MPI_LONG_LONG
-- Check for working flex...
-- Skipping MPI F77 interface
-- looking for ccp...
-- looking for ccp...not found.
-- looking for ccp...
-- looking for ccp...not found.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/OpenMPI-1.6.3_MinGW64
Scanning dependencies of target libopen-pal
[ 1%] Building C object opal/CMakeFiles/libopen-pal.dir/datatype/opal_datatype_pack_check
sum.obj
In file included from C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/include/o
pal_config_bottom.h:258:0,
                 from C:/OpenMPI-1.6.3_MinGW64/opal/include/opal_config.h:1468,
                 from C:\OpenMPI-1.6.3_MinGW64\opal\datatype\opal_datatype_pack_checksum.c
:21:
C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/win32/win_compat.h:93:14: error
: conflicting types for 'ssize_t'
In file included from c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_6
4-w64-mingw32/include/windows.h:9:0,
                 from C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/win32/win
_compat.h:59,
                 from C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/include/o
pal_config_bottom.h:258,
                 from C:/OpenMPI-1.6.3_MinGW64/opal/include/opal_config.h:1468,
                 from C:\OpenMPI-1.6.3_MinGW64\opal\datatype\opal_datatype_pack_checksum.c
:21:
c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/
_mingw.h:381:35: note: previous declaration of 'ssize_t' was here
In file included from C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/include/o
pal_config_bottom.h:258:0,
                 from C:/OpenMPI-1.6.3_MinGW64/opal/include/opal_config.h:1468,
                 from C:\OpenMPI-1.6.3_MinGW64\opal\datatype\opal_datatype_pack_checksum.c
:21:
C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/win32/win_compat.h:175:0: warni
ng: "PATH_MAX" redefined [enabled by default]
In file included from c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/include-fixed/lim
its.h:169:0,
                 from c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/include-fixed/sys
limits.h:7,
                 from c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/include-fixed/lim
its.h:34,
                 from c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_6
4-w64-mingw32/include/stdlib.h:10,
                 from c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_6
4-w64-mingw32/include/intrin.h:21,
                 from c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_6
4-w64-mingw32/include/winnt.h:1472,
                 from c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_6
4-w64-mingw32/include/windef.h:139,
                 from c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_6
4-w64-mingw32/include/windows.h:69,
                 from C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/win32/win
_compat.h:59,
                 from C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/include/o
pal_config_bottom.h:258,
                 from C:/OpenMPI-1.6.3_MinGW64/opal/include/opal_config.h:1468,
                 from C:\OpenMPI-1.6.3_MinGW64\opal\datatype\opal_datatype_pack_checksum.c
:21:
c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/
limits.h:20:0: note: this is the location of the previous definition
In file included from C:/OpenMPI-1.6.3_MinGW64/opal/include/opal_config.h:1468:0,
                 from C:\OpenMPI-1.6.3_MinGW64\opal\datatype\opal_datatype_pack_checksum.c
:21:
C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/include/opal_config_bottom.h:55
9:0: warning: "PF_UNSPEC" redefined [enabled by default]
In file included from C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/win32/win
_compat.h:68:0,
                 from C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/include/o
pal_config_bottom.h:258,
                 from C:/OpenMPI-1.6.3_MinGW64/opal/include/opal_config.h:1468,
                 from C:\OpenMPI-1.6.3_MinGW64\opal\datatype\opal_datatype_pack_checksum.c
:21:
c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/
winsock2.h:268:0: note: this is the location of the previous definition
In file included from C:/OpenMPI-1.6.3_MinGW64/opal/include/opal_config.h:1468:0,
                 from C:\OpenMPI-1.6.3_MinGW64\opal\datatype\opal_datatype_pack_checksum.c
:21:
C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/include/opal_config_bottom.h:56
2:0: warning: "AF_INET6" redefined [enabled by default]
In file included from C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/win32/win
_compat.h:68:0,
                 from C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/include/o
pal_config_bottom.h:258,
                 from C:/OpenMPI-1.6.3_MinGW64/opal/include/opal_config.h:1468,
                 from C:\OpenMPI-1.6.3_MinGW64\opal\datatype\opal_datatype_pack_checksum.c
:21:
c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/
winsock2.h:243:0: note: this is the location of the previous definition
In file included from C:/OpenMPI-1.6.3_MinGW64/opal/include/opal_config.h:1468:0,
                 from C:\OpenMPI-1.6.3_MinGW64\opal\datatype\opal_datatype_pack_checksum.c
:21:
C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/include/opal_config_bottom.h:56
5:0: warning: "PF_INET6" redefined [enabled by default]
In file included from C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/win32/win
_compat.h:68:0,
                 from C:/Users/milias/Downloads/openmpi-1.6.3/openmpi-1.6.3/opal/include/o
pal_config_bottom.h:258,
                 from C:/OpenMPI-1.6.3_MinGW64/opal/include/opal_config.h:1468,
                 from C:\OpenMPI-1.6.3_MinGW64\opal\datatype\opal_datatype_pack_checksum.c
:21:
c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/
winsock2.h:292:0: note: this is the location of the previous definition
mingw32-make[2]: *** [opal/CMakeFiles/libopen-pal.dir/datatype/opal_datatype_pack_checksum
.obj] Error 1
mingw32-make[1]: *** [opal/CMakeFiles/libopen-pal.dir/all] Error 2
mingw32-make: *** [all] Error 2

C:\OpenMPI-1.6.3_MinGW64>