1
1

2164 Коммитов

Автор SHA1 Сообщение Дата
Ralph Castain
8edd599cf4 Update header files to reflect change in API - registry objects will now be void*. Users can call the packing routines to generate packed info, then extract and pass the resulting object to the GPR for storage. Users can also simply send a string for storage without packing as characters carry across platforms just fine.
Added OOB connection - still needs testing, but test tree is currently kaput.

This commit was SVN r2226.
2004-08-19 15:14:29 +00:00
Laura Casswell
61291736c6 and build_env test
This commit was SVN r2225.
2004-08-19 13:47:09 +00:00
David Daniel
6bf4dc4478 more cleanup of threads, atomic stuff etc.
This commit was SVN r2224.
2004-08-19 00:34:00 +00:00
David Daniel
2356cf4544 Adding scripts for semi-automating update of .s assembler files
This commit was SVN r2223.
2004-08-18 23:56:35 +00:00
David Daniel
580a9143d5 Updating tests to reflect changes in os/atomic.h -> include/sys/atomic.h
This commit was SVN r2222.
2004-08-18 23:25:42 +00:00
David Daniel
927ef83454 This is a large check-in related to switching from
os/atomic.h  -->  include/sys/atomic.h

WARNING:  There are almost certainly some bugs introduced here, but I
believe that using this system will get us to a stable and portable
library faster in the long run.

Other changes:

threads/mutex

  Reorganized to use pthreads or asm atomic operations as available.
  Untested Windows implementation added using InterlockedExchange() funcion.

threads/thread

  Added an untested Windows implementation

other places

  Updates to include the "right" header files or to use
  ompi_atomic_add_int() rather that fetchNadd() etc.

This commit was SVN r2221.
2004-08-18 23:24:27 +00:00
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
David Daniel
1d3e06bb8a Changes to output.c etc. to use asprintf
This commit was SVN r2218.
2004-08-18 23:15:48 +00:00
David Daniel
48fb5094df Removing dead wood
This commit was SVN r2217.
2004-08-18 23:13:17 +00:00
Rich Graham
715ceeb569 change read interface to force a lazy free of resources. Need this
for a fifo that is a link list of such items.

This commit was SVN r2216.
2004-08-18 22:53:04 +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
Weikuan Yu
80c82622b0 check some code
This commit was SVN r2214.
2004-08-18 22:37:40 +00:00
Weikuan Yu
5506648a64 -- To add get support, which should be of minimal effort.
-- To set up a shared send completion queue, 
   with that threading is a step away.
-- After the above steps, focus will be on local branch development, 
   of course, besides testing/debugging, etc

This commit was SVN r2213.
2004-08-18 22:00:34 +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
aaca5f3bf6 * fix dumb logic about when to call free()
This commit was SVN r2211.
2004-08-18 20:25:03 +00:00
Weikuan Yu
afd504203b fix up the context pointer
This commit was SVN r2210.
2004-08-18 18:16:08 +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
Weikuan Yu
8ff450f0ee Check in fixes for offset update to have pml_done and mpi_done to be set correctly
This commit was SVN r2208.
2004-08-18 16:27:31 +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
Tim Woodall
892f1fb534 code cleanup
This commit was SVN r2205.
2004-08-18 15:54:14 +00:00
Tim Woodall
195f83a769 call back into selected NS module to allow registration of OOB callbacks
This commit was SVN r2204.
2004-08-18 15:53:13 +00:00
Tim Woodall
eaca887bd0 - cleanup/bug fixes
- added packed non-blocking support

This commit was SVN r2203.
2004-08-18 15:51:40 +00:00
Tim Woodall
1ebcca8443 cleanup for oob
This commit was SVN r2202.
2004-08-18 15:50:10 +00:00
Ralph Castain
775a83f039 Basic registry put/get functions completed and mostly tested (some obscure addressing modes still under test). Preliminary integration to be done with OOB next.
This commit was SVN r2201.
2004-08-18 15:49:48 +00:00
Brian Barrett
5011348de4 * remove the monitor function from the pcm - doesn't really make sense to
have it there
* condense the rsh pcm into fewer files, for faster compile times
* Fix return value bug in mca_pcm_base_build_base_env()

