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

23 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Brian Barrett
a1d11d9b54 * sync with close to the trunk, but right before the gm changes that we
actually need.  More, interesting, stuff coming soon.

This commit was SVN r4933.
2005-03-18 23:40:08 +00:00
Brian Barrett
77c65d69cc * Merge changes from tim branch from r 4821 to 4892. Tree can now run
MPI and non-ORTE applications for RSH on one node with or without
  threads.  I think we're approaching convergence with the tim branch

This commit was SVN r4895.
2005-03-18 03:43:59 +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
f36e255d16 Update to match tim branch.
This commit was SVN r4565.
2005-02-25 21:18:08 +00:00
Josh Hursey
bf44a03b69 Fixed comments to reflect the notion that if a string parameter is read in from
a file then it will always have a value, even if that value is the empty string.
(e.g. it will never be NULL)

This commit was SVN r4476.
2005-02-21 19:09:14 +00:00
Josh Hursey
ba4bcc48db Added two new MCA Parameters:
* mpi_show_mca_params
   If set to true, this turns on the dumping of all MCA parameters when MPI_INIT is called. 
   Only the 'rank 0' processes will print the parameters.

* mpi_show_mca_params_file
   (This value is only used if the first argument is set to true) If this value is non-NULL 
   it specifies the file to put the dump into. This file can then be used as input to mpirun 
   for debugging purposes. If this value is not set (and mpi_show_mca_params is set) then 
   the parameters are dumped to stdout.

I also changed the following parameters to internal=true:
  gpr_base_replica
  ns_base_replica
  pcmclient_env_cellid

This commit was SVN r4475.
2005-02-21 18:56:30 +00:00
Jeff Squyres
93e702a3c8 Add new MCA param API functions:
- mca_base_param_set_int() -- set the value of an MCA int param from
  the API
- mca_base_param_set_string() -- set the value of an MCA string param
  from the API
- mca_base_param_unsed() -- unset a previously set MCA param (string
  or int)
- mca_base_param_dump() -- obtain a listing of all currently
  registered MCA params
- mca_base_param_dump_release() -- release the list of all registered
  MCA params that was obtained from mca_base_param_dump()

See Doxygen docs in src/mca/base/mca_base_param.h for details of these
functions.

This commit was SVN r4415.
2005-02-12 16:23:39 +00:00
Jeff Squyres
1676187b3e Add a new classification to MCA parameters: "internal" MCA
parameters.  These are intended to be used by the system itself for
passing information around, and are not generally intended for the
user to see or modify.  Hence, we flag them as "internal" which causes
them not to show up in the ompi_info output (by default).  This
"security through obscurity" is good enough -- it's really only
intended to keep casual observers away.  The MCA parameters are still
there and are still settable (if a developer wants to set them).

To mark an MCA parameter as internal, simply call
mca_param_set_internal() with its index.  I debated about adding a
flag to mca_param_register_[int|string](), but then would have
involved changing a *lot* of code throughout the base -- and internal
MCA parameters is certainly not the common case.

Note that you can provide the new ompi_info flag --internal in
conjunction with the --param flag to force it to also show all the
internal MCA params.

This commit was SVN r4373.
2005-02-10 04:37:13 +00:00
Jeff Squyres
962bfa796f Remove pointless comparison (size_t is unsigned, so it's always >=
0).

This commit was SVN r4037.
2005-01-18 20:24:13 +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
ceafa4d178 int->size_t fixes
This commit was SVN r3224.
2004-10-19 23:58:12 +00:00
Jeff Squyres
998b9b47d2 Remove the keyval lookup because it drags in the rest of libmpi in
places where we don't want it (e.g., mpirun).

This commit was SVN r2726.
2004-09-16 16:17:36 +00:00
Jeff Squyres
4faa486ee5 - New capability for MCA parameters to be read from files. Order of
resolution is now (effectively):
  - read from MPI keyval (if associated)
  - read from command line
  - read from environment
  - read from file
  More capabilities will be added shortly for developers to
  programatically set MCA parameter values
- Create [empty but commented] system-wide MCA param file that gets
  installed at $sysconf/openmpi-mca-params.conf (i.e.,
  $prefix/etc/openmpi-mca-params.conf)
