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

2075 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
1218debb6e Oops -- buglet crawled in at the last minute. :-)
This commit was SVN r2137.
2004-08-14 02:12:01 +00:00
Jeff Squyres
cfd5524ad5 Committing several things under one commit, but they're all at least
somewhat tied together and I'd rather have a consistent commit rather
than several smaller commits that individually break the tree:
- first cut of src/file/file.c: MPI_File handling.  More to come here.
- tweaked MPI_Info handling a bit: cause MPI_Info_f2c to invoke error
  handler if provided index is out of range (vs. returing
  MPI_INFO_NULL without invoking an error handler)
- moved general MPI MCA params off into their own .h and .c file (so
  that ompi_info can call it and therefore display MPI MCA params)
- first [abbreviated] cut of src/mca/io/base/* -- much more to come
  here; stripped down to basics for this commit
- filled in a small number of MPI_File* functions for testing purposes
- updated a bunch of doxygen docs
--> Unresolved questions about MPI_ERRORS_RETURN, MPI_ERRORS_ABORT,
    and MPI::ERRORS_THROW_EXCEPTIONS because of vagueness in MPI
    standard -- Edgar and I are discussing what to do here
--> Unresolved questions about what to do in a case like this:
      MPI_File_open(..., &file);
      MPI_File_close(&file);
      MPI_File_read(..., &file);
    because MPI-2:9.7 says that the default error handler on MPI_File
    handles is MPI_ERRORS_RETURN -- we can't even print a warning
    here!  This certainly violates the Law of Least Astonishment for
    MPI users (who certainly expect MPI functions that fail to
    complain loudly and to abort by default).

This commit was SVN r2136.
2004-08-14 01:56:05 +00:00
Sayantan Sur
c6d6ea8482 Getting Dynamic connection management and UD transport to work.
This commit was SVN r2135.
2004-08-14 00:27:00 +00:00
Jeff Squyres
a5848eb249 Oops -- minor logic error w.r.t. fortran libs. Fixed.
This commit was SVN r2134.
2004-08-13 21:00:42 +00:00
Jeff Squyres
50ef741777 Temporary fix -- Edgar is going to go home and look up proper, modern
fortran 77 syntax for strings.  Stupid fortran!

This commit was SVN r2133.
2004-08-13 20:43:54 +00:00
Jeff Squyres
6cfe8bdfb9 Fix some Makefile.am issues with respect to profiling
This commit was SVN r2132.
2004-08-13 20:42:38 +00:00
Jeff Squyres
96f56affd5 Add some missing files in
This commit was SVN r2131.
2004-08-13 20:16:07 +00:00
Jeff Squyres
2693c5791c Edgar correctly pointed out that I declared the SVN character string
incorrectly

This commit was SVN r2130.
2004-08-13 20:06:48 +00:00
Rich Graham
0ac3e819ac fix numerous bugs - code now compiles.
This commit was SVN r2129.
2004-08-13 19:49:13 +00:00
Rich Graham
0fbf919658 start to implement test for the circular buffer fifo implementation.
This commit was SVN r2128.
2004-08-13 19:48:32 +00:00
Jeff Squyres
7cf2055530 Make OMPI_SVN_VERSION be a string in mpif.h.in
This commit was SVN r2127.
2004-08-13 19:46:09 +00:00
Brian Barrett
5540dc37bc * Change from ompi_list_t to ompi_list_t* in the schedule and allocation
structures to make it easier to swap around lists when doing process ->
  resource mapping
* Fix spawn interface to take an ompi_list_t* instead of an ompi_list_t
  since you can't pass an ompi_list_t by value
* Change allocate_resource to return an ompi_list_t* instead of having
  an ompi_list_t** as an argument, since it's a bit cleaner and makes
  who should call OBJ_NEW much more clear
* Clean up deallocation in error cases for the llm_base_allocate function
* Update test case for llm to not depend on current environment for
  correctness

This commit was SVN r2126.
2004-08-13 19:39:06 +00:00
Jeff Squyres
03f195d22c Add temporary error messages when not compiled with f77 or f90 support
This commit was SVN r2125.
2004-08-13 19:13:01 +00:00
Edgar Gabriel
1ca0115ff7 adding in finalize a verification, whether we still have some communicators there...which should not happen in a correct MPI code.
This commit was SVN r2124.
2004-08-13 18:55:07 +00:00
George Bosilca
8b05d713ba Just print more informations ...
This commit was SVN r2123.
2004-08-13 17:05:23 +00:00
Ralph Castain
70c4837baf Convert the recv and callback function prototypes to consistently use pointers to tag.
This commit was SVN r2122.
2004-08-13 17:04:24 +00:00
Weikuan Yu
5f6df5307e Commit the latency test
This commit was SVN r2121.
2004-08-13 16:57:27 +00:00
Ralph Castain
43a0ae2b03 Update the functions to change the callback function parameter list's tag value to a pointer.
This commit was SVN r2120.
2004-08-13 16:56:36 +00:00
Ralph Castain
6a505b101c Update some memory cleanup.
This commit was SVN r2119.
2004-08-13 16:42:29 +00:00
Tim Woodall
c4bada809d resolve issue when init fails - component is unloaded - needed to remove component list entry
This commit was SVN r2118.
2004-08-13 16:36:10 +00:00
Ralph Castain
3fe4447ae4 Completes the oob interface for the name server by adding the server-side functions. These have NOT been tested, but do compile. The non-blocking receive is missing but will be added when the oob supports it.
This commit was SVN r2117.
2004-08-13 16:20:33 +00:00
Rich Graham
73646b5576 cast a pointer on assignment, to silence compiler.
This commit was SVN r2116.
2004-08-13 16:01:51 +00:00
Tim Woodall
ac977827b9 implement the MCA_OOB_ALLOC flag for recv - in this case the library allocates a buffer
for the receive and returns it to the caller - who is then responsible for freeing it.

This commit was SVN r2115.
2004-08-13 15:15:14 +00:00
Ralph Castain
4f7febc161 NOTE: These changes may break any code that uses the ompi_process_name_t type. Please recompile and check for the changes detailed below.
Major change to the name server system to introduce the OOB interface. Changed the ompi_process_name_t to no longer be an OBJ, but instead just a regular C structure. Include the packing-based oob interface.

This commit was SVN r2114.
2004-08-13 15:09:24 +00:00
Edgar Gabriel
573b4ea950 adding a check whether the f_to_c_index is initialized in the destructor for consistency reasons.
removing the warning in comm_split_f pointed out be the 64bit architecture. Actually, I wonder why g77 did not detect that, since this was a real bug and not just a warning :-)

This commit was SVN r2113.
2004-08-13 13:31:26 +00:00
George Bosilca
ecb2efdced Now we can have several point-to-point exchanges !!!
This commit was SVN r2112.
2004-08-13 08:25:37 +00:00
George Bosilca
11bca73ad4 Last commit for TODAY ! At least the hello_world example work.
This commit was SVN r2111.
2004-08-13 06:25:59 +00:00
Graham Fagg
a74f35d76f Added oob_test_packed unit test, update makefile etc
Looks like it works:
SUPPORT: OMPI Test Passed: oob packed recieve then send: (15 tests)
SUPPORT: OMPI Test Passed: oob packed send then recieve: (15 tests)

This commit was SVN r2110.
2004-08-13 04:18:43 +00:00
George Bosilca
00cf66a7d9 A more advanced version, but still not working.
This commit was SVN r2109.
2004-08-13 04:17:31 +00:00
Graham Fagg
973c731406 Fixed bug in packed buffer recv (mca_oob_recv_packed).
-  this code will change again tomorrow when oob allocates memory for me
Started to get ready to remove all the last remains of the old oob pack.
-  ifdefd until we are sure we got them all, and then its delete time.

This commit was SVN r2108.
2004-08-13 04:16:33 +00:00
Jeff Squyres
b80731b4d3 Fix typo in output
This commit was SVN r2107.
2004-08-13 04:10:47 +00:00
Graham Fagg
fdc4ab5da0 Added prealloced buffer init call (ompi_buffer_init_preallocated())
and updated the unit test for this.
- This call is for use by the OOB device so it can pass the pack/buffer system
  memory. This removes the peek-recv race condition.

This commit was SVN r2105.
2004-08-13 02:26:12 +00:00
Graham Fagg
0bfa0d1f12 hashed out the soon to be defunct mca_oob_.. types.
This commit was SVN r2104.
2004-08-12 23:46:18 +00:00
Weikuan Yu
8852ada41d Fill up more cleanup code
This commit was SVN r2103.
2004-08-12 23:39:55 +00:00
Gopal Santhanaraman
07e838570d Forget one file.
This commit was SVN r2102.
2004-08-12 23:39:04 +00:00
Gopal Santhanaraman
e2a66e7a81 Commit a temporary version. George want to give a try ... )
This commit was SVN r2101.
2004-08-12 23:37:37 +00:00
Rich Graham
71391bed98 first cut at an array based fifo. NOT TESTED !!!
This commit was SVN r2100.
2004-08-12 23:31:15 +00:00
Rich Graham
fa6abf032e header with parameters to describe the system's cache bahavior.
right now, parameters are hard coded.

This commit was SVN r2099.
2004-08-12 23:30:16 +00:00
Graham Fagg
f4b77b5d60 Changed unpack start pointer (from_ptr) setup.
- Testsuite found as this was set to NULL until a pack to catch invalid unpacks
     that if a realloc occured on the first pack, then all ptrs updated by
     relative amounts and then the from_ptr was not NULL and not set on
	 first pack correctly. Have changed it to the simple method.

This commit was SVN r2098.
2004-08-12 23:14:00 +00:00
Graham Fagg
959be36a9c Added ompi_pack test and updated the Makefile.am to find it
- the test suite put the test in a different memory layout than standalone and it did find a memory error straight away....

This commit was SVN r2097.
2004-08-12 23:07:21 +00:00
Graham Fagg
1d780192ef Added test_comment() that prints user string to STDOUT unlike test_* which print to STDERR.
Used for more verbose test results when needed.

This commit was SVN r2096.
2004-08-12 23:03:39 +00:00
Tim Woodall
a2bc814a08 OOB API changes:
- removed send_hton/recv_ntoh routines as we now have send_packed/recv_packed 
- removed constness from apis
- adding flag (in work) to allow recv to allocate and return recv buffer
- updated edgars communicator code to use pack routines rather than ntoh routines

This commit was SVN r2095.
2004-08-12 22:41:42 +00:00
Laura Casswell
478de2a9fa this will run the test but is incomplete. We need to set up a standard
environment so the sched_comm test will have a standard result

This commit was SVN r2094.
2004-08-12 21:48:26 +00:00
Laura Casswell
5b60687358 add pcm
This commit was SVN r2093.
2004-08-12 21:38:21 +00:00
Graham Fagg
a607e59314 Added new callback type for OMPI_Packed nb operations
This commit was SVN r2092.
2004-08-12 20:30:03 +00:00
Laura Casswell
32678592a2 fix makefile to use mpilib
This commit was SVN r2091.
2004-08-12 19:38:32 +00:00
Jeff Squyres
2345807cca Oops -- only show the message if show_handle_leaks is enabled
This commit was SVN r2090.
2004-08-12 17:05:44 +00:00
Jeff Squyres
726af9ea85 Revamp MPI_Info handling a bit:
- fix a few bugs
- convert/add doxygen comments for internal info functions in
  src/info/info.h (some comments were originally in src/info/info.c)
- make it thread safe
- make MPI_INFO_NULL be a real object (vs ((struct ompi_info_t*) 0))
- add error checking into top-level MPI functions
- add support in MPI_Info for "never freeing MPI handles" as a form of
  debugging i.e., check if see if you accidentally use a freed handle)
- add support for "print out a list of un-freed MPI_Info handles
  during MPI_FINALIZE"

This commit was SVN r2089.
2004-08-12 16:56:24 +00:00
Tim Woodall
2b64fdd0dd dont remove components from list of opened/available components - need
to maintain this list to close components during shutdown

This commit was SVN r2088.
2004-08-12 14:56:53 +00:00
Tim Woodall
8468273a8a - more on cleanup
This commit was SVN r2087.
2004-08-12 13:29:37 +00:00