1
1

14 Коммитов

Автор SHA1 Сообщение Дата
Galen Shipman
5154d78981 migration to new mpool api
This commit was SVN r6121.
2005-06-21 19:38:50 +00:00
Tim Woodall
895fd2e23d slight change to allocator/memory pool interface
This commit was SVN r6115.
2005-06-21 17:10:28 +00:00
Tim Prins
75b0b519d8 - Added functionality to MPI_Alloc_mem and MPI_Free_mem so that they
call the memory pool to do special memory allocations, and extended 
the mpool so that it will do the allocations and keep tack of them in
a tree. Currently, if you pass MPI_INFO_NULL to MPI_Alloc_mem, we will 
try to allocate the memory and register it with as many mpools as 
possible. Alternatively, one can pass an info object with the names of 
the mpools as keys, and from these we decide which mpools to register 
the new memory with.

- fixed some comments in the allocator and fixed a minor bug

- extended the red black tree test and made a minor correction

This commit was SVN r5902.
2005-05-31 19:07:27 +00:00
Galen Shipman
f16f9703a5 Modified the mpool and allocator to allow user defined data to be passed in and out of the mpool allocate functions, this is necessary if we use the mpool to allocate IB registered memory as need to pass in the hca handle and pass out the memory region handle.
This commit was SVN r5895.
2005-05-31 17:06:55 +00:00
Tim Woodall
3c6fb03e9c - dont create shared memory pool if it won't be used
This commit was SVN r5494.
2005-04-22 16:18:41 +00:00
Jeff Squyres
e9ae621323 Change the orientation of the thread level determination in
ompi_mpi_init(): we no longer *query* the components to see what they
can support -- instead, we *tell* the components what they need to
support (if they can't support it, they should disqualify themselves
from selection).

This involved a bunch of things:
- pass the configure-time-decided OMPI_ENABLE_PROGRESS_THREADS and
  OMPI_ENABLE_MPI_THREADS constants to each framework selection
  function
- eliminate mca_base_init_select_components()
- eliminate all "allow_multi_user_threads" and "have_hidden_threads"
  kinds of arguments and aggregation from various framework selection
  and component/module functions
- correctly determine the max MPI thread level that we can support and
  limit the final MPI thread level as appropriate during
  ompi_mpi_init()

As a side effect, while editing nearly every MPI component I also did
the following:
- found 2 places (gm and ib ptls) where ompi_set_using_threads() was
  erroneously being called (I think this is left over kruft from
  misunderstandings by the original authors).  I removed these.

This commit was SVN r5055.
2005-03-27 13:05:23 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +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
eb8cba98af - massive change for module<-->component name fixes throughout the
code base.
  - many (most) mca type names have "component" or "module" in them,
    as relevant, just to further distinguish the difference between
    component data/actions and module data/actions.  All developers
    are encouraged to perpetuate this convention when you create
    types that are specific to a framework, component, or module
  - did very little to entire framework (just the basics to make it
    compile) because it's just about to be almost entirely replaced
  - ditto for io / romio
  - did not work on elan or ib components; have to commit and then
    convert those on a different machine with the right libraries and
    headers
- renamed a bunch of *_module.c files to *_component.c and *module*c
  to *component*c (a few still remain, e.g., ptl/ib, ptl/elan, etc.)
- modified autogen/configure/build process to match new filenames
  (e.g., output static-components.h instead of static-modules.h)
- removed DOS-style cr/lf stuff in ns/ns.h
- added newline to end of file src/util/numtostr.h
- removed some redundant error checking in the top-level topo
  functions
- added a few {} here and there where people "forgot" to put them in
  for 1 line blocks ;-)
- removed a bunch of MPI_* types from mca header files (replaced with
  corresponding ompi_* types)
- all the ptl components had version numbers in their structs; removed
- converted a few more elements in the MCA base to use the OBJ
  interface -- removed some old manual reference counting kruft

This commit was SVN r1830.
2004-08-02 00:24:22 +00:00
Jeff Squyres
952cbaf196 Since it's not an error to not have an mpool module (at least not
yet), guarantee to initialize the *allow_multi_user_threads so that we
don't get read-from-uninitialized warnings in valgrind.

This commit was SVN r1446.
2004-06-23 15:52:28 +00:00
Tim Woodall
14e0f8cf42 - shared memory init
This commit was SVN r1362.
2004-06-17 16:13:20 +00:00
Jeff Squyres
e88c37e1f8 Fix logic in determining whether all modules support multiple user
threads or not.

This commit was SVN r1361.
2004-06-17 15:08:07 +00:00
Tim Woodall
c4fb4d7ef4 - add shared memory pool
- working on mpool/allocator framework

This commit was SVN r1313.
2004-06-16 15:41:29 +00:00