1
1

221 Коммитов

Автор SHA1 Сообщение Дата
Rainer Keller
7d37584e67 Allow MPI_ANY_TAG to probe for when MPI_PARAM_CHECKing.
This commit was SVN r4123.
2005-01-24 22:23:15 +00:00
Edgar Gabriel
e62c6a4fd6 the parameter list for ompi_parse_port hast changed again back to the original version
This commit was SVN r4028.
2005-01-18 13:56:21 +00:00
Jeff Squyres
9802822b7b Make the opening of the io framework be lazy -- only occurs at the
first invocation of MPI_File_open or MPI_File_delete (whichever is
first).  The io framework is then only closed down if it was
successfully opened.  

This is the first [atomic] step to having a progress thread in the
ROMIO component; it wasn't strictly *necessary*, but it's logically
the same direction and provided a good test case.

This commit was SVN r3895.
2005-01-04 15:43:26 +00:00
Edgar Gabriel
9b2056c345 adding support for the optional attribute MPI_APPNUM. The information is now correctly available at the child processes, however the attribute is not yet set.
This commit was SVN r3876.
2004-12-23 15:33:16 +00:00
Brian Barrett
d3d52a4aed * Changes to make MPI_Comm_spawn_multiple work properly
This commit was SVN r3833.
2004-12-16 15:42:02 +00:00
Jeff Squyres
9ddee8c4b3 Remove accidental second Stuttgart copyright notice
This commit was SVN r3806.
2004-12-14 13:44:36 +00:00
Jeff Squyres
3966e30902 Remove every part of MPI-2 one-sided functionality from the tree with
#if OMPI_WANT_MPI2_ONE_SIDED and some automake conditionals.  Also had
to add some AC_SUBSTs to eliminate part of mpif.h (otherwise the
"external" statements would have made undefined symbols).

All the MPI-2 one-sided functionality (including the skeleton
top-level MPI API functions that only invoke an MPI exception) can be
re-enabled with --enable-mpi2-one-sided.

This commit was SVN r3802.
2004-12-14 02:35:03 +00:00
Jeff Squyres
50afa840cc Add simple wrappers around malloc / free so that these functions are
at least usable -- they just don't provide any benefit for message
passing yet.

