Re: [O-MPI devel] ppc64 linux bustage?

2005-10-29 Thread Troy Benjegerdes
> > succeeded.
> 
> If you don't have the exact output any more: could you please rerun
> autogen.sh and post it?
> 
> > Do you have a debian system you can remove the libltdl3 and libltdl3-dev
> > packages?
> 
> Yes, I could try that tonight (my timezone), but..
> 
> > It seems like there's some strange depenency on this.
> 
> I don't either think this is the cause of the error.  What is the
> libtoolize version autogen.sh picks up?

see 

http://scl.ameslab.gov/~troy/ompi_debug/genlog-nolibltdl3
http://scl.ameslab.gov/~troy/ompi_debug/genlog-with-libltdl3

(Or maybe just this diff)

diff -u genlog-nolibltdl3 genlog-with-libltdl3
--- genlog-nolibltdl3   2005-10-29 00:42:53.0 -0500
+++ genlog-with-libltdl32005-10-29 00:49:55.0 -0500
@@ -771,10 +771,8 @@
 [Running] autoheader
 [Running] autoconf
 [Running] libtoolize --automake --copy --ltdl
-ls: libltdl/*: No such file or directory
 Adjusting libltdl for OMPI :-(
   -- patching for argz bugfix in libtool 1.5
-grep: ltdl.c: No such file or directory
  ==> your libtool doesn't need this! yay!
   -- patching configure for broken -c/-o compiler test
 [Running] automake --foreign -a --copy --include-deps


p5l2:/usr/src/ompi-trunk-debug# dpkg -l libtool
libtool1.5.20-2   Generic library support script




Re: [O-MPI devel] ppc64 linux bustage?

2005-10-29 Thread Ralf Wildenhues
Hi Troy,

* Troy Benjegerdes wrote on Sat, Oct 29, 2005 at 08:01:08AM CEST:
> > 
> > > Do you have a debian system you can remove the libltdl3 and libltdl3-dev
> > > packages?
> > 
> > Yes, I could try that tonight (my timezone), but..

(I can't try that, actually, without upgrading my sarge installation,
which I'm not ready for quite *yet*, given that I need it unbroken :)

> > > It seems like there's some strange depenency on this.
> > 
> > I don't either think this is the cause of the error.  What is the
> > libtoolize version autogen.sh picks up?
> 
> see 
> 
> http://scl.ameslab.gov/~troy/ompi_debug/genlog-nolibltdl3
> http://scl.ameslab.gov/~troy/ompi_debug/genlog-with-libltdl3
> 
> (Or maybe just this diff)

Thank you very much.  Most information was present before this message,
but only with this one I finally got the hint.  It's a bug when
  libtoolize --ltdl
succeeds although it did not find the libltdl source files.  Surely
doesn't happen with source-built Libtool, only when packaged separately.

Suggestion for improved check in OpenMPI below (patch against
branches/v1.0).  I'll post a bugfix for Libtool, and Cc: this list and
the Debian maintainer about this then.

Thanks very much for reporting this, and patience with me.

Do I gather correctly that your remaining open issues with OpenMPI (once
libltdl3 and libltdl3-dev are installed) are not autotools-related?

Cheers,
Ralf

Note for the patch: Libtool 2.0 will enable to directly put libltdl in
opal/libltdl; the change below copes with that.

Index: autogen.sh
===
--- autogen.sh  (Revision 7929)
+++ autogen.sh  (Arbeitskopie)
@@ -385,7 +385,16 @@
 if test -f include/mpi.h.in; then
rm -rf libltdl opal/libltdl opal/ltdl.h
run_and_check $ompi_libtoolize --automake --copy --ltdl
-   mv libltdl opal
+   if test -d libltdl; then
+   mv libltdl opal
+   fi
+   if test ! -r opal/libltdl/ltdl.h; then
+   cat <

[O-MPI devel] libtoolize --ltdl non-failure (was: ppc64 linux bustage?)

2005-10-29 Thread Ralf Wildenhues
[ This is a bug reported against Debian libtool/libltdl packages,
  uncovered in OpenMPI; see here:
  http://www.open-mpi.org/community/lists/devel/2005/10/0487.php
  It affects Debian packages, Libtool CVS branch-1-5, and CVS HEAD.
  For followups, please remove de...@open-mpi.org (subscribers only).
]

> * Troy Benjegerdes wrote on Sat, Oct 29, 2005 at 08:01:08AM CEST:
>
[ reported this: ]

* Ralf Wildenhues wrote on Sat, Oct 29, 2005 at 10:38:11AM CEST:
> It's a bug when
>   libtoolize --ltdl
> succeeds although it did not find the libltdl source files.

To reproduce: uninstall libtldl3-dev on Debian, then see above command
still succeeding; alternatively, just move `$pkgdatadir/libltdl'
somewhere else after `make install'.  I'm uncertain whether Debian's
packaging needs a change, though.

In any case, OK to apply the patch below to branch-1-5?

Gary, could you look into a fix for CVS HEAD?  The corresponding code
looks a bit nonobvious to me.

Cheers,
Ralf

* libtoolize.in: Fail if libltdl files not present but
`--ltdl' given.
Reported by Troy Benjegerdes .

Index: libtoolize.in
===
RCS file: /cvsroot/libtool/libtool/Attic/libtoolize.in,v
retrieving revision 1.21.2.13
diff -u -r1.21.2.13 libtoolize.in
--- libtoolize.in   22 Apr 2005 09:05:40 -  1.21.2.13
+++ libtoolize.in   29 Oct 2005 09:01:33 -
@@ -281,6 +281,10 @@
 if test "x$ltdl" = xyes; then
   test -d libltdl || $mkdir libltdl
   ltdlfiles=`cd $pkgdatadir && ls libltdl/*`
+  if test -z "$ltdlfiles"; then
+echo "$progname: cannot list files in \`$pkgdatadir/libltdl'" 1>&2
+exit 1
+  fi
 else
   ltdlfiles=
 fi


Re: [O-MPI devel] ppc64 linux bustage?

2005-10-29 Thread Jeff Squyres

On Oct 29, 2005, at 4:38 AM, Ralf Wildenhues wrote:


Suggestion for improved check in OpenMPI below (patch against
branches/v1.0).  I'll post a bugfix for Libtool, and Cc: this list and
the Debian maintainer about this then.


Committed against OMPI trunk and v1.0 branch.

Thanks!

--
{+} Jeff Squyres
{+} The Open MPI Project
{+} http://www.open-mpi.org/



Re: [O-MPI devel] ppc64 linux bustage?

2005-10-29 Thread Troy Benjegerdes
> Suggestion for improved check in OpenMPI below (patch against
> branches/v1.0).  I'll post a bugfix for Libtool, and Cc: this list and
> the Debian maintainer about this then.
> 
> Thanks very much for reporting this, and patience with me.
> 
> Do I gather correctly that your remaining open issues with OpenMPI (once
> libltdl3 and libltdl3-dev are installed) are not autotools-related?

Nope. It builds and runs now. Thanks for the fix!

My remaining issue is it doesn't work with IBM's infiniband adapter ;)

(more to come on this later)