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

216 Коммитов

Автор SHA1 Сообщение Дата
Graham Fagg
bbcd4b0330 fixed comments
This commit was SVN r2220.
2004-08-18 23:21:45 +00:00
Graham Fagg
720156b50d Added new pack and unpack string functions. These are mainly used by RTE (NS/GPR etc).
- unpack string allocates memory for user removing need to know/set max string lengths
- fixed missing 'break' in case statement thanks to unit test yet again!
- updated unit test ompi_pack (test8)
- will remove old OMPI_STRING type and support shortly after checking for usage

This commit was SVN r2219.
2004-08-18 23:18:25 +00:00
Rich Graham
b0a19d3fe6 add tests to run through queue multiple times, and correct for new
read interface.

This commit was SVN r2215.
2004-08-18 22:52:02 +00:00
Brian Barrett
964fd9c758 * More changes for the rsh pcm:
- make sure to pass jobid to the spawned process
  - update test case and bootproxy to pass/receive jobid
  - work on list splitting code for rsh spawn_procs()

This commit was SVN r2212.
2004-08-18 20:34:20 +00:00
Brian Barrett
faebdd3404 * rework build_base_env to take an env pointer rather than assuming environ
* rework build_base_env to use newly discovered (by me, anyway) argv
  interface
* add test case for build_base_env where I discovered I can't do boolean
  logic....

This commit was SVN r2209.
2004-08-18 16:33:01 +00:00
Tim Woodall
e74432addf test code requires tcp oob
This commit was SVN r2207.
2004-08-18 16:15:38 +00:00
Tim Woodall
7ccabbdcc7 test for name server proxy
This commit was SVN r2206.
2004-08-18 16:13:13 +00:00
Laura Casswell
8ba268c8dd fix warnings and link
This commit was SVN r2198.
2004-08-18 14:12:33 +00:00
Rich Graham
29b8a543af add more tests - finish non-threaded testing.
This commit was SVN r2189.
2004-08-17 21:49:29 +00:00
Ralph Castain
b0ea8e0b06 Added "put" function and completed unit test for it. Updated gpr.h to include mode "none" for empty flag.
This commit was SVN r2187.
2004-08-17 19:33:36 +00:00
Brian Barrett
c5ebf49f41 * Modifications to the ompi_list_t interface and test suite
- added ompi_list_splice and ompi_list_join, which are multi-list
    manipulation functions similar to the splice functions in the STL
    list interface
  - added ompi_list_is_empty() for O(1) testing of for an empty list
  - added note that sometime in the future, ompi_list_get_size() may
    change to O(N) complexity.  DID NOT CHANGE THE FUNCTION IN ANY WAY.

If you are writing new code that needs to check for an empty list, please
use ompi_list_is_empty() rather than ompi_list_get_size() as is_empty()
will always be an O(1) operation (I can't see how you could make it
impossible to make it O(1), so this seems like a safe claim).

This commit was SVN r2186.
2004-08-17 19:31:07 +00:00
Ralph Castain
964ad6ae46 Added hook to test internal subsystems. Expanded unit test to exploit. Fixed a few bugs.
This commit was SVN r2177.
2004-08-17 04:23:06 +00:00
Rich Graham
30f1b87165 add to the circular buffer unit test
This commit was SVN r2171.
2004-08-16 23:07:10 +00:00
Ralph Castain
0d7c16f400 Update the registry with some functionality and an early draft of the unit test.
I could use some help from one of you MCA gurus - if you run the test, you'll see that I cannot get the gpr components to be recognized. I'm not sure of the reason - I would appreciate any help you can provide to get the gpr components "registered".

This commit was SVN r2158.
2004-08-16 02:08:48 +00:00
David Daniel
a1688d5b9f more atomic.h changes
This commit was SVN r2157.
2004-08-16 01:13:25 +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
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
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
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
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
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
Laura Casswell
32678592a2 fix makefile to use mpilib
This commit was SVN r2091.
2004-08-12 19:38:32 +00:00
Brian Barrett
192ff6867f * Add "serialization" of ompi_rte_schedule_t structs for sending over sockets
or rsh/ssh stdin/stdout, even includes a test case
* add base function for use when PCMs can't provide uniqueness strings, so
  that we all have the same value