- The following files are opened and read (in order):
  1. $sysconf/openmpi-mca-params.conf
  2. $HOME/.openmpi/mca-params.conf
  Specifically, the values in 2) will override the values in 1) (so
  users can override system-wide defaults.
- Update MCA string params to allow for "~/" in the middle to be
  expanded to the user's home directory.
- Added to default value of MCA parameter component_path to be:
    $pkglibdir:$HOME/.openmpi/components
  $pkglibdir is typically $prefix/lib/openmpi.  So now both of these
  directories will be searched for components at run time (in all Open
  MPI executables, including ompi_info).  Note that this is an MCA
  parameter, so it, too, can be changed at run-time.
- Updated all docs to match this behavior -- some is \internal, so it
  doesn't show unless you tell doxygen to generate internal docs
  (which is not the default)
- update ompi_info to handle new behavior; ompi_info --param now shows
  the *current* default value (i.e., it will look in the environment
  and/or files to find out what the default values are -- so if you
  change a value in $HOME/.openmpi/mca-params.conf, it should be
  reflected in "ompi_info --param all all")
- updated bunches of doxygen docs to match
- this diff is slightly artifically large -- some of the changes are
  converstions to 4 space tabs (I re-indented my own code that
  previously used 2 space tabs)

This commit was SVN r2408.
2004-08-31 09:49:56 +00:00
Jeff Squyres
2aa5f92fca - Code review of the registration / lookup code with George
- Various fixes / cleanups as a result of the code review
  George makes a good point that we could consolidate a lot of the
  malloc's / strdup's in this code for platforms where we do not have
  a lot of memory (i.e., add up all the memory required and make one
  big malloc vs. lots of little mallocs).  This is something for
  post-first-release. 
- Convert another data structure to the OBJ_* interface.
- Split the internal prototypes and struct definitions into their own
  header file that won't be included anywhere else in Open MPI (except
  ompi_info).

This commit was SVN r1692.
2004-07-13 20:24:26 +00:00
Jeff Squyres
a5a712b31f Lots of changes in this commit, mostly having to do with the first
real commit of the collectives.  MPI_SCAN and MPI_EXSCAN are still not
implemented, but lots of other things are in the critical path and
holding up other people, so it's ok to commit without them:

- better checks for sizes in configure, and add defaults for fortran
  sizes if we don't have a fortran compiler
- fix some logic that was accidentally broken for size checks for the
  file type offset_t
- add some C equivalent types for fortran's complex and double complex
  (for use in internal reduction/op functions)
- additionals and slight reorganization of ompi_mpi_init()
  ompi_mpi_finalize()
- fully implement all top-level MPI collective calls, including all
  param checking for both intra- and inter-communicators (woof)
- change the communicator_t type for stuff that we need in coll, and
  update all references throughout the code base to match
- all kinds of updates to the coll framework base
- next cut of the basic coll module -- has all intracommunicator
  collectives implemented except scan and exscan (see note above).
  All intercommunicator functions return ERR_NOT_IMPLEMENTED.
- MPI_Op is a fixed implementation -- not component-ized yet.  So
  there are generic C loops for all implementations.

This commit was SVN r1491.
2004-06-29 00:02:25 +00:00
David Daniel
563ac2a338 First pass of lam -> ompi conversion
This commit was SVN r1191.
2004-06-07 15:33:53 +00:00
Jeff Squyres
2510143b4e Move documentation to the .h file -- where it should be
This commit was SVN r1081.
2004-04-22 16:59:56 +00:00
Jeff Squyres
304400d32b Rename the module registry to be the module repository
This commit was SVN r927.
2004-03-19 03:24:46 +00:00
Jeff Squyres
251f68b94f Re-separate out the always-installable headers from the
LAM-development headers.

This commit was SVN r925.
2004-03-18 21:35:28 +00:00
David Daniel
7f8c2c3714 Updating header file names after the great directory reorganization.
This commit was SVN r877.
2004-03-17 18:45:16 +00:00
Jeff Squyres
1b67211597 Massive directory reorganization :-)
This commit was SVN r872.
2004-03-17 17:42:19 +00:00