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

25 Коммитов

Автор SHA1 Сообщение Дата
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
Galen Shipman
8a89ce4148 More mpool bmi changes - changed mca_mpool_base_registration_t to an ompi
object. Modified bmi_ib to use OBJ_RETAIN and OBJ_RELEASE with the
mca_mpool_vapi_registration_t object. 

NOTE!: bmi_ib fails with OMPI_MCA_leave_pinned=1 when the memory region must
be reallocated due to size limitations. This appears to be caused by
OBJ_RELEASE being called when the object is already freed. Should be fixed by
the end of this weekend. 

This commit was SVN r6180.
2005-06-26 00:47:51 +00:00
Galen Shipman
527d5e3498 More mpool and bmi restructuring
misc compiler warning fixes. 

This commit was SVN r6173.
2005-06-24 21:12:38 +00:00
Galen Shipman
e0b265885d - Modified the mpool interface to use mca_mpool_base_registration_t instead of
-mca_bmi_base_registration_t 


- Also corrected a bug in mca_common_sm_mmap_seg_alloc where a unitialized
-pointer was dereferenced 

- Misc other changes.  

This commit was SVN r6145.
2005-06-23 15:53:51 +00:00
Galen Shipman
64de403105 Fixed misc compiler warnings related to mpool and bmi.
This commit was SVN r6140.
2005-06-22 20:09:54 +00:00
Ralph Castain
c0f1c6be50 Fix a bad declaration that was causing compile errors
This commit was SVN r6137.
2005-06-22 16:46:56 +00:00
Galen Shipman
aac0dadddb Further work on moving checking if the user buffer is pinned to the pml
level. 

This commit was SVN r6125.
2005-06-21 21:20:23 +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
Galen Shipman
119a5c786f - Added register and deregister to mpool_vapi
- Added mca_mpool_base_remove 
- Fixed mca_mpool_base_free to remove the memory desriptor from the tree 
- Fixed up bmi_ib to allow pages to be left pinned 

This commit was SVN r6113.
2005-06-21 15:03:59 +00:00
Galen Shipman
8df035c2dd 1 - Fixed vapi mpool to page align memory requests
2 - Added optional support to leave user memory pineed in IB. 

This commit was SVN r6107.
2005-06-20 19:47:54 +00:00
Galen Shipman
8bfb3d229d Fixed misc compiler warnings
This commit was SVN r5962.
2005-06-07 02:09:57 +00:00
Galen Shipman
5776f11bc6 Updated the mpool interfaces for user specified data
This commit was SVN r5953.
2005-06-06 20:18:56 +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
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
Rich Graham
f75b88faa5 fix a bug, so that the fifo size is rounded up to a power of 2.
Add some support code to determine nearest power of 2.

This commit was SVN r2170.
2004-08-16 23:06:33 +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
Tim Prins
f4d9cea614 Adding some documentation.
This commit was SVN r1639.
2004-07-12 20:05:29 +00:00
Tim Woodall
2ce7ca725b - cleanup of some of the c bindings
- for threaded case - cleanup event libraries progress thread
- cleanup of request handling for persistent sends
- added support for buffered sends

This commit was SVN r1461.
2004-06-24 16:47:00 +00:00
Tim Woodall
12a35e4a82 - resolve shared memory mpool dynamically
- added base() function to mpool component type to return modules base address (if applicable)

This commit was SVN r1386.
2004-06-17 20:57:47 +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
Tim Woodall
abba2b038c - removed src/mem directory
- moved mem/free_list.h to class/ompi_free_list.h
- moved mem/malloc.h to util/malloc.h
- added src/mca/mpool component type

This commit was SVN r1274.
2004-06-15 19:07:45 +00:00