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

36 Коммитов

Автор SHA1 Сообщение Дата
Brian Barrett
815964f491 * start of code to dynamically decide whether to have the sched_yield or not
in the ompi_progress() function.  Not yet fully operational, as there 
  is something going on with the subscription not getting called.  E-mail
  coming to those interested.

This commit was SVN r5343.
2005-04-14 18:55:53 +00:00
Brian Barrett
e9bd716715 * prevent doing the array "condensing" when 1 or 0 things in the array, as
size_t might be unsigned and 0 - 1 on an unsigned number is not <= 0.

This commit was SVN r5196.
2005-04-06 20:17:45 +00:00
Brian Barrett
6ac3a9ffe2 * a few tweeks to the progress function to make it go just a tad bit faster.
Not really noticable with NetPipe, unfortunately :/.

This commit was SVN r5178.
2005-04-05 17:58:43 +00:00
Brian Barrett
6c476d7822 * fix free() of NULL when no MPI applications are started
This commit was SVN r5104.
2005-03-30 18:03:08 +00:00
Brian Barrett
043e7682d2 * Make sure to free the callbacks array during finalize
* add MCA parameter (OMPI_MCA_mpi_yield_when_idle) to cause sched_yield()
  to be called when the progress engine is called and nothing happens.
  Default is to call sched_yield().
* add MCA parameter (OMPI_MCA_mpi_event_tick_rate) to adjust the rate
  at which the event library is called from ompi_progress.  When set
  to 0, the event library will never be ticked.  When set to 1, the
  event library will be progressed every time.  2 every other, etc.

The MCA parameters are only in effect from end of MPI_Init to start of
MPI_Finalize.

This commit was SVN r5099.
2005-03-30 01:40:26 +00:00
Brian Barrett
8f248206e3 * back out some things I was playing with to get better gm numbers. Sorry
about that :/

This commit was SVN r5086.
2005-03-29 13:56:52 +00:00
Brian Barrett
cdbf179d40 * add header files that "go missing" if compiling with optimizations
* Fix one file that didn't have a comment header

This commit was SVN r5085.
2005-03-29 13:50:15 +00:00
George Bosilca
ed059df050 Reenable sched_yield by default.
This commit was SVN r5076.
2005-03-28 21:03:24 +00:00
George Bosilca
66478adbf4 The lock declaration should be protected by OMPI_HAVE_THREAD_SUPPORT
otherwise some compilers complain.

This commit was SVN r5075.
2005-03-28 21:02:02 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +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
George Bosilca
62aee24fd2 Do not unlock the mutex if it wasn't locked.
This commit was SVN r4513.
2005-02-23 08:21:02 +00:00
Brian Barrett
0d82642b40 * Split thread support build conditionals into MPI threads and progress
threads (defaults to use MPI threads, disable progress threads).  This
  allows us to have MPI threaded support, but without progress threads
  and all that fun stuff.

This commit was SVN r4443.
2005-02-16 17:42:07 +00:00
Brian Barrett
a8099eaa07 * Merge in changes from bwb-romio/copy-2 branch. This slightly changes
the way progress is done in the non-threaded case, adds a progress
  thread for the threaded progress case (which should be made to use
  George's progress engine when it is ready), and fixes some bugs with
  request handling, especially with freeing requests (IO requests, that
  is).

This commit was SVN r4332.
2005-02-09 02:09:07 +00:00
Jeff Squyres
6362a63459 Distinguish between success/failure and the number of requests
progressed

This commit was SVN r4212.
2005-01-28 18:54:34 +00:00
Jeff Squyres
90fb658177 Fix minor type mismatch
This commit was SVN r4209.
2005-01-28 18:47:29 +00:00
Prabhanjan Kambadur
9ac9f15537 These are the changes after the review with Jeff. Mostly are fixes for OOB and TCP
This commit was SVN r4070.
2005-01-20 00:03:23 +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
Tim Woodall
60e43d6738 set progress to be non-blocking for non-threaded build
This commit was SVN r3811.
2004-12-14 16:35:38 +00:00
Jeff Squyres
8d82071f3b Oops -- put back Tim's workaround.
This commit was SVN r3787.
2004-12-12 15:31:11 +00:00
Jeff Squyres
ac5f313af8 First cut at non-blocking IO progress. No asychronous progress
support is included because ROMIO is inherently thread-unsafe.

One possible way to have true asynchronous progress would be to use a
progress thread that wakes up and polls at some frequency when there
are non-blocking IO requests pending.  This is pretty icky, though --
it should definitely have an MCA parameter to enable/disable this
functionality, as well as another to control the polling frequency.

This also strengthens the argument that we need a v2 of the io
framework -- one that is not designed to exclusively support ROMIO --
one that does something unimaginably "better" for the parallel MPI-2
IO interface.  :-)

This commit was SVN r3786.
2004-12-12 15:29:29 +00:00
Tim Woodall
8a496b63ee for now - always progress oob otherwise connect/accept/spawn are broken
This commit was SVN r3778.
2004-12-10 20:44:22 +00:00
Tim Woodall
67a2d47a49 dont attempt to progress events for threaded case as this is handled in a seperate thread
This commit was SVN r3731.
2004-12-07 15:39:57 +00:00
Tim Woodall
96e0c767f3 restored missing changes
This commit was SVN r3680.
2004-12-02 21:43: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
aa11f9be06 - Fix broken $HEADER$ lines
- Add $HEADER$ lines to files that didn't have them
- Add placeholder LICENSE file

This commit was SVN r3654.
2004-11-22 00:37:56 +00:00
Ralph Castain
bf9087d9d1 The merged main trunk and gpr integration branch. Tested on Mac only so far - will check out and test on Linux. If that has a problem, will back all changes out (again), but I think we have this one correct. Will send out a more complete change notice once testing is complete.
This commit was SVN r3644.
2004-11-20 19:12:43 +00:00
Tim Woodall
be253609ac changes to support running a non-threaded build on oversubscribed processors
This commit was SVN r3613.
2004-11-18 01:58:30 +00:00
Tim Woodall
4ac1cc5c3a allow progress flag to be turned off only if it hasn't been reset
This commit was SVN r3601.
2004-11-17 21:00:27 +00:00
Tim Woodall
847c08fda5 - for non-threaded builds - set progress to be blocking for non-mpi apps
- reorg MX

This commit was SVN r3383.
2004-10-28 15:40:46 +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
Tim Woodall
e2350d8887 change to non-blocking poll
This commit was SVN r2184.
2004-08-17 16:08:50 +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
David Daniel
2f96ba71fe renaming files
This commit was SVN r1192.
2004-06-07 15:40:19 +00:00