This commit was SVN r2082.
2004-08-12 06:55:04 +00:00
Brian Barrett
595bcfe09b * fix type name changes
This commit was SVN r2079.
2004-08-11 22:27:24 +00:00
Laura Casswell
272998ab4b add simple run script for rte tests
This commit was SVN r2078.
2004-08-11 22:18:36 +00:00
Laura Casswell
fa8e8887a2 add test support routines and reporting
This commit was SVN r2077.
2004-08-11 22:15:02 +00:00
Ginger Young
69b8be7d8c Updated to fix compiler errors. ompi_session_dir.c needs to be re-visited at a later date to make certain that everything is being tested.
This commit was SVN r2067.
2004-08-11 19:50:58 +00:00
Laura Casswell
b8f5447d56 fix comments and usage text
This commit was SVN r2058.
2004-08-11 17:30:07 +00:00
Laura Casswell
9b32917016 fix usage text
This commit was SVN r2057.
2004-08-11 17:28:49 +00:00
Laura Casswell
af872b6548 fix usage text
This commit was SVN r2056.
2004-08-11 17:27:56 +00:00
Laura Casswell
eacf8e4346 fix usage text
This commit was SVN r2055.
2004-08-11 17:27:28 +00:00
Laura Casswell
cb02cf962c add simple script to run tests
This commit was SVN r2054.
2004-08-11 17:25:56 +00:00
Laura Casswell
fef74ce9e1 fix comments and usage statement
This commit was SVN r2053.
2004-08-11 17:23:40 +00:00
Laura Casswell
664d5c652d fix comments and usage message
This commit was SVN r2052.
2004-08-11 17:22:28 +00:00
Laura Casswell
0f848961e3 fix comments
This commit was SVN r2051.
2004-08-11 17:20:34 +00:00
Laura Casswell
4996885279 add simple script to run tests
This commit was SVN r2050.
2004-08-11 17:14:23 +00:00
Laura Casswell
a323f2210f fix link
This commit was SVN r2049.
2004-08-11 17:09:40 +00:00
Tim Prins
3db2f05dc3 Properly set address reuse on the oob tcp listen socket.
Remove some temporary code.

This commit was SVN r2040.
2004-08-11 16:02:59 +00:00
Laura Casswell
7732a29d49 add script to run tests
This commit was SVN r2010.
2004-08-10 19:10:29 +00:00
Laura Casswell
46dd816c1f automate test results and add test support routines.
This commit was SVN r2008.
2004-08-10 19:03:42 +00:00
Laura Casswell
0216249ba5 add script for running llm tests
This commit was SVN r2005.
2004-08-10 16:45:51 +00:00
Laura Casswell
89ccdf8145 add script to run tests
This commit was SVN r2004.
2004-08-10 16:45:20 +00:00
Laura Casswell
b3245d5762 automate verification of tests results and add use of test support routines
This commit was SVN r2002.
2004-08-10 15:56:15 +00:00
Laura Casswell
dd1a70c81d add script for running util tests
This commit was SVN r1988.
2004-08-09 22:00:23 +00:00
Laura Casswell
b9e1f38483 add test support calls and reporting
This commit was SVN r1987.
2004-08-09 21:47:27 +00:00
Laura Casswell
e09987b940 added support routines and reporting
This commit was SVN r1986.
2004-08-09 21:44:07 +00:00
Laura Casswell
d3b6afde9c add test support routines and reporting
This commit was SVN r1985.
2004-08-09 21:39:31 +00:00
Laura Casswell
a452bc44fd add common test support functions and reporting
This commit was SVN r1984.
2004-08-09 21:34:57 +00:00
Laura Casswell
a815163347 add run script for include tests
This commit was SVN r1983.
2004-08-09 21:25:57 +00:00
Laura Casswell
ec8b5d1d16 adding common test support routines and reporting
This commit was SVN r1982.
2004-08-09 21:25:05 +00:00
Laura Casswell
33c1952c79 add common test support routines and reporting
This commit was SVN r1981.
2004-08-09 21:24:20 +00:00
Laura Casswell
01bedc62e1 add use of test support functions and reporting
This commit was SVN r1980.
2004-08-09 21:07:24 +00:00
Laura Casswell
6541592111 fix typo in usage message
This commit was SVN r1977.
2004-08-09 19:53:12 +00:00
Laura Casswell
4e45670024 get rid of list_set_size lines
This commit was SVN r1976.
2004-08-09 19:03:51 +00:00
Laura Casswell
6f92bb58ac there is no ompi_list_set_size
This commit was SVN r1975.
2004-08-09 17:42:41 +00:00
Laura Casswell
57e70e4692 add script to run one or all tests
This commit was SVN r1974.
2004-08-09 17:40:50 +00:00
Ralph Castain
b60e7fc95a Update unit test for session directory generator.
This commit was SVN r1958.
2004-08-08 02:20:33 +00:00
Ralph Castain
bdccb58d63 update unit test - prep to renaming.
This commit was SVN r1937.
2004-08-06 21:01:29 +00:00
Ralph Castain
ac7d64af5a Update this unit test - will be moved and further updated shortly.
This commit was SVN r1936.
2004-08-06 20:54:42 +00:00
Tim Prins
c592935f89 More bug fixes. The finalize functions in the oob were not being called,
which lead to some race conditions.
There are still cases where the tcp oob will segfault.

