1
1
Граф коммитов

118 Коммитов

Автор SHA1 Сообщение Дата
Josh Hursey
f3848f169b Fix for the libltdl preopen commit. So now autogen will progress without emiting an error.
{{{
grep: configure: No such file or directory
./autogen.sh: line 495: config/libltdl-preopen-error.patch: No such file or directory
}}}

This commit was SVN r22823.
2010-03-12 22:23:37 +00:00
Jeff Squyres
9f1c699f36 Add a patch to libltdl so that the preopen loader doesn't mask a real
error if the file-based dloader (e.g., dlopen) fails to load a DSO for
a complex reason (e.g., unresolved symbol).

This has been widely reported upstream to the libltdl maintainers - a
general solution is difficult.  This is very definitely an
OMPI-specific solution.  Since our embedded libltdl is hidden behind
visibility flags, that's ok.

Note that this is a change to autogen.sh, but this commit does not
force re-running autogen.sh.  You'll just get the new functionality
the next time you re-run autogen.sh.

This commit was SVN r22806.
2010-03-10 17:03:25 +00:00
Jeff Squyres
2de58f4091 A better fix for a timestamp issue: make sure that various
libtool.m4's are not newer than aclocal.m4.  They "usually weren't",
but if you had a slow filesystem, it could be possible that libtool.m4
would be newer than aclocal.m4, and Bad Things would happen during
"make" (i.e., running configure again).

This commit was SVN r22715.
2010-02-25 20:25:52 +00:00
Jeff Squyres
74112a0785 Remove tailing space from first line -- NedBSD apparently doesn't like it
This commit was SVN r22418.
2010-01-15 02:53:18 +00:00
Jeff Squyres
982b6204cd Add in a 3rd patch that I missed in r22273. This fixes all known
issues with #2114 -- PGI v10.x should work fine now (even with the
"gfortran" executable name).

Fixes trac:2114.

This commit was SVN r22274.

The following SVN revision numbers were found above:
  r22273 --> open-mpi/ompi@2e2a07e5eb

The following Trac tickets were found above:
  Ticket 2114 --> https://svn.open-mpi.org/trac/ompi/ticket/2114
2009-12-08 02:14:40 +00:00
Jeff Squyres
2e2a07e5eb Add in 2 patches to fix Libtool <=2.2.6b support for the PGI 10
compiler.

Note that using the name "pgfortran" does not work -- you must still
use the names pgf77 and pgf90.  LT has not yet been fully patched to
support the name "pgfortran".  I advised PGI to take this issue up
with the Libtool guys.

