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

126 Коммитов

Автор SHA1 Сообщение Дата
Mike Dubman
19d037a04b symlink to keep backward compat
This commit was SVN r23776.
2010-09-20 14:58:45 +00:00
Mike Dubman
3964093611 removing script, will be replaced with symlink
This commit was SVN r23775.
2010-09-20 14:58:02 +00:00
Mike Dubman
d7557567f5 adding autogen.sh which calls autogen.pl
for backwards compatability (many scripts and mtt`s ini files using these API)

This commit was SVN r23774.
2010-09-20 06:34:19 +00:00
Ralph Castain
40a2bfa238 WARNING: Work on the temp branch being merged here encountered problems with bugs in subversion. Considerable effort has gone into validating the branch. However, not all conditions can be checked, so users are cautioned that it may be advisable to not update from the trunk for a few days to allow MTT to identify platform-specific issues.
This merges the branch containing the revamped build system based around converting autogen from a bash script to a Perl program. Jeff has provided emails explaining the features contained in the change.

Please note that configure requirements on components HAVE CHANGED. For example. a configure.params file is no longer required in each component directory. See Jeff's emails for an explanation.

This commit was SVN r23764.
2010-09-17 23:04:06 +00:00
Ethan Mallove
eae9b4c564 Improve on r23665. Ensure patches can be used on Solaris.
This commit was SVN r23701.

The following SVN revision numbers were found above:
  r23665 --> open-mpi/ompi@7acb18f3d4
2010-08-31 17:59:38 +00:00
Ethan Mallove
7acb18f3d4 Patch ltmain.sh in autogen.sh per this Libtool thread:
http://www.mail-archive.com/libtool@gnu.org/msg11249.html

This commit was SVN r23665.
2010-08-25 19:40:17 +00:00
Brian Barrett
6ae9790d19 * Add option of init/fini hooks for MPI extensions to be called at the end of
MPI_INIT and start of MPI_FINALIZE.
* Clean up MPI Extensions build system to acknowledge that OMPI's the only
  project with extensions, as well as remove some build artifacts necessary
  for more general components.

This commit was SVN r23616.
2010-08-17 04:44:22 +00:00
Jeff Squyres
319fb12504 Per RFC initially started here:
http://www.open-mpi.org/community/lists/devel/2010/02/7496.php

Increase the required versions of AM, AC, and LT:

 * Autoconf: 2.65
 * Automake: 1.11.1
 * Libtool: 2.2.6b

And therefore removed a bunch of patches that we used to apply to make
older versions of these tools work.

Also updated the HACKING document to match these version numbers,
specifically mentioned Mercurial in a few places, and removed some
outdated language about running autogen.sh in subdirectories.

This commit was SVN r22896.
2010-03-26 21:03:50 +00:00
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