1
1

3280 Коммитов

Автор SHA1 Сообщение Дата
Tim Woodall
f4f24cba9f cleanup, correct acks when forwarding through an intermediary
This commit was SVN r5094.
2005-03-29 19:40:38 +00:00
Ralph Castain
5f2051caad Fix it so that failure of getpwent defaults to using a string version of the uid - so session directories still work on bizarre systems that don't push the passwd file to the backend nodes...
This commit was SVN r5093.
2005-03-29 19:13:28 +00:00
Jeff Squyres
037e593f34 Fix one more minor problem with a possible overflow in error checking
This commit was SVN r5092.
2005-03-29 18:06:11 +00:00
George Bosilca
aaf1286847 Correct the local send/recv function. It's mostly used on the collective functions.
This commit was SVN r5091.
2005-03-29 17:50:38 +00:00
Tim Woodall
a9e962d0a4 for now (dump daemons output to /dev/null) - need to fix this to use the
session directory

This commit was SVN r5090.
2005-03-29 15:47:24 +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
Jeff Squyres
1876ecbf23 Add missing <string.h> for memset
This commit was SVN r5084.
2005-03-29 13:25:53 +00:00
Ralph Castain
dfe49d0fd2 Fix a subtle bug in the registry callback system that was manifesting itself in the singleton case and (randomly) in the multiprocess case.
Update the unit-test-status matrix to include priority.

Add several new registry diagnostics that helped track down the above bug.
M    test/mca/gpr/gpr_triggers.c
M    test/Unit-Test-Status.xls
M    test/Unit-Test-Status.pdf
M    src/mpi/runtime/ompi_mpi_init.c
M    src/mca/oob/base/oob_base_xcast.c
M    src/mca/ns/base/ns_base_nds_env.c
M    src/mca/gpr/replica/api_layer/gpr_replica_dump_api.c
M    src/mca/gpr/replica/api_layer/gpr_replica_api.h
M    src/mca/gpr/replica/communications/gpr_replica_comm.h
M    src/mca/gpr/replica/communications/gpr_replica_remote_msg.c
M    src/mca/gpr/replica/communications/gpr_replica_cmd_processor.c
M    src/mca/gpr/replica/communications/gpr_replica_dump_cm.c
M    src/mca/gpr/replica/gpr_replica_component.c
M    src/mca/gpr/replica/gpr_replica.h
M    src/mca/gpr/replica/functional_layer/gpr_replica_dump_fn.c
M    src/mca/gpr/replica/functional_layer/gpr_replica_fn.h
M    src/mca/gpr/replica/functional_layer/gpr_replica_trig_ops_fn.c
M    src/mca/gpr/replica/functional_layer/gpr_replica_messaging_fn.c
M    src/mca/gpr/replica/functional_layer/gpr_replica_segment_fn.c
M    src/mca/gpr/proxy/gpr_proxy_dump.c
M    src/mca/gpr/proxy/gpr_proxy.h
M    src/mca/gpr/proxy/gpr_proxy_component.c
M    src/mca/gpr/gpr_types.h
M    src/mca/gpr/base/base.h
M    src/mca/gpr/base/unpack_api_response/gpr_base_dump_notify.c
M    src/mca/gpr/base/pack_api_cmd/gpr_base_pack_dump.c
M    src/mca/gpr/gpr.h

This commit was SVN r5080.
2005-03-28 22:37:54 +00:00
George Bosilca
28c01fd07e Give a default value if the compiler report uninitialized usage.
This commit was SVN r5079.
2005-03-28 21:25:37 +00:00
George Bosilca
5d41ece75e rc should have a default value.
This commit was SVN r5078.
2005-03-28 21:11:10 +00:00
George Bosilca
2e22edc6ef Remove an unused variable.
This commit was SVN r5077.
2005-03-28 21:04:26 +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
George Bosilca
d338550a37 Include ompi_event_signal_pipe in the #if.
This commit was SVN r5074.
2005-03-28 21:01:20 +00:00
Jeff Squyres
ffc75a623f Remove redundant declaration of orte_soh and move it into
src/mca/soh/base/base.h (similar to most other frameworks).

