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

85 Коммитов

Автор SHA1 Сообщение Дата
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
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Brian Barrett
6822a519bb * results from initial merge of the tim branch into the trunk. Compiles and
ompi_info works, but that's all that has been tested.

This commit was SVN r4827.
2005-03-14 20:57:21 +00:00
Jeff Squyres
97515c126d Fix bug potentially preventing the generation of some Makefiles
This commit was SVN r4235.
2005-01-29 02:09:15 +00:00
Jeff Squyres
32d85dd7eb Properly add the soh framework in all the places it needs to be. Left
the src/mca/soh/base/*.c files out of the default build because
they're uncompilable right now -- don't want to step on any of Ralph's
local changes.

This commit was SVN r3837.
2004-12-16 18:52:33 +00:00
Brian Barrett
dfa211bad2 * fix syntax for anding. must either use test EXP && test EXP
(slightly more portable) or test EXP -a EXP

This commit was SVN r3750.
2004-12-08 18:54:10 +00:00
Jeff Squyres
9e3d914e54 Small patch to prevent fighting with svn replacing a manually-removed
.ompi_ignore file.

If you have an empty .ompi_unignore file (presumably alongside an
.ompi_ignore file), we'll build the component.

If you have a non-empty .ompi_unignore file (presumable alongside an
.ompi_ignore file), and your username can be found in that file, we'll
build the component.  If your username is *not* the the .ompi_unignore
file, we *won't* build the component.

This commit was SVN r3747.
2004-12-08 17:41:29 +00:00
Jeff Squyres
616269a9be Add HLRS copyright
This commit was SVN r3665.
2004-11-28 20:09:25 +00:00
Jeff Squyres
e9ed717748 First cut at copyrights: IU, UTK, and some OSU. LANL and HLRS still
pending.

This commit was SVN r3655.
2004-11-22 01:38:40 +00:00
Jeff Squyres
721fda8ecb Changes to finally make it possible to develop components outside of
the Open MPI tree.  This fixes bug 1015.
- Eliminate some confusion/inconsistencies through the tree; we only
  use MCA_<type>_<name>_VERSION now, not ..._FULL_VERSION
- coll demo component is ready
- ROMIO io component had a VERSION file but wasn't using it, so now
  it's using it properly
- Updated autogen.sh and mca_make_configure.pl to generate version
  header templates upon demand

This commit was SVN r3267.
2004-10-21 16:27:17 +00:00
Jeff Squyres
4c56d81c4f A better fix for autogen.sh than I committed yesterday. Also fix a
minor buglet in not regenerating version header files properly (minor
shell quoting problem).

It is not necessary to re-run autogen.sh (etc.) after updating to this
fix; the changes will be picked up the next time you naturally run
autogen.sh and friends.

This commit was SVN r3031.
2004-10-10 13:15:36 +00:00
Jeff Squyres
143e83d3f2 I screwed up on the commit earlier :-( -- am rolling back until I have
time to fix.  Sorry folks...

This commit was SVN r3015.
2004-10-09 21:29:23 +00:00
Jeff Squyres
7bd8f14978 Fix minor logic error for when you run autogen.sh in a directory other
than the top-level OMPI directory.

This change does *NOT* mean that anyone needs to re-run autogen.sh
right now.

This commit was SVN r3013.
2004-10-09 14:46:51 +00:00
Jeff Squyres
b4650f842d Changes to hopefully make ROMIO and subversion play nice with each
other.  No more baseball bats in the sanbox, kids!

This commit was SVN r2848.
2004-09-23 23:46:58 +00:00
Jeff Squyres
ff62e4db26 - Due to limitations in AC_DEFINE (namely that you can't direct a
specific AC_DEFINE to a specific header file), emulate the behavior
  of AC_HEADER_FILES when saving the values from the VERSION files;
  dump them into a temporary file and diff them against the
  already-existing .h file.  If they're the same, do nothing.  If
  they're different, replace the .h file.
- With this capabiliy, move the #define's of all version numbers out
  of ompi_config.h and into component-specific <type>-<name>-version.h
  header files.  This will prevent a lot of extra compilation when
  you updat your local svn working copy.
- Remove the requirement for having a VERSION file.  If you don't have
  it, then a .h file with your version numbers won't be generated.
- Remove the VERSION file from lots of components that don't use it.
  I've added it to my "consistency" list to go back and re-add them
  along with using the proper #define's in the component struct after
  we reach a period of stability.

This commit was SVN r1999.
2004-08-10 04:10:08 +00:00
Jeff Squyres
2271910f22 ":" was a poor choice for a field delimeter for the version number
because "svnversion" may emit a version number with ":" in it (duh!).
This fixes the problem where, depending on the status of your svn
checkout, you could get a string in a MAJOR version number instead of
an integer (i.e., "1234M" instead of "10").  This was caused by
extraneous ":" in the output, causing autogen.sh to grab the wrong
field.

This commit was SVN r1991.
2004-08-09 22:37:17 +00:00
Jeff Squyres
a721849e84 While waiting for a lengthy compile, I noticed a bunch of old remnants
from the "LAM/MPI" -> "Open MPI" name change that didn't convert
properly.  So this commit fixes all instances of "OMPI/MPI" to "Open
MPI".

This commit was SVN r1924.
2004-08-06 14:30:18 +00:00