This commit was SVN r3797.
2004-12-13 20:02:02 +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
Jeff Squyres
9f6cbfde9b Remove duplicate copyright
This commit was SVN r3781.
2004-12-11 01:32:17 +00:00
Jeff Squyres
54a4ec5ae6 Fix some harmless compiler warnings
This commit was SVN r3752.
2004-12-08 21:07:12 +00:00
Ralph Castain
b9a1132450 Cleanup a bunch of warnings. Most were innocent enough (things not initialized that probably wouldn't be a problem), but a couple could be problematic.
One warning on my list was left unfixed: the "mca_ptl_tcp_peer_dump" function is defined but not used. It is commented in the file as a diagnostic, so I left it alone since someone may choose to use it for debugging purposes. For now, it is uncalled anywhere in the code.

This commit was SVN r3703.
2004-12-06 02:15:34 +00:00
Edgar Gabriel
a4c8e4f15c some further refcount fixes. Now the static scenario should really be correct... :-)
This commit was SVN r3691.
2004-12-03 14:45:15 +00:00
Edgar Gabriel
a53e4ae2eb first fix for the proc reference count problem. It should work now for static scenarios.
I am aware of an additional bug (which I haven't resolved yet), but it should not
prevent any application from finishing correctly. Fix for the dynamic scenarios to follow soon.

This commit was SVN r3679.
2004-12-02 13:28:10 +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
George Bosilca
8befccfc46 Remove a compile warning about the array_of_type pointer mismatch.
This commit was SVN r3595.
2004-11-17 05:03:05 +00:00
George Bosilca
bdc3c7995a Use the correct type for some of the variables.
This commit was SVN r3591.
2004-11-17 03:47:41 +00:00
George Bosilca
9690904dea MPI standard state that MPI_Win_f2c should return MPI_WIN_NULL if no windows correspond to the Fortran value.
As we dont have windows right now, I still raise the error but I return MPI_WIN_NULL.

This commit was SVN r3590.
2004-11-17 03:46:56 +00:00
Jeff Squyres
7f3790615a - Implement MPI_Is_thread_main
- Add new thread function to compare current thread to an
  ompi_thread_t*
- Save current thread ID in MPI_INIT*
- Add first cut of solaris thread functions
- Add stubs for missing Windows thread functions

This commit was SVN r3569.
2004-11-15 20:03:14 +00:00
Jeff Squyres
aec66ec597 Ensure to increase the refcount on MPI_*_get_errhandler(). See
lengthy comment in src/mpi/c/comm_get_errhandler.c for an explanation
why.

This commit was SVN r3566.
2004-11-15 13:36:22 +00:00
Jeff Squyres
2975acb081 We don't need to do anything in pcontrol. So just return
MPI_SUCCESS.

This commit was SVN r3565.
2004-11-15 02:59:28 +00:00
Brian Barrett
6ea03e913d * remove debugging printf committed recently
This commit was SVN r3539.
2004-11-07 19:12:28 +00:00
Rich Graham
2e6eaf6d5f code changes to support sm.
This commit was SVN r3534.
2004-11-06 22:00:24 +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
Brian Barrett
ff5ca38dce * start of abort() and cntl-c support.
- register non-blocking recv for process starter whenever a new spawn
    occurs.
  - send kill message when rte_kill_job or kill_proc is called
  - pcm does its mojo to result in the death of the processes

This commit was SVN r3458.
2004-11-01 16:05:31 +00:00
George Bosilca
e64562e958 Now they seems to work.
This commit was SVN r3422.
2004-10-28 23:37:14 +00:00
George Bosilca
379f356483 Remove a compiling warning.
This commit was SVN r3391.
2004-10-28 17:45:11 +00:00
Tim Woodall
3e99353ce1 correct mpi semantics
This commit was SVN r3364.
2004-10-26 23:39:24 +00:00
Brian Barrett
0b131fe5c4 * Wait for all children before allowing the RSH or RMS pcm to finalize so that
cleanup happens correctly
* Deregister all async waitpid callbacks during pcm finalize so that they
  don't accidently trip after the component has been unloaded
* Cleanup the pid tracking code shared by RMS and RSH and update both
  components to match
* Add a bit to MPI_Abort() in preparation of ompi_rte_kill_job working
  properly soon

This commit was SVN r3360.
2004-10-26 22:11:03 +00:00
Tim Woodall
923ece8537 changed calls to test/testany
This commit was SVN r3356.
2004-10-26 21:46:04 +00:00
Tim Woodall
c01a17dad9 - fixed arg list in sendrecv
- added brain dead sendrecv_replace implementation

This commit was SVN r3339.
2004-10-26 14:55:23 +00:00
Tim Woodall
78a18a4acd corrected error checking
This commit was SVN r3336.
2004-10-26 12:37:19 +00:00
Edgar Gabriel
ee8b9e1897 first cut on the new disconnect infrastructure. More to come,
especially focusing on Finalize.

This commit was SVN r3331.
2004-10-26 11:37:58 +00:00
Jeff Squyres
9f13808c1c Remove compiler warning
This commit was SVN r3330.
2004-10-26 11:18:10 +00:00
Jeff Squyres
113ce723e1 Convert all ompi_bitmap_t and ompi_pointer_array_t indexing from
size_t to int.  This is in recognition of the fact that these two
classes are primarily used for fortran<-->c convertsion of various
entities (attributes, MPI objects), and MPI defines that an int must
be used to hold MPI fortran handles.  Hence, why use size_t
internally?   See the comment in src/class/ompi_pointer_array.h for a
better description.

Mixed in a few attribute fixes in this commit as well.

This commit, therefore:
- converts the indexing from size_t to int
- changes all locations in the code that I could find that used size_t
  as the interface to ompi_bitmap_t or ompi_pointer_array_t
- convert to use OMPI_FINT_2_INT / OMPI_INT_2_FINT macros in various
  src/mpi/c/*f2c.c and src/mpi/c/*c2f.c files
- check the return code of ompi_comm_free() to ensure that everything
  worked properly before returning MPI_SUCCESS
- unified all src/mpi/c/*f2c.c functions (i.e., they all do the same
  thing)
- tie up some loose ends w.r.t. MPI_Request handling in fortran; set
  the req_f_to_c_index to MPI_UNDEFINED when it does not have a fortran
  index
- still need to add a configure test to find OMPI_FORTRAN_HANDLE_MAX
  for ompi_bitmap.c and ompi_pointer_array.c (hard-wired to INT_MAX
  right now)
- re-organized, consolidated, and unified some ompi_pointer_array.c
  code -- fixed a few minor bugs w.r.t. lowest_free (could have left
  some unintentional holes in the array)

This commit was SVN r3302.
2004-10-23 19:24:00 +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
Jeff Squyres
e14b5c5b4a Fix some compiler warnings
This commit was SVN r3247.
2004-10-20 22:52:03 +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
Tim Woodall
a9db439a86 return correct status
This commit was SVN r3244.
2004-10-20 21:47:44 +00:00
Tim Woodall
e0a732cc95 temporary fix
This commit was SVN r3243.
2004-10-20 21:42:08 +00:00
Tim Woodall
cad5b2c923 - removed req_query from base request - only needed for generalized requests
- fix for persistent recvs

This commit was SVN r3235.
2004-10-20 14:56:52 +00:00
Brian Barrett
cc44f2abc2 * Make the spawn constants slightly more clear in meaning
* fix typo in error message for spawning processes
* Remove the name field from the global ompi_process_info struct, replacing
  usage with calls to ompi_rte_get_self().  Cleaned up the resulting logic
  in ompi_rte_init() to make it slightly simpler when dealing with the
  singleton case.  Reduces data duplication and I believe fixes bug
  #1009 as a nice side effect.

This commit was SVN r3230.
2004-10-20 02:24:40 +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
George Bosilca
0b2b7cd2c7 Make the compiler happy by comparing similar types.
This commit was SVN r3219.
2004-10-19 23:30:19 +00:00
Tim Woodall
53ddf3e0fc correct typo
This commit was SVN r3217.
2004-10-19 22:12:40 +00:00
Tim Woodall
c65b706c67 more cleanup`
This commit was SVN r3216.
2004-10-19 22:11:59 +00:00
Tim Woodall
7628c9f16a cleanup to correct mpi semantics
This commit was SVN r3214.
2004-10-19 22:00:19 +00:00
Jeff Squyres
3b5f8c87a2 Fix for bug 1007 -- save the selected coll component on the
communicator so that it can be passed down through MPI_COMM_DUP as the
"preferred" component during coll selection.

This commit was SVN r3179.
2004-10-15 22:32:48 +00:00
Jeff Squyres
ea6f7be7ba Fix $HEADERS$ -> $HEADER$ -- will make for easier replacement later
This commit was SVN r3173.
2004-10-15 19:31:47 +00:00