This commit was SVN r5073.
2005-03-28 20:54:45 +00:00
Brian Barrett
f264618a67 * add a util/output.h include to a bunch of files. There are a couple of
configure options that can combine to mean that the ompi_config_bottom.h
  doesn't include this...

This commit was SVN r5068.
2005-03-28 20:07:19 +00:00
Jeff Squyres
6c316d58dd Don't use non-portable ceilf() function -- use a simple integer
calculation to get the same result instead.

This commit was SVN r5066.
2005-03-28 18:39:02 +00:00
Brian Barrett
a763345491 * fix header declaration so it compiles again
This commit was SVN r5065.
2005-03-28 16:42:56 +00:00
Brian Barrett
a39eac0825 fix up a couple of things in the waitpid function (the patch is bigger than
it looks because I re-word wrapped a couple of long comments):

  - remove the polling of the event library in all cases where the
    condition variables already do so.  The condition variables were
    updated and I didn't update this code to match.  This was only
    causing problems because there were some cases where it was
    causing deadlock-like things with the orte_wait mutex.

  - unlock the orte_wait mutex once we have the status info from
    the pid we were waiting on, rather than holding it until the
    condition variable can be destroyed.  This allows us to poll
    a bit more blindly while waiting for the other thread to finish
    with the condition signal

  - do the condition variable-like unlock / poll / unlock cycle
    when progressing the event library when the condition variable
    doesn't do it for us.

This commit was SVN r5064.
2005-03-28 15:57:11 +00:00
Jeff Squyres
6f0b7d3cac A simpler way to do the same thing.
This commit was SVN r5063.
2005-03-28 15:42:02 +00:00
Jeff Squyres
1826e3c445 Add missing <netdb.h>
This commit was SVN r5062.
2005-03-28 14:49:36 +00:00
Jeff Squyres
25c2da6f7a s/char */const char*/ as it's really more appropriate in some places,
and some compilers complain about it.

This commit was SVN r5061.
2005-03-28 14:49:06 +00:00
Jeff Squyres
e6bf5aa6db Some compilers actually complain about empty header files (actually,
about header files that have no trailing newline).

This commit was SVN r5060.
2005-03-28 14:26:49 +00:00
Jeff Squyres
bb986065fc More bad things that ROMIO's configure should not be doing.
This commit was SVN r5059.
2005-03-28 13:02:23 +00:00
Jeff Squyres
c71d0d8bee Add a check for IFADDR_NONE (Solaris doesn't have it; the man page for
inet_addr() says that it returns -1 upon failure).

This commit was SVN r5058.
2005-03-28 11:55:57 +00:00
Jeff Squyres
a10076a00b Don't let ROMIO override the execution-time "MAKE" macro
This commit was SVN r5056.
2005-03-27 14:34:36 +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
14ba9b095c Add missing <string.h>
This commit was SVN r5046.
2005-03-27 11:32:25 +00:00
Brian Barrett
a5ae33acea * disable threads by default (temporarily)
* fix dumb commit issue in gm

