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

101 Коммитов

Автор SHA1 Сообщение Дата
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
Jeff Squyres
e53fa399dc Bump the required version of Libtool up to 1.5.16
This commit was SVN r7171.
2005-09-03 10:11:30 +00:00
Jeff Squyres
b462345956 Allow command line to override ACLOCAL, AUTOHEADEr, AUTOCONF,
LIBTOOLIZE, AUTOMAKE via environment variables.

This commit was SVN r7063.
2005-08-27 11:23:19 +00:00
Brian Barrett
523fa13ed8 * don't include ompi_config.h in mpi.h. This was causing some not-so
friendly #defines to be included in mpi.h (even for users), such as
  _GNU_SOURCE, which can have some really big consequences on Linux.
  Instead, add mpi.h to AC_CONFIG_HEADERS and just include the #defines
   we have to have for mpi.h and the C++ bindings.

This commit was SVN r7022.
2005-08-25 00:41:26 +00:00
Brian Barrett
dfdb5dc12a * high resolution, low latency timers for a number of platforms, plus mods
to opal_progress() to use the timers instead of a tick count for deciding
  whether to call the event loop or not.  Currently supported platforms are:

     - solaris (x86 / sparc)
     - Linux (x86 / x86_64 / IA64)
     - Mac OS X (x86 / Power PC)

This commit was SVN r6922.
2005-08-18 05:34:22 +00:00
Brian Barrett
a32a64f0a6 * add the ability to only allow one component from a given framework
be compiled, as well as the ability for components to prioritize
  the order in which they should be compiled so that the "right"
  first one is selected.  Make autogen.sh do all the hard sorting
  work, so that the m4_defined lists of components are in the
  prioritized order.  From there, it's just forcing components
  to fail after the first one succeeds (if we are in the "only one
  compnent can build" mode).

This commit was SVN r6895.
2005-08-16 05:21:34 +00:00
Brian Barrett
c0b5129df9 * allow orte or opal trees to be built without building the ompi or ompi and
orte trees (respectively).  Next step towards splitting the projects.

This commit was SVN r6863.
2005-08-13 21:02:24 +00:00
Brian Barrett
c02cfd6dd1 * add --with-platform=FILE argument to configure, which can be used to
load a set of arguments to build OMPI.  So you can do something like:

    ./configure --with-platform=redstorm

  and automagically have all 10,000 arguments to configure required
  for Red Storm magically set
* change all instances of sinclude to m4_include so that autogen
  will properly fail if an .m4 file isn't included properly

This commit was SVN r6648.
2005-07-28 15:48:46 +00:00
Brian Barrett
a991d883c1 * Rewrite ompi_mca.m4 to use m4_defined lists of projects (ompi, orte, etc.),
frameworks, and components without configure scripts instead of
  hard-coded shell variables (for projects and frameworks) and 
  shell variable building (for components).
* Add 3rd category of component configuration (in addition to configure
  scripts and no-configured components): configure.m4 components.  These
  components can only be built as part of OMPI (like no-configure), but
  can provide an m4 file that is run as part of the main configure
  script.  These macros can set whether the component should be built, 
  along with just about any other configuration wanted.  More care must
  be taken compared to configure components, as doing things like setting
  variables or calling AC_MSG_ERROR now affects the top-level configure
  script (so calling AC_MSG_ERROR if your component can't configure
  probably isn't what you want)
* Added support to autogen.sh for the configure.m4-style components,
  as well as building up the m4_define lists ompi_mca.m4 now expects
* Updated a number of macros to be more config.cache friendly (both
  so that config.cache can be used and so the test can be quickly
  run multiple times in the same configrue script):
    - ompi_config_asm
    - c_weak_symbols
    - c_get_alignment
* Added new macros to be shared when configuring components:
    - ompi_objc.m4 (this actually provides AC_PROG_OBJC - don't ask...)
    - ompi_check_xgrid
    - ompi_check_tm
    - ompi_check_bproc
* Updated a number of components to use configure.m4 instead of
  configure.stub
    - btl portals
    - io romio
    - tm ras and pls
    - bjs, lsf_bproc ras and bproc_seed pls
    - xgrid ras and pls
    - null iof (used by tm) 

This commit was SVN r6412.
2005-07-09 18:52:53 +00:00
Brian Barrett
e381ac08d9 * fix for a fix for a bug. mca/common doesn't have a common.h, so it didn't
look like a framework.  Add special exception for common.

This commit was SVN r6365.
2005-07-07 04:09:28 +00:00
Brian Barrett
6c232fb9ff * remove version file logic (now unused) from the no-configure component
code
* Add code to create m4_defined lists in mca_no_configure_components.m4 that
  list all the projects (opal, orte, ompi, etc.), all the frameworks in each
  project, and all the no-configure components in each framework.  These will
  eventually be used to remove all those lists from ompi_mca.m4

This does not require an autogen / configure.  Won't hurt, but not
required.

This commit was SVN r6361.
2005-07-06 18:38:57 +00:00
Brian Barrett
0c16b5419e * first cut at autogen.sh / configure for new directory structure
* fix some broken makefile.ams

This commit was SVN r6277.
2005-07-02 14:29:45 +00:00
Galen Shipman
db286e1a31 working checkin of bmi to btl name change. Also changed ib to mvapi. Should
probably change mpool/vapi to mpool/mvapi soon.

This commit was SVN r6225.
2005-06-30 05:50:55 +00:00
Jeff Squyres
3bd7e72608 Fix some minor typos
This commit was SVN r5692.
2005-05-12 02:22:03 +00:00
Jeff Squyres
9068ae98dd Arrgh! Turns out that the "-a" operator of "test" does not obey the
"don't evaluate later expessions if an early one evaluates to false".
So change it back to && and put a big comment *why*. @#%@#$%...

This commit was SVN r5667.
2005-05-10 14:35:33 +00:00
Jeff Squyres
f6a00d4cd0 Brian pointed out that not all all platforms have egrep -- use "grep
-E" instead.

This commit was SVN r5666.
2005-05-10 14:02:28 +00:00
Jeff Squyres
5729796e93 Slightly change and ammend the .ompi_unignore test in autogen.sh.
Components are now unignored if:

- .ompi_unignore exists, and
- .ompi_unignore contains at least one of the following:
  - regexp matching "$USER$"
  - regexp matching "$USER@$HOST"

This allows selective unignoring of components for only specific
development hosts rather that everywhere a given username is used.

This commit was SVN r5664.
2005-05-10 12:02:03 +00:00
Brian Barrett
e835deae7d * fix some problems with spaces in the path to the tree
This commit was SVN r5584.
2005-05-04 01:02:06 +00:00