There's still something wrong with the C++ support, however; I get
errors about a template directory switch when compiling the C++ MPI
bindings (doesn't happen with PGI 9.0).  Still working on this... it
feels like it's still a Libtool issue because OMPI is not putting in
this compiler flag as far as I can tell:

{{{
/bin/sh ../../../libtool --tag=CXX   --mode=link pgCC  -g -version-info 0:0:0 -export-dynamic   -o libmpi_cxx.la -rpath /home/jsquyres/bogus/lib mpicxx.lo intercepts.lo comm.lo datatype.lo win.lo file.lo ../../../ompi/libmpi.la -lnsl -lutil  -lpthread
libtool: link: tpldir=Template.dir
libtool: link:  rm -rf Template.dir
libtool: link:  pgCC --prelink_objects --instantiation_dir Template.dir   .libs/mpicxx.o .libs/intercepts.o .libs/comm.o .libs/datatype.o .libs/win.o .libs/file.o   -Wl,--rpath -Wl,/users/jsquyres/svn/ompi-1.3/ompi/.libs -Wl,--rpath -Wl,/users/jsquyres/svn/ompi-1.3/orte/.libs -Wl,--rpath -Wl,/users/jsquyres/svn/ompi-1.3/opal/.libs -Wl,--rpath -Wl,/home/jsquyres/bogus/lib -L/users/jsquyres/svn/ompi-1.3/orte/.libs -L/users/jsquyres/svn/ompi-1.3/opal/.libs ../../../ompi/.libs/libmpi.so /users/jsquyres/svn/ompi-1.3/orte/.libs/libopen-rte.so /users/jsquyres/svn/ompi-1.3/opal/.libs/libopen-pal.so -ldl -lnsl -lutil -lpthread  
pgCC-Error-Unknown switch: --instantiation_dir
make: *** [libmpi_cxx.la] Error 1
}}}

Refs trac:2114.

This commit was SVN r22273.

The following Trac tickets were found above:
  Ticket 2114 --> https://svn.open-mpi.org/trac/ompi/ticket/2114
2009-12-08 01:07:00 +00:00
Jeff Squyres
6ccbcaf0cf Also allow --no-ompi and --no-orte.
This commit was SVN r22124.
2009-10-22 17:18:57 +00:00
Ralph Castain
214e26b539 Per Jeff (this work was done on a branch of mine, so I will do the commit):
Re-enable "./autogen.sh -no-ompi" again. If you -no-ompi, the entire OMPI
configury is skipped and the entire ompi/ subtree is not built. There's
some simple m4-isms that prune out the relevant parts.

I added ompi/config/, orte/config/, and opal/config/ directories. I moved a
bunch of m4 files from the top-level config/ dir into ompi/config/, and a few
into orte/config/.

Note that all 3 <project>/config directories have a config_files.m4 file. This
file contains the AC_CONFIG_FILES list for that project. The AC_CONFIG_FILES
call cannot be in an AC_DEFUN macro and conditionally called -- if it is
included at all, Autoconf will process it. Hence, these config_files.m4 files
don't AC_DEFUN -- they just have AC_CONFIG_FILES. m4_ifdef() is used to
conditionally include the files or not.

I moved a bunch of obvious OMPI-only m4 files from config/ to ompi/config/,
but I'm sure that there's more that could go. A ticket will be filed with
thoughts on future work in this area.

This commit was SVN r22113.
2009-10-20 23:44:20 +00:00
George Bosilca
cf9f38eb56 Instead of just complaining about a version mismatch, clearly lists the versions
available locally.

This commit was SVN r22044.
2009-10-01 14:06:41 +00:00
Ralph Castain
e1662b4c30 Add a new contrib area for "libtrace" - a debugger library that outputs the name of the called MPI function plus the value of all its arguments before passing them along to the corresonding PMPI call.
Support for the rest of the MPI bindings will be developed over time.

This commit was SVN r21849.
2009-08-20 04:36:20 +00:00
Jeff Squyres
009ecd6d3c Fix a comment (because otherwise someone reading this comment 6 months
from now would be quite confused!)

This commit was SVN r21297.
2009-05-27 15:29:44 +00:00
Jeff Squyres
2c868d4066 Don't patch libtool.m4 if we have LT 2.6 or beyond.
This commit was SVN r21276.
2009-05-26 21:17:48 +00:00
Josh Hursey
3e847c19f0 Per RFC: MPI Interface Extensions Infrastructure
Add infrastructure for MPI Interface Extensions. This allows a developer to create new MPI interfaces that are non-standard.

The following email thread describes the functionality proposed in the RFC:
  http://www.open-mpi.org/community/lists/devel/2009/05/5997.php

The following wiki page describes how to use and enable the extensions:
  https://svn.open-mpi.org/trac/ompi/wiki/MPIExtensions

This commit was SVN r21272.
2009-05-26 20:49:35 +00:00
Rainer Keller
98bdba786a - Change logic a bit to make it easier for us
to deselect parts.

This commit was SVN r21258.
2009-05-21 22:15:51 +00:00
Jeff Squyres
56ad7acc8a Revert r20240 and make autogen.sh clean up after itself in terms of
*.rej files.

This commit was SVN r20243.

The following SVN revision numbers were found above:
  r20240 --> open-mpi/ompi@d88fa9282d
2009-01-12 17:33:55 +00:00
Jeff Squyres
d1c6f3f89a * Fix a truckload of Cisco copyrights to be the same as the rest of
the code base.
 * Fix a few misspellings in other copyrights.

This commit was SVN r20241.
2009-01-11 02:30:00 +00:00
Ethan Mallove
b409d390bc Add a couple of Libtool tweaks for Sun Studio compatibility:
* Use the (undocumented) `solaris_use_stlport4` libtool variable to
   turn off any Cstd/stlport4 linkage. This allows Open MPI to be C++
   STL agnostic.
 * Patch `config/libtool.m4` in autogen.sh for a bug in Libtool's
   detection of the Sun Studio Fortran compiler. See the below e-mail
   thread for more details:
   http://www.open-mpi.org/community/lists/devel/2008/11/4920.php

This commit was SVN r20036.
2008-11-25 15:59:48 +00:00
Jeff Squyres
d6e4ea3803 Two tidbits to make autogen.sh a little more robust:
* Ensure that various aliases and color settings don't muck up some
   common shell commands that we use in autogen.sh
 * Per Ralf W's suggestion, properly []-ize the first argument to
   m4_define()

This commit was SVN r18690.
2008-06-20 00:39:43 +00:00
Jeff Squyres
1cba10e11b Per advice from Ralf W. (see bug-libtool list post 4:48pm US Eastern
time, 27 May 2008 -- not web archived as of this commit), do the
following:

 * move libtoolize earlier in the process
 * remove most of acinclude.m4; instead, use "aclocal -I config" at
   the top-level to have it automatically pull in any relevant .m4
   file
 * add patch for ifort shared library support for LT 2.2.4
   (http://lists.gnu.org/archive/html/bug-libtool/2008-05/msg00049.html);
   will likely be unnecessary in future LT versions

This commit was SVN r18515.
2008-05-27 21:58:09 +00:00
Matthias Jurenz
23ab49509d Fixed ticket #1212
(Make VT use OMPI autogen)

This commit was SVN r17737.
2008-03-05 15:14:39 +00:00
Dan Lacher
98f70d6318 Convert the C++ Comm, Datatype and Winn keyval creation and intercept callbacks
to *not* use the STL as well as removing the STL use from the error handler
routines.  This was removing the STL from the C++ bindings (Solaris has 2
versions of the STL; if OMPI uses one and an MPI application wants to use
another, Bad Things happen).

The main idea is to wrap up the C++ callback function pointers and the user's
extra_state into our own struct that is passed as the extra_state to the C
keyval registration along with the intercept routines in intercepts.cc. When the
C++ intercepts are activated, they unwrap the user's callback and extra state
and call them.

This commit was SVN r17409.
2008-02-10 19:29:25 +00:00
Jeff Squyres
11f1642b9e Minor fix for FreeBSD. Contributed by Karol Mroz.
This commit was SVN r16683.
2007-11-07 02:30:40 +00:00
Ethan Mallove
f35c9eb162 Do not try svk info if the user has never done
`svk depotmap --init`.

This commit was SVN r16587.
2007-10-26 19:46:06 +00:00
Ethan Mallove
dce57ebf3b Check for $HOME/.svk before trying the svk info.
This commit was SVN r16586.
2007-10-26 18:28:25 +00:00
Ethan Mallove
2b363f8afb Sanity check for SVK workspace in autogen.sh.
This commit was SVN r16563.
2007-10-25 14:12:52 +00:00
Aurelien Bouteiller
f762850242 Split run_global into process_project and process_framework. This allows for calling only process framework to create components internal sub-frameworks
Minor change to ompi_mca.m4 to move AC_CONFIG_FILES(framework/makefile) in autogen process (instead of configure process), where we still now the actual framework path (instead of guessing using $project/mca/$framework). 

This have shown no side effects in our testing. Let us know if this breaks one of your components in some exotic context. 

This commit was SVN r16146.
2007-09-18 10:36:08 +00:00
Brian Barrett
21e00f6f0c Clean up a couple of configure things:
* Require Autoconf 2.60 or higher and remove some cruft
    required for AC 2.59 or the AC 2.59 / AC 2.60 mix
  * Remove a bunch of now unnecessary AC_SUBST calls
  * Use the libtool-provided variables for the -I and
    library to use when compiling against ltdl

Fixes trac:1000

This commit was SVN r14652.

The following Trac tickets were found above:
  Ticket 1000 --> https://svn.open-mpi.org/trac/ompi/ticket/1000
2007-05-15 04:23:48 +00:00
Brian Barrett
b439d1c18b A couple of autogen updates
* If we're using AM 1.10, there's a crazy bug with libltdl if it was
    bootstrapped with AM 1.9.x where it will fail horribly during
    'make dist'.  So rebootstrap with AM 1.10 so that it all works out.
  * Since we have the information, only apply the patch for libtool that
    matches the version we're actually using
  * Clean up some of the output just a little bit

This commit was SVN r14635.
2007-05-09 19:54:10 +00:00
Brian Barrett
6e58cdc4a3 We've been requiring 1.5.22 for a while to make things actually work, so
update autogen.sh to match.

This commit was SVN r14619.
2007-05-08 20:29:04 +00:00
Brian Barrett
830bcae3ae Add warning to all users that they're going to have to update their version
of the autotools fairly soon now

This commit was SVN r14617.
2007-05-08 19:57:17 +00:00
Jeff Squyres
c59607805e There is no need to re-run autogen.sh because of this commit. The
next time you run autogen.sh, some *.orig files that are created when
autogen.sh patches libtool will be removed (so that "svn st" doesn't
report them).

This commit was SVN r14606.
2007-05-08 13:24:08 +00:00
Jeff Squyres
989c4417a1 Fixes trac:982.
Thank God for google-able mailing list archives:

    http://www.mail-archive.com/bug-libtool@gnu.org/msg00899.html

We ran into this exact bug in Libtool that was causing the C++
bindings library to be compiled incorrectly (therefore causing static
initializers to not fire properly when in a shared library, which is
the default installation configuration).  Putting in some libtool
patches to fix the problem -- will be mailing the Libtool crowd
shortly to ask for a better fix...

This commit was SVN r14454.

The following Trac tickets were found above:
  Ticket 982 --> https://svn.open-mpi.org/trac/ompi/ticket/982
2007-04-21 00:56:47 +00:00
Jeff Squyres
176cecfb3b Fix for LT 2.1 libltdl lt_dlopen behavior of putting loaded DSO's in a
private scope.  Solves the problem of Red Hat-provided OFED not
working properly because the libibverbs plugins are not linked
against libibverbs.

This commit was SVN r13926.
2007-03-05 17:21:42 +00:00
Brian Barrett
c6ee421c78 Work around a bug involving dependent libraries when building 64 bit on Mac OS X
This commit was SVN r13246.
2007-01-22 20:31:04 +00:00
Brian Barrett
d6366ca476 don't print minimum version numbers when a tool fails to run. We already check
for version numbers before getting to this point and in the last year there
has not been a single case of this error being emitted and that being the
cause.  In fact, there's a bug about this error message being confusing.  So
just say an error occurred and point them for where to look (which is the
output of the tool that just failed).

Fixes trac:743

This commit was SVN r13128.

The following Trac tickets were found above:
  Ticket 743 --> https://svn.open-mpi.org/trac/ompi/ticket/743
2007-01-16 19:42:33 +00:00
Brian Barrett
ad84cdf68b The right hand of a script isn't split after expansion so don't need the
quotes around the backticks.  And apparently there are shells where the
quotes cause shells to barf.

This commit was SVN r11805.
2006-09-25 23:38:04 +00:00
Brian Barrett
06dcb0060a At Ralf's suggestion, set 'egrep' to either egrep or grep -E based on
whether grep -E works properly

This commit was SVN r11804.
2006-09-25 23:36:04 +00:00
Brian Barrett
d0ec0558e4 more platforms support egrep than grep -E, so use that instead
This commit was SVN r11797.
2006-09-25 19:44:12 +00:00
Sven Stork
443af2a259 - remove path of the argument
This commit was SVN r11742.
2006-09-21 16:08:52 +00:00
Sven Stork
390a5ac6c6 - add portable way to start bash
- fix for ticket 382

This commit was SVN r11741.
2006-09-21 16:04:41 +00:00
Jeff Squyres
24f15f288d ROMIO's configure.in had a "dnl AC_CONFIG_AUX_DIR" before its real
AC_CONFIG_AUX_DIR that confused autogen.sh and caused it to find the
wrong aux dir (and therefore to not remove stale auto tools files).

This commit was SVN r11597.
2006-09-08 22:40:00 +00:00
Brian Barrett
566a050c23 Next step in the project split, mainly source code re-arranging
- move files out of toplevel include/ and etc/, moving it into the
    sub-projects
  - rather than including config headers with <project>/include, 
    have them as <project>
  - require all headers to be included with a project prefix, with
    the exception of the config headers ({opal,orte,ompi}_config.h
    mpi.h, and mpif.h)

This commit was SVN r8985.
2006-02-12 01:33:29 +00:00
Brian Barrett
5c7059c955 * In preperation for other commits, bump required version of AM to 1.9.6,
otherwise we have to work around the path prefix issue for m4_include.

This commit was SVN r8984.
2006-02-11 17:16:53 +00:00
Brian Barrett
4767843235 * ROMIO requires AC 2.59, so bump up the top level AC requirements to match.
* Abort the top-level autogen.sh if any of the sub-autogen.sh scripts fail, 
  or one can end up with a really whacky build tree

This does not require anyone re-running autogen or configure.  You'll just
get slightly more error checking goodness next time I do something that requires
you to re-run autogen.sh ;).

This commit was SVN r8947.
2006-02-09 15:23:04 +00:00
Brian Barrett
dc088d0023 * Generate ompi_get_version.sh from ompi_get_version.m4, removing a bunch of
duplicated logic that wasn't being duplicated all that well.  Thanks goes
  to Ralf Wildenhues for the bulk of the patch.

This commit was SVN r8779.
2006-01-21 22:53:16 +00:00
Jeff Squyres
7f1e31cf67 Also remove/replace the compile script
This commit was SVN r8428.
2005-12-09 15:13:36 +00:00
Jeff Squyres
42ec26e640 Update the copyright notices for IU and UTK.
This commit was SVN r7999.
2005-11-05 19:57:48 +00:00
Jeff Squyres
acc54c6381 Check to ensure that libtoolize --libltdl completed successfully (even
if it returns status 0).

See the thread starting here for an explanation:

http://www.open-mpi.org/community/lists/devel/2005/10/0475.php

most importantly, this message:

http://www.open-mpi.org/community/lists/devel/2005/10/0506.php

A better fix for libtoolize itself was submitted by Ralf W. for
inclusion in the libtool 1.5.x line; appropriate fixes will also be
included in libtool 2.x.  

This commit was SVN r7930.
2005-10-29 12:10:07 +00:00
Brian Barrett
1302cb4072 The next in a long line of crazed build system changes from Brian. This was
originally suggested by Ralf Wildenhues, to try to speed autogen, configure,
and make (and possibly even make install).  Use automake's include directive
to drastically reduce the number of Makefile files (although the number of
Makefile.am files is the same - most are just included in a top-level
Makefile.am).  Also use an Automake SUBDIRs feature to eliminate the
dynamic-mca tree, which was no longer really needed.  This makes adding
a framework easier (since you don't have to remember the dynamic-mca
tree) and makes building faster (as make doesn't have to recurse through
the dynamic-mca tree)

This commit was SVN r7777.
2005-10-17 00:21:10 +00:00
Brian Barrett
80ac5c2efd * there are now two upcoming points where we want to release a version with
a random string of characters as part of the version number (the really
  soon to happen 1.0lanl release and the 1.1sc2005 release that we've
  talked about).  So rather than having alpha and beta fields that must
  be numeric values, have a general field that can be any alphanumeric
  value.

This commit was SVN r7511.
2005-09-27 02:06:05 +00:00