1
1

58 Коммитов

Автор SHA1 Сообщение Дата
Galen Shipman
459be82daa Removed generated file ..
This commit was SVN r5900.
2005-05-31 17:45:13 +00:00
Galen Shipman
5ccaaf55e2 Initial checkin of VAPI allocator.
This commit was SVN r5896.
2005-05-31 17:08:41 +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
George Bosilca
b57ab5fb26 The return of the asprintf is always an int. Not a big deal except when we have
to catch some errors.

This commit was SVN r5503.
2005-04-26 05:27:38 +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
Brian Barrett
309ff000a6 * add --enable-mca-static to specify components that should be statically
linked into libmpi
* add --enable-mca-direct to specify components that should be directly
  called (instead of going through component structs and the like).  The
  components and component frameworks must explicitly support this.
  Currently, only the TEG PML does so.
* Updated all the calls to the PML to use a macro so that they can either
  be direct called or called through function pointer interfaces (aka
  the component infrastructure)

This commit was SVN r5291.
2005-04-13 03:19:48 +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
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
3532271877 Ensure that in static builds, we only include the common sm object
files once.  Turns out that linkers *aren't* smart enough to just
"figure it out" and ensure that we only get one copy (or perhaps it's
libtool who's trying to be too smart...?).

This commit was SVN r4371.
2005-02-10 03:38:18 +00:00
Jeff Squyres
b00522566b - Make MPI_FINALIZE cleanup mpool properly
- Change mca_mpool_base_close() to know that mpool modules with a NULL
  finalize should be skipped (i.e., it's legal)
- Fix a few function names in accorance to the prefix rule

This commit was SVN r4015.
2005-01-15 13:20:26 +00:00
Jeff Squyres
15f0cb6112 Use the right type when closing down the mpool components.
This commit was SVN r4005.
2005-01-14 21:58:02 +00:00
Tim Woodall
9648b5bc36 starting integration of i/o forwarding framework
This commit was SVN r3986.
2005-01-13 15:30:49 +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
Brian Barrett
5ee42c2a58 * correct the installation paths of a bunch of headers
* make sure to install the libevent header
* make Automake create the sysconf_DATA directory before trying to
  install the config files

This commit was SVN r3614.
2004-11-18 03:53:42 +00:00
George Bosilca
9659288e74 I hate waiting on the airports. SO I start doing something usefull ...
I remove a lot of inter-dependence, I use the struct_t type.
BEWARE not all the function are ready.

This commit was SVN r3524.
2004-11-05 07:52:30 +00:00
Prabhanjan Kambadur
4257467fec this is the big windows commit. there are more things which have gone into this than i can remember. but basically, we are looking for
1. header file and source file protections using #ifdef WIN32
2. new files and directories to support windows functionality
3. appropritate linkage symbols added (OMPI_DECLSPEC) for windows
4. some functions are unimplemented on the windows side. this is mostly
because there might not be need to implement it in windows land. eg., forking
a daemon off
5. Introduced locking mechanisms for windows

This commit was SVN r3286.
2004-10-22 16:06:05 +00:00
Rich Graham
0ab1ab374d starting to debug the shared memory implmentation. Changing
process count references to int's rather than size_t's.
use asprintf to store the name of the shared memory backing file.

This commit was SVN r3275.
2004-10-21 22:40:25 +00:00
Prabhanjan Kambadur
dac14aaf94 committing the header file fixes for protection against C++ name mangling. This is a hge commit. Please make sure that your files are protected right. There is some redundan protection in that the protection has been added right at teh beginning and at teh end ion some cases even thught typedefs are not requred to be protected. But this was done in order to have teh minimal change to the code base
This commit was SVN r3246.
2004-10-20 22:31:03 +00:00
Jeff Squyres
d324a7725c - Add #if protection around non-portable system .h files
- Add #include "ompi_config.h" to all .c files, and ensure that it's
  the first #included file
- remove a few useless #if HAVE_CONFIG_H checks

This commit was SVN r3229.
2004-10-20 01:03:09 +00:00
Rich Graham
e83db5af32 save work in progress.
This commit was SVN r3049.
2004-10-11 22:56:46 +00:00
Jeff Squyres
c3c63b57c4 Arf. Anju and I misunderstood each other yesterday -- the OMPI_EXPORT
thingy needs to go on the *declaration*, not the *definition*.  Well,
at least this was all done en masse and via an automated mechanism, so
total time wasted was only about 15 minutes...

This commit was SVN r2858.
2004-09-24 18:33:36 +00:00
Jeff Squyres
044d5da589 More late-night hacking -- add OMPI_EXPORT to the component struct in
every component.

This commit was SVN r2857.
2004-09-24 10:42:55 +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
Rich Graham
7d921a0a69 get the sm MCA "stuff" fixed, fix a bug in memory alignment for the
sm mpool allocation, create sm ptl control shared memory region,
    add comments.

This commit was SVN r2042.
2004-08-11 16:06:14 +00:00
Tim Woodall
7d6425268d - removed debug
This commit was SVN r2018.
2004-08-10 21:23:01 +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
f870500088 Speed up the build process by removing some redundant convenience
libraries

This commit was SVN r1949.
2004-08-07 04:20:28 +00:00
Jeff Squyres
88a2858e21 Add some comments about the whole "common shared library" thing
because a) it's confusing, and b) I'm sure it's only the first.  :-)

This commit was SVN r1939.
2004-08-06 21:40:23 +00:00
Jeff Squyres
2060091238 - Creation of the common code repository for cross-component /
horizontal integration
- Move the mpool_sm_mmap.[ch] files to a new sm common code area, and
  rename to common_sm_mmap.[ch]
- update sm ptl and mpool to refer to the sm common code area for the
  mmap code

This commit was SVN r1930.
2004-08-06 19:35:57 +00:00
Tim Woodall
1b6a2a59c1 maintain reference count on communicator for duration of request
This commit was SVN r1907.
2004-08-05 19:35:10 +00:00
Tim Woodall
f100d08dd5 resolved another problem introduced with global name change
This commit was SVN r1879.
2004-08-04 22:09:40 +00:00
Tim Woodall
efcf7d9464 fixed issue w/ name changes
This commit was SVN r1877.
2004-08-04 19:55:12 +00:00
Rich Graham
5e196fd257 changes for the shared memory implementation.
This commit was SVN r1872.
2004-08-04 17:22:16 +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
Rich Graham
97d34f285f continue to add code for the Shared Memory ptl. Get the local
host rank set.

This commit was SVN r1746.
2004-07-15 18:42:02 +00:00
Tim Prins
f4d9cea614 Adding some documentation.
This commit was SVN r1639.
2004-07-12 20:05:29 +00:00
Jeff Squyres
8149265189 - Updated versioning system; "svn" number is now a string (vs. an int)
- Updated autogen.sh and friends to be more flexible and allow
  components to be configured and built outside of the Open MPI tree
- Removed $(LIBOMPI_LA) from all component Makefile.am's -- it's
  unnecessary 

This commit was SVN r1566.
2004-07-07 12:45:36 +00:00
Tim Woodall
8cfc45bbee restored Jeffs changes
This commit was SVN r1529.
2004-07-01 16:25:44 +00:00
Tim Woodall
165d4f8841 merge of oob/rte changes from rte branch
This commit was SVN r1527.
2004-07-01 14:49:54 +00:00
Jeff Squyres
97bed7c0d4 Building MCA components as DSOs is now the default. Use
--disable-mca-dso to build MCA components statically as part of
libmpi, or --enable-mca-dso=LIST to only build some components as DSOs
(see ./configure --help for more details).

This commit was SVN r1521.
2004-06-30 22:11:32 +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
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
3d7e403cc1 -disable this module by default
-fix check of mmap return value

This commit was SVN r1444.
2004-06-23 14:00:21 +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
495d5b9d71 removed prototypes for shared memory register/unregister -- not used
This commit was SVN r1384.
2004-06-17 20:35:26 +00:00
Tim Woodall
fe7fd36137 integration of shared memory pool with shared memory ptl
This commit was SVN r1383.
2004-06-17 20:33:52 +00:00
Tim Woodall
19fae35833 fixed include path
This commit was SVN r1380.
2004-06-17 19:16:51 +00:00
Tim Woodall
573cf728dd fix for shared libraries
This commit was SVN r1378.
2004-06-17 19:15:51 +00:00