Opened 8 years ago

Closed 5 years ago

#1050 closed bug (wontfix)

Hydra fails to install on cygwin

Reported by: jayesh Owned by: jayesh
Priority: major Milestone: future
Component: mpich Keywords:
Cc:

Description (last modified by balaji)

trunk [3d6c7b68bbf3e1986619c9e0571b9c4058953f9c], configure/build works (Used options for configure - "--prefix ... --disable-f77 --disable-f90 --disable-cxx --disable-mpe --disable-romio"). Install fails on Cygwin (gcc on cygwin) with the following error message,

=============================================================
make  install-exec-hook
make[5]: Entering directory `/cygdrive/c/jay/ANL/MPICH2CygwinBuild/mpich2-trunk/src/pm/hydra/tools/b
ind/hwloc/hwloc/src'
/usr/bin/install -c .libs/libhwloc.def /cygdrive/c/jay/ANL/MPICH2CygwinBuild/mpich2-trunk/mpich2-ins
tall/lib
/usr/bin/install: cannot stat `.libs/libhwloc.def': No such file or directory
make[5]: *** [install-exec-hook] Error 1
make[5]: Leaving directory `/cygdrive/c/jay/ANL/MPICH2CygwinBuild/mpich2-trunk/src/pm/hydra/tools/bi
nd/hwloc/hwloc/src'
make[4]: *** [install-exec-am] Error 2
make[4]: Leaving directory `/cygdrive/c/jay/ANL/MPICH2CygwinBuild/mpich2-trunk/src/pm/hydra/tools/bi
nd/hwloc/hwloc/src'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/cygdrive/c/jay/ANL/MPICH2CygwinBuild/mpich2-trunk/src/pm/hydra/tools/bi
nd/hwloc/hwloc/src'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/jay/ANL/MPICH2CygwinBuild/mpich2-trunk/src/pm/hydra/tools/bi
nd/hwloc/hwloc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/jay/ANL/MPICH2CygwinBuild/mpich2-trunk/src/pm/hydra'
=============================================================

Looks like the install step expects ".libs/libhwloc.def" to be present (for windows/cygwin) and the file is not in the source tree.

  • Jayesh

Attachments (3)

configure.log (72.0 KB) - added by jayesh 8 years ago.
make.log (90.2 KB) - added by jayesh 8 years ago.
install.log (22.1 KB) - added by jayesh 8 years ago.

Download all attachments as: .zip

Change History (22)

comment:1 Changed 8 years ago by jayesh

  • Owner set to jayesh
  • Status changed from new to accepted

comment:2 Changed 8 years ago by jayesh

hwloc 1.0.1 from OpenMPI website compiles/installs on Cygwin without any errors.

-Jayesh

comment:3 Changed 8 years ago by balaji

I'll update to 1.0.1.

Changed 8 years ago by jayesh

Changed 8 years ago by jayesh

Changed 8 years ago by jayesh

comment:4 Changed 8 years ago by jayesh

  • Priority changed from major to blocker

Pavan,

I still get the same error message with trunk@[24498483d2b200aeb45e9ac561d71cd2eb6ed24a]. configure/make/install logs attached.

-Jayesh

comment:5 Changed 8 years ago by balaji

Did you try hwloc-1.0.2 directly?

comment:6 Changed 8 years ago by jayesh

Hi,

hwloc-1.0.2 fails to build (make fails) to cygwin.

$ uname -a
CYGWIN_NT-6.1-WOW64 msnehalem1 1.7.6(0.230/5/3) 2010-08-16 16:06 i686 Cygwin
                 from lstopo-cairo.c:44:
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:255: err
or: two or more data types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:270: err
or: two or more data types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:291: err
or: two or more data types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:316: err
or: two or more data types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:571: err
or: two or more data types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:594: err
or: two or more data types in declaration specifiers
make[1]: *** [lstopo-lstopo-cairo.o] Error 1
make[1]: Leaving directory `/cygdrive/c/Users/jayesh/ANL/MPICH2CygwinBuild/hwloc
/hwloc-1.0.2/utils'
make: *** [all-recursive] Error 1

-Jayesh

comment:7 Changed 8 years ago by balaji

In that case, we'll need to get the hwloc guys to fix it. Push this ticket to 1.3.1.

comment:8 Changed 8 years ago by jayesh

  • Milestone changed from mpich2-1.3 to mpich2-1.3.1
  • Priority changed from blocker to major

The last time I checked hwloc 1.0.1 compiled/installed successfully. Are we doing anything different from what the hwloc guys do (Is the build system different)?

-Jayesh

comment:9 Changed 8 years ago by balaji

Our version has some minor modifications. That's why I asked you to try out the hwloc-1.0.2 version directly. But since that failed as well, this is really an hwloc problem.

comment:10 Changed 8 years ago by jayesh

Disabled hwloc on Cygwin for now ([cf2875782b4d1e670720d91579876dca28f7e0c2]).
Also see ticket 1097.

-Jayesh

comment:11 Changed 8 years ago by jayesh

hwloc-1.1rc4 compiles/installs correctly on Cygwin.

-Jayesh

comment:12 Changed 8 years ago by jayesh

Pavan,

What is the version of hwloc used in Hydra. I tried compiling MPICH2 [7587] on Cygwin (after removing the hack to disable hwloc) and got the same error message.

-Jayesh

comment:13 Changed 8 years ago by balaji

We currently have 1.1rc3. I've also pushed some of the patches we maintain locally to the upstream hwloc release, so they should be in 1.1rc4 as well. I'll update the local trunk to this version soon.

comment:14 Changed 7 years ago by balaji

MPICH2 uses hwloc-1.1 as of [a8fcaa130e573cd3ec9e7fcd6a1bad7c0175288e].

comment:15 Changed 7 years ago by jayesh

  • Milestone changed from mpich2-1.3.2 to mpich2-1.3.3

Hydra+hwloc still does not work on Cygwin. We might need to see what we do differently in our configure/make compared to hwloc.

-Jayesh

comment:16 Changed 7 years ago by balaji

  • Milestone changed from mpich2-1.3.3 to mpich2-1.4

Milestone mpich2-1.3.3 deleted

comment:17 Changed 7 years ago by balaji

  • Milestone changed from mpich2-1.4 to future

comment:18 Changed 5 years ago by balaji

  • Description modified (diff)
  • Status changed from accepted to new

comment:19 Changed 5 years ago by balaji

  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.