This commit was SVN r5042.
2005-03-26 20:27:17 +00:00
Brian Barrett
372434f9dc * Merge in all changes from the mpi-devel branch
This commit was SVN r5040.
2005-03-26 18:49:16 +00:00
Jeff Squyres
90e9b6ca14 - Name all the parameters in the fortran attribute callbacks to be
less confusing (when you have 5-6 parameters, it's easy to mis-count
  and have the wrong type if you don't have the associated names).
- Use proper types for the fortran callbacks
- Simplify the predefined Fortran attribute callbacks; do the work
  right there rather than calling the predefined C attribute callbacks
  (which would simply require further FINT_2_INT / INT_2_FINT
  translation anyway)

This commit was SVN r5038.
2005-03-26 04:03:54 +00:00
Jeff Squyres
99628f4535 - Ensure to call fortran functions with properly-converted parameters
- Ensure to return properly if we error in the fortran callbacks
- Don't bump the refcount of attributes an extra 1 when we create
  them; this just ensures that we never really delete them (oops)

This commit was SVN r5037.
2005-03-26 04:01:43 +00:00
Jeff Squyres
de193b614b Ensure to convert MPI_SUCCESS to an MPI_Fint (probably overkill, but
technically it's more correct).

This commit was SVN r5036.
2005-03-26 03:55:15 +00:00
Jeff Squyres
86cce20f99 Fix parameter names in some default functions. I know that
technically speaking, this is a cosmetic change, but having the wrong
parameter names was extremely confusing -- it took me a while (and I
had to cross-reference MPI-1) to figure out that they were wrong, and
I was thinking about the functions incorrectly as a result.

This commit was SVN r5035.
2005-03-26 03:52:56 +00:00
Jeff Squyres
69dd16fd0d Remove this for the moment
This commit was SVN r5033.
2005-03-26 02:12:19 +00:00
Jeff Squyres
17ec412c57 Add another flag to the communicator: PML_ADDED. This flag is only
set after we call mca_pml.pml_comm_add().  This allows us, in the
destructor, to only call mca_pml.pml_comm_del() if the corresponding
pml_comm_add() was called.  In this way, if an error occurs during the
construction of a communicator (e.g., attributes failing to copy, as
in the Intel test MPI_Keyval3_c), we simply propagate the error up the
stack so that an MPI exception can be generated -- not cause a failed
assert() in teg's pml_del_comm().

This commit was SVN r5032.
2005-03-26 01:49:14 +00:00
Jeff Squyres
485adebcd5 Ensure that we invoke fortran ops with a function prototype that uses
MPI_Fint's, and that we convert the C int's to MPI_Fint's before
invocation.

This commit was SVN r5031.
2005-03-25 20:43:19 +00:00
Jeff Squyres
4ccd171f8a Fix a comment
This commit was SVN r5030.
2005-03-25 20:42:17 +00:00
Jeff Squyres
df8c736993 Ensure that we invoke fortran errorhandlers with a function prototype
that uses MPI_Fint's, and that we convert the C int's to MPI_Fint's
before invocation.

This commit was SVN r5029.
2005-03-25 20:25:28 +00:00
Jeff Squyres
b5082f09c2 Oops -- meant to remove that "if" block yesterday.
This commit was SVN r5026.
2005-03-25 18:40:37 +00:00
Jeff Squyres
b8f88e8c1c Fix some bugs in the version number scheme, and make the proces a bit
more obvious (and documented)
- VERSION now has lots of comments in it
- separate out whether we want the SVN r number in the version and
  what the SVN r number is
- clearly describe the process for building the full version number
  string 
- make ompi info have a separate line item specifically for the SVN r
  number, regardless of what the version number is
- update "make dist" process to substitute in the SVN r version

This commit was SVN r5022.
2005-03-25 03:19:46 +00:00
Jeff Squyres
c57377a965 - reduce kruft in finding out which thread level to use (still need to
check initial values against Brian's new stuff)
- remove some additional kruft

This commit was SVN r5021.
2005-03-25 03:06:06 +00:00
Jeff Squyres
c33fb9a5b0 Some changes to the ompi_obj_t back-end functionality (front-end
interface is unchanged):
- the first call to OBJ_CONSTRUCT and OBJ_NET on a given class is now
  thread safe 
- fix memory leaks for the vtable constructor / destructors;
  orte_finalize() makes a call to free all the memory allocated for
  that stuff.  After ompi_class_finalize(), any calls to OBJECT
  functionality will be met with a swift, painful SEGV death!

This commit was SVN r5017.
2005-03-24 22:13:05 +00:00
Jeff Squyres
428a38a29a Update logic for debug streams
This commit was SVN r5016.
2005-03-24 20:23:15 +00:00
Jeff Squyres
718dd96e6c Remove unused function
This commit was SVN r5015.
2005-03-24 20:22:01 +00:00
Jeff Squyres
cdd2808d89 Only prototype function if we need it
This commit was SVN r5014.
2005-03-24 20:21:32 +00:00
Tim Woodall
805095986c - mods to support daemon command line parameters
- check return value correctly when posting non-blocking recvs
- use any values that have been set in the global structs as the
  defaults when registering mca parameters - this prevents any
  values that have been set in the structs from the command line
  parser from being overwritten

This commit was SVN r5011.
2005-03-24 15:45:44 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Jeff Squyres
6432cbfe72 Fix two minor memory bugs
This commit was SVN r5005.
2005-03-23 22:42:51 +00:00