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

139 Коммитов

Автор SHA1 Сообщение Дата
Ralph Castain
d900d8f137 Plug one memory leak - still have one big one left here.
This commit was SVN r5137.
2005-04-01 19:51:47 +00:00
Jeff Squyres
b583c40102 Fix some compile errors, and make the test be skipped if there's no
thread support.

This commit was SVN r5136.
2005-04-01 19:50:17 +00:00
Ralph Castain
96508b3cb3 Continue expanding the range of unit tests. Fix a few memory leaks - orterun continues to leak like a sieve, but progress is being made.
This commit was SVN r5135.
2005-04-01 18:02:01 +00:00
Ralph Castain
df7ef31b61 Plug a memory leak that crept into the registry.
Modify the locking scheme to try and resolve a problem with dump_triggers that only occurs with multiple processes. Didn't resolve the problem, but should be more robust anyway. Still tracking this one down.

This commit was SVN r5114.
2005-03-31 21:32:12 +00:00
Ralph Castain
8686c60223 Fix the subscription system so it correctly deals with triggers at a level (as opposed to comparing two counters). Combined with Brian's latest checkin, this corrects the tendency for orterun to "hang" when one or more processes abnormally terminate.
This commit was SVN r5109.
2005-03-31 14:24:36 +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
Jeff Squyres
226542f98f Remove the dummy output file when the test is done
This commit was SVN r5053.
2005-03-27 12:47:32 +00:00
Jeff Squyres
da23029c96 Add non-portable fixes to temporarily allow the gpr test(s) to be
built.  The issue is that these tests are trying to test specific
components, and is calling the functions directly -- and therefore
needs to have the component linked in.  This is fine when the
component is statically linked as part of libmpi, but presents a
problem when the component is a DSO.  

GNU compilers/linkers allow us to link in the DSO as part of the test
executable (and everything "just works"), but this is not portable.  A
better solution is going to involve:

- a better unit test support library that can load a DSO on demand
- using function pointers in the unit tests (rather than direct
  function invocation)

This commit was SVN r5051.
2005-03-27 12:01:51 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Ralph Castain
bb33402058 Complete the name service unit tests.
This commit was SVN r4994.
2005-03-22 20:48:55 +00:00
Ralph Castain
875da82a6f Begin cleanup of the name service unit tests. Fix an error in create_cellid.
This commit was SVN r4993.
2005-03-22 19:56:45 +00:00
Ralph Castain
7935e05309 Complete checkout/debug of registry unit tests. All checks out okay now, including memory leakage.
This commit was SVN r4992.
2005-03-22 18:58:36 +00:00
Ralph Castain
f6bb79ceef Fix test to properly clear all memory.
This commit was SVN r4991.
2005-03-22 18:46:07 +00:00
Ralph Castain
a97d3228b1 Cleanup memory leak in delete_itag. Update unit test to find it.
This commit was SVN r4990.
2005-03-22 18:40:12 +00:00
Ralph Castain
abd1048646 Cleanup some of the test areas.
Add a memset to if.c so that purify and valgrind stop complaining about uninitialized memory.