This commit was SVN r2200.
2004-08-18 15:24:26 +00:00
Rich Graham
99b3506ef5 rename data structure for clarifications, remove code in favor of using
aspintf, fix a file naming bug.

This commit was SVN r2199.
2004-08-18 15:02:21 +00:00
Laura Casswell
8ba268c8dd fix warnings and link
This commit was SVN r2198.
2004-08-18 14:12:33 +00:00
Brian Barrett
9c2eea86bb * Fix typo in nightly build test
This commit was SVN r2197.
2004-08-18 13:53:35 +00:00
Brian Barrett
59881ef1f4 * clean up logic for case sensitive filesystems so that mpicc isn't accidently
deleted on "make install" on HFS+

This commit was SVN r2196.
2004-08-18 13:52:24 +00:00
Brian Barrett
78ae32338a * fix duplicate symbol badness
This commit was SVN r2195.
2004-08-18 05:27:53 +00:00
Weikuan Yu
351ea78525 commit in more changes for send frags
This commit was SVN r2194.
2004-08-18 05:05:49 +00:00
Weikuan Yu
cd68dfa757 reorganize the outstanding sends, to combine them into a separate queue for completion notification
This commit was SVN r2193.
2004-08-18 03:53:54 +00:00
Weikuan Yu
d5a714b63d check in some debugging code, to unify all the frag lists altogether
This commit was SVN r2192.
2004-08-17 23:50:55 +00:00
Brian Barrett
7f3f72f1c7 * split the PCM into pcm and pcmclient to better match to the multi-pcm case
* add env pcmclient, which builds client data out of environment variables
* improved rsh infrastructure a little bit - almost able to get to calling
  fork()
* Removed instance information for llm - it should be burried in the pcm,
  not exposed


*** YOU MUST RUN AUTOGEN / CONFIGURE / etc AFTER UPDATING ***

This commit was SVN r2191.
2004-08-17 22:24:17 +00:00
Brian Barrett
d5133eddec * clean up the Doxygen comments in the runtime and llm classes
* recalarify previous clarification on ompi_list_get_size()

This commit was SVN r2190.
2004-08-17 22:14:47 +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
Rich Graham
2c70be74cf fix a few more bugs - move thread safety management outside of these
routines.

This commit was SVN r2188.
2004-08-17 21:49:01 +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
Tim Woodall
08de49cc4a allow null string
This commit was SVN r2185.
2004-08-17 16:10:42 +00:00
Tim Woodall
e2350d8887 change to non-blocking poll
This commit was SVN r2184.
2004-08-17 16:08:50 +00:00
Tim Woodall
754a827a99 added mca parameters to control the ptl modules that are loaded
This commit was SVN r2183.
2004-08-17 16:03:42 +00:00
Brian Barrett
c701517d53 * Fix small typo that was resulting in duplicate symbol badness in the coll
libs.  Probably would have eventually caused missing symbol badness in the
  I/O libs.

This commit was SVN r2182.
2004-08-17 15:19:35 +00:00
Brian Barrett
34fcbc94ad * Add sys/wait.h so that we compile on OS X
This commit was SVN r2181.
2004-08-17 15:12:42 +00:00
Ralph Castain
1edeed2737 Fix a duplicate instance call that is not noticed by the Mac, but apparently is noticed by others. Continue installing internal tests.
This commit was SVN r2180.
2004-08-17 15:04:56 +00:00
Ralph Castain
0c71c8f4e1 My apologies - apparently this file was skipped when committing.
This commit was SVN r2179.
2004-08-17 14:00:55 +00:00
Jeff Squyres
faf6b194b4 First cut of a revamped nightly compile script
This commit was SVN r2178.
2004-08-17 05:10:26 +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