This commit was SVN r1928.
2004-08-06 17:23:37 +00:00
Laura Casswell
850a4987c7 forgot to close files
This commit was SVN r1911.
2004-08-05 19:58:57 +00:00
Laura Casswell
8167336e65 added changes to make more uniform in reporting
This commit was SVN r1910.
2004-08-05 19:52:01 +00:00
Laura Casswell
06686b08d4 added macro to test and report
This commit was SVN r1909.
2004-08-05 19:50:54 +00:00
Tim Prins
097ad1a1bc minor bug fix. close the listen socket in the correct place.
updates to oob test.

This commit was SVN r1908.
2004-08-05 19:37:48 +00:00
Laura Casswell
2fbdeb6f65 Adding calls to general test routines
This commit was SVN r1905.
2004-08-05 19:22:47 +00:00
Brian Barrett
dadb047103 * Add LLM (the rte resource allocator) framework
* Add hostfile component for the LLM (reads hostfiles, returns array of
  node identifiers

NOTES: 
  - This will require the full autogen / configure / make.
  - You now need flex to build Open MPI from Subversion.  The versions
    available on most Linux boxen and OS X is more than new enough.  You
    do *not* need flex to build from a nightly or release tarball.

This commit was SVN r1890.
2004-08-05 14:01:45 +00:00
Tim Prins
457a4b632c Some more changes to the oob:
All the user interface functions are now in mca/oob/base/base.h
Anyone who uses the oob should just include this file.

All component related functions have been moved to mca/oob/oob.h

The reason for this change was to make the user interface more clear.

This commit was SVN r1884.
2004-08-04 23:42:51 +00:00
Laura Casswell
549a7cfba8 change order of includes so will compile
This commit was SVN r1881.
2004-08-04 22:47:25 +00:00
Tim Prins
fe9f18c03b bug fixes:
-properly initialize variables in the oob_tcp_msg struct
-properly close peer sockets in the tcp oob
-fix compare in bucket allocator to use the correct variable
-remove duplicate free in teg

-updated the oob tests
-add more output to tcp oob when there are failures

This commit was SVN r1866.
2004-08-04 14:33:02 +00:00
Jeff Squyres
93762e9aad Fixes to Makefile.am and configure.ac so that "make dist" generates a
proper tarball

This commit was SVN r1865.
2004-08-04 11:23:14 +00:00
Tim Prins
d209e538f1 -fix 2 bugs in the oob
-in some cases failed to call complete function when the message
  was sent.
 -was freeing the wrong iovec in the base recv function
-added a first cut of a oob test

This commit was SVN r1849.
2004-08-03 16:34:59 +00:00
Ralph Castain
772452105b Update unit test for name server replica
This commit was SVN r1848.
2004-08-03 15:58:08 +00:00
Brian Barrett
312819d8a3 * add support for a long -> string conversion (useful in RTE stuff)
This commit was SVN r1718.
2004-07-14 18:04:31 +00:00
Ralph Castain
ad50f148c2 Unit test for name server replica functionality now complete and functional.
This commit was SVN r1631.
2004-07-12 14:14:47 +00:00
Ralph Castain
7e20e8f430 Update of unit test for name server - submitted to Jeff for review.
This commit was SVN r1628.
2004-07-12 03:21:18 +00:00
Ralph Castain
edd09958e8 Update unit test
This commit was SVN r1616.
2004-07-11 01:18:59 +00:00
Ralph Castain
64fda9a437 Unit test for name server.
This commit was SVN r1606.
2004-07-09 01:58:08 +00:00
Ralph Castain
51efaff00f Move the name server test directory to new location.
This commit was SVN r1583.
2004-07-07 23:11:22 +00:00
Jeff Squyres
735787e12b Remove the set_list_size inline function
This commit was SVN r1490.
2004-06-28 23:52:06 +00:00
Tim Prins
48f51861d3 Adding a new class which is a red black tree
-reviewed by Tim
adding a small test program for the tree

This commit was SVN r1437.
2004-06-22 20:52:18 +00:00
Ralph Castain
a0cfd47135 Add unit tests for name server.
This commit was SVN r1301.
2004-06-16 03:34:19 +00:00
Jeff Squyres
ceec782bcd Minor fixes to make the tree build correctly. Temporaryly removed
test/include from the build because it only has one program that
doesn't compile right now.

This commit was SVN r1297.
2004-06-16 00:34:27 +00:00
David Daniel
c0c70e626a Adding some atomic tests. Work on MacOS X, but not yet included in the build system (I hope).
This commit was SVN r1289.
2004-06-15 22:41:41 +00:00
Tim Woodall
d1706ed2d0 more cleanup of broken svn commit
This commit was SVN r1280.
2004-06-15 19:57:18 +00:00
Jeff Squyres
b1cb8b8cfa Fixes for "make dist"
This commit was SVN r1278.
2004-06-15 19:39:21 +00:00
Tim Prins
44d2bd5259 removing the memory allocator tests as we are
moving things around and these will frequently 
break

This commit was SVN r1267.
2004-06-15 17:15:34 +00:00
Tim Prins
8f7b128941 first checkin of the memory allocation framework. It should work fine
except the align and realloc functions are not yet allocated.

This commit was SVN r1251.
2004-06-14 21:05:53 +00:00
Ralph Castain
4c28cb8b3d Okay, let's see if the system gets rid of the old registry files this time. Also added new location to configure.ac, and picked up a change to the sys_info header.
This commit was SVN r1239.
2004-06-12 10:56:32 +00:00
Ralph Castain
3ba6a024c9 Update the unit test for sys_info function
This commit was SVN r1224.
2004-06-11 00:36:48 +00:00
Tim Woodall
8e30307ada removed list type
This commit was SVN r1212.
2004-06-09 22:08:59 +00:00
George Bosilca
3c866dde73 C require that the definitions of variables have to be done prior to any instruction block.
This commit was SVN r1208.
2004-06-09 04:31:38 +00:00
David Daniel
c2e2de7981 Removing broken reference to registry test
This commit was SVN r1198.
2004-06-07 21:00:42 +00:00
Tim Woodall
f851e0032b renamed
This commit was SVN r1196.
2004-06-07 19:14:26 +00:00
David Daniel
1b04577727 renaming directories
This commit was SVN r1193.
2004-06-07 15:45:09 +00:00
David Daniel
2f96ba71fe renaming files
This commit was SVN r1192.
2004-06-07 15:40:19 +00:00