This commit was SVN r4988.
2005-03-22 15:37:58 +00:00
Brian Barrett
897983ea30 * Fix regression in ompi_argv_delete exposed with the unit tests
* Update a bunch of the unit tests to either be disabled (someone who
  isn't me and knows that code needs to fix them) or to work properly

This commit was SVN r4986.
2005-03-22 14:41:45 +00:00
Brian Barrett
4b6aecf82d * Fix up the test directory so everything uses Automake's "make check" to
build / run.  Only things that actually build / run right now are the
  asm and class tests.  The mca tests probably will with a static build
  but that hasn't been verified

This commit was SVN r4979.
2005-03-22 04:25:01 +00:00
Brian Barrett
aa70a35fea * Sync trunk to r4977 of the tim branch
This commit was SVN r4978.

The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
  r4977
2005-03-22 00:31:17 +00:00
Brian Barrett
c854ae0edb * more merges from the trunk, mainly to make "make dist" work correctly.
This commit was SVN r4944.
2005-03-19 22:04:32 +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
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
Ralph Castain
dec119b2a0 Updates to the unit tests for the registry.
This commit was SVN r3477.
2004-11-02 16:28:06 +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
Jeff Squyres
c91d66836e No need for DIST_SUBDIRS anymore
This commit was SVN r2609.
2004-09-11 06:05:13 +00:00
Brian Barrett
3f11641c67 * don't have ns listed twice in DIST_SUBDIRS. Seems to cause failures for
make maintainer-clean

This commit was SVN r2606.
2004-09-11 01:49:26 +00:00
Ralph Castain
08f6491ae2 Update the registry unit test.
This commit was SVN r2536.
2004-09-08 14:09:58 +00:00
Brian Barrett
1a100e65c1 * rework the pcm/llm interface to be more non-rsh friendly. Push the
host / cpu information down into a handle that need not exist when
  the llm isn't being used.  Fix all the test cases and whatnot to match

This commit was SVN r2490.
2004-09-03 19:19:59 +00:00
Laura Casswell
2a63fb47ec fix typo
This commit was SVN r2476.
2004-09-03 14:39:53 +00:00
Laura Casswell
aca8377db9 add ns and make run script more general
This commit was SVN r2475.
2004-09-03 14:31:36 +00:00
Laura Casswell
fcca758e9a make more general
This commit was SVN r2474.
2004-09-03 14:23:37 +00:00
Laura Casswell
22bc29e50a fix typos in help and make more general
This commit was SVN r2473.
2004-09-03 14:23:08 +00:00
Laura Casswell
1049bf79ca make more general
This commit was SVN r2472.
2004-09-03 14:18:02 +00:00
Laura Casswell
54825ec955 make more general
This commit was SVN r2471.
2004-09-03 14:11:19 +00:00
Laura Casswell
7dfe48ec94 add run script
This commit was SVN r2470.
2004-09-03 14:08:36 +00:00
Laura Casswell
699b4fb860 make more general
This commit was SVN r2469.
2004-09-03 13:58:25 +00:00
Laura Casswell
e613ac2459 fix help line
This commit was SVN r2468.
2004-09-03 13:55:53 +00:00
Laura Casswell
ae1a20a354 make more general
This commit was SVN r2466.
2004-09-03 13:51:39 +00:00
Laura Casswell
ed4fd14f1c make script more flexible, add new test
This commit was SVN r2465.
2004-09-03 13:37:31 +00:00
Ralph Castain
f1ab634fab Massive update of the registry system to incorporate publish/subscribe notifications, including new "synchro" function that allows a barrier-like operation to be performed on a registry segment. Corresponding update to unit test for replica - system passes, but additional new functionality needs to be added to test.
This commit was SVN r2317.
2004-08-27 05:23:04 +00:00
Ralph Castain
b64dc67d7a Complete updating of tests to reflect new functionality.
This commit was SVN r2249.
2004-08-20 13:59:34 +00:00
Tim Woodall
300e4135ac fix for asprintf issue on linux - include ompi_config.h first
This commit was SVN r2241.
2004-08-19 22:23:34 +00:00
Tim Woodall
b592ef6643 run both client-server
This commit was SVN r2237.
2004-08-19 19:46:12 +00:00
Tim Woodall
e05e7ca942 gpr proxy i/f (put) seems to be working w/ tcp oob!
This commit was SVN r2235.
2004-08-19 19:34:37 +00:00
Ralph Castain
8fd9c65362 Fix a few glitches in the new version of put. Updated unit test to comply with changes.
This commit was SVN r2229.
2004-08-19 19:15:18 +00:00
Ralph Castain
56a3fd8f36 Changed the GPR interface (per Tim's request) so that a "put" will automatically create the specified segment if it doesn't already exist. You will not need to create it explicitly.
Added the gpr test directory to configure.ac, and updated the tests.

This commit was SVN r2228.
2004-08-19 16:51:51 +00:00
Laura Casswell
61291736c6 and build_env test
This commit was SVN r2225.
2004-08-19 13:47:09 +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
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
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
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
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
0bfa0d1f12 hashed out the soon to be defunct mca_oob_.. types.
This commit was SVN r2104.
2004-08-12 23:46:18 +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
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
b8f5447d56 fix comments and usage text
This commit was SVN r2058.
2004-08-11 17:30:07 +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
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
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
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
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
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
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
David Daniel
563ac2a338 First pass of lam -> ompi conversion
This commit was SVN r1191.
2004-06-07 15:33:53 +00:00
Tim Woodall
42a05e9a74 updated to reflect directory reorg - test directory tree should match src
This commit was SVN r1154.
2004-05-24 21:45:00 +00:00