Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] Problem compiling open MPI on cygwin on windows
From: Michael (mthomson_at_[hidden])
Date: 2008-04-23 19:51:35


Hi,

New to open MPI, but have used MPI before.

I am trying to compile open MPI on cygwin on widows XP. From what I
have read this should work?

Initially I hit a problem with the 1.2.6 standard download in that
time related header file was incorrect and the mailing list pointed me
to the trunk build to solve that problem.

Now when I try to compile I am getting the following error at the
bottom of this mail.

My question is am I wasting my time trying to use cygwin, or are there
people out there using it on cygwin. If so, is there a solution to the
problem below?

Thanks in Advance,
Michael.

        mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../opal/include
-I../../../../orte/include -I../../../../ompi/include -I../../../../op
al/mca/paffinity/linux/plpa/src/libplpa -I../../../.. -D_REENTRANT -O3
-DNDEBUG -finline-functions -fno-strict-aliasing -MT paffinity_window
s_module.lo -MD -MP -MF .deps/paffinity_windows_module.Tpo -c
paffinity_windows_module.c -DDLL_EXPORT -DPIC -o
.libs/paffinity_windows_modu
le.o
paffinity_windows_module.c:41: error: parse error before "sys_info"
paffinity_windows_module.c:41: warning: data definition has no type or
storage class
paffinity_windows_module.c: In function `windows_module_get_num_procs':
paffinity_windows_module.c:90: error: request for member
`dwNumberOfProcessors' in something not a structure or union
paffinity_windows_module.c: In function `windows_module_set':
paffinity_windows_module.c:96: error: `HANDLE' undeclared (first use in
this function)
paffinity_windows_module.c:96: error: (Each undeclared identifier is
reported only once
paffinity_windows_module.c:96: error: for each function it appears in.)
paffinity_windows_module.c:96: error: parse error before "threadid"
paffinity_windows_module.c:97: error: `DWORD_PTR' undeclared (first use
in this function)
paffinity_windows_module.c:99: error: `threadid' undeclared (first use
in this function)
paffinity_windows_module.c:99: error: `process_mask' undeclared (first
use in this function)
paffinity_windows_module.c:99: error: `system_mask' undeclared (first
use in this function)
paffinity_windows_module.c: In function `windows_module_get':
paffinity_windows_module.c:116: error: `HANDLE' undeclared (first use in
this function)
paffinity_windows_module.c:116: error: parse error before "threadid"
paffinity_windows_module.c:117: error: `DWORD_PTR' undeclared (first use
in this function)
paffinity_windows_module.c:119: error: `threadid' undeclared (first use
in this function)
paffinity_windows_module.c:119: error: `process_mask' undeclared (first
use in this function)
paffinity_windows_module.c:119: error: `system_mask' undeclared (first
use in this function)
make[2]: *** [paffinity_windows_module.lo] Error 1
make[2]: Leaving directory
`/home/Michael/mpi/openmpi-1.3a1r18208/opal/mca/paffinity/windows'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Michael/mpi/openmpi-1.3a1r18208/opal'
make: *** [all-recursive] Error 1