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

111 Коммитов

Автор SHA1 Сообщение Дата
Brian Barrett
85beffc8f9 * don't try to test functionality the system told you wasn't there ;)
This commit was SVN r6959.
2005-08-21 21:37:28 +00:00
Brian Barrett
eeeaa7f162 * bunch of header file and constant changes to make test tree run
"make check" after the opal/orte/ompi constants renames

This commit was SVN r6951.
2005-08-21 19:21:09 +00:00
Brian Barrett
dfdb5dc12a * high resolution, low latency timers for a number of platforms, plus mods
to opal_progress() to use the timers instead of a tick count for deciding
  whether to call the event loop or not.  Currently supported platforms are:

     - solaris (x86 / sparc)
     - Linux (x86 / x86_64 / IA64)
     - Mac OS X (x86 / Power PC)

This commit was SVN r6922.
2005-08-18 05:34:22 +00:00
Jeff Squyres
9dab81d86b A bunch of updates to the unit tests
- Update svn:ignore's to match new exectuable names
- Consolidate the unit test Makefile.am flags into a testing
  Makefile.options 
- Remove a bunch of SUBDIRS from test/mca/Makefile so that they don't
  run by default, but can be invoked manually (they're still in
  DIST_SUBDIRS) 

This commit was SVN r6598.
2005-07-23 11:11:19 +00:00
Brian Barrett
b04c726ad1 Fix up tests so that they all compile and (mostly) run
This commit was SVN r6338.
2005-07-04 14:53:10 +00:00
Brian Barrett
46245aaac1 * rename orte_os_create_dirpath to opal_os_create_dirpath
* rename orte_os_path to opal_os_path
* rename ompi_path_find to opal_path_find
* rename ompi_pow2 to opal_pow2

This commit was SVN r6334.
2005-07-04 01:59:52 +00:00
Brian Barrett
e55f99d23a * rename ompi_if to opal_if
* rename ompi_malloc to opal_malloc
* rename ompi_numtostr to opal_numtostr
* start of rename of ompi_environ to opal_environ

This commit was SVN r6332.
2005-07-04 01:36:20 +00:00
Brian Barrett
9f44b80291 * rename ompi_argv to opal_argv
* rename ompi_basename to opal_basename
* rename ompi bitop functions to opal
* rename ompi_cmd_line to opal_cmd_line
* rename ompi_sizet2int to opal_sizet2int
* rename orte_daemon_init to opal_daemon_init
* rename ompi_few to opal_few

This commit was SVN r6330.
2005-07-04 00:13:44 +00:00
Ralph Castain
93eb0d4b40 Checkpoint
This commit was SVN r5814.
2005-05-23 14:22:35 +00:00
Jeff Squyres
61f55f1011 Fix the problem with the nightly unit tests -- do *not* override
OMPI_ENABLE_DEBUG because that changes the size of struct's (e.g.,
ompi_object) in the unit tests as compared to what may have been
compiled in the library.

This commit was SVN r5373.
2005-04-15 13:32:18 +00:00
Jeff Squyres
0cdcba3403 Add new utility function ompi_basename() for a portable version of
basename with stronger guarantees on its semantics.  See the doxygen
comments for how to call and use it.

This commit was SVN r5329.
2005-04-14 14:04:41 +00:00
Jeff Squyres
2be1a1a2f3 Fixes provided by Ralph to help cleanup of the session directory,
especially upon abnormal termination of a process.  Not yet integrated
into the fork pls; pending more discussion with other developers.

This commit was SVN r5326.
2005-04-14 01:04:26 +00:00
Ralph Castain
c52a21e1b3 Fix a couple of minor bugs that were preventing the session directory system from completely cleaning up. Unit test now shows that it will cleanup all session directory levels IF no files are present.
This commit was SVN r5210.
2005-04-07 19:19:48 +00:00
Jeff Squyres
1701010301 Back out this patch; it appears to break in at least 64 bit
environments.  Working on the fix, but don't break everyone's unit
tests while I'm working on it -- will re-commit once ompi_setenv() and
ompi_unsetenv() are fixed.

This commit was SVN r5166.
2005-04-04 22:55:26 +00:00
Jeff Squyres
38b814b0cc Convert to use portable ompi_setenv() and ompi_unsetenv()
This commit was SVN r5164.
2005-04-04 22:17:48 +00:00
Jeff Squyres
69f5aa1117 Add missing <netdb.h>
This commit was SVN r5162.
2005-04-04 22:03:18 +00:00
Jeff Squyres
765250cb50 Fix compiler warnings and type comparisons
This commit was SVN r5131.
2005-04-01 13:35:57 +00:00
Ralph Castain
35b4fc02e2 Cleanup up some of the util unit tests. Fix a detected problem in orte_os_path for relative path names.
This commit was SVN r5096.
2005-03-29 19:58:32 +00:00
Jeff Squyres
450cfb0a8c Print out warnings about warnings before warnings appear
This commit was SVN r5052.
2005-03-27 12:05:41 +00:00
Jeff Squyres
a0fd932487 Add missing <unistd.h>
This commit was SVN r5050.
2005-03-27 11:59:23 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +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
785c3d1408 * adjust the ompi_argv_delete() function so that it shortens the passed
argv array to match the deletion of elements in the array.

This commit was SVN r3722.
2004-12-07 02:42:17 +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
Brian Barrett
fc8a7868e7 * fix ompi_ifaddrtoname to return the correct error code (it was returning
OMPI_ERROR if it found something and OMPI_SUCCESS otherwise).  Also
  look for INADDR_NONE instead of INADDR_ANY as the return from inet_addr()
* add convinience function ompi_ifislocal to quickly test if a given
  hostname or IP address (in dotted-quad form) is a local address
* don't ssh to the local machine, but fork() / exec() the bootproxy directly
  if ompi_ifislocal returns true *AND* there is no username specified
  for the given host
* remove the llm hack to translate localhost -> local machine name

This commit was SVN r3450.
2004-10-31 19:01:53 +00:00
Brian Barrett
4e67bf4646 * update to match real function names
This commit was SVN r3449.
2004-10-31 18:06:10 +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
7f2b73a4e5 Fix for bug 989: parse command line properly. Good code to tweak
around with while waiting for other things to compile.  :-)

Since there were some unit tests for the argv interface, took the
liberty of updating it for two new functions that were necessary:
ompi_argv_delete() and ompi_argv_insert().

This commit was SVN r2907.
2004-10-01 18:38:16 +00:00
Jeff Squyres
3f8c5372c6 Fix header file name
This commit was SVN r2906.
2004-10-01 18:26:18 +00:00
Ralph Castain
c1ba40c631 Fix mpirun2 and ompi_mpi_init to be fully backward compatible. All required values are now passed via environmental parameters, and the receiving parties know what to do with them.
Added a field to the ompi_rte_node_schedule_t structure to keep track of the number of items on the environ list, thus making it easier to append more things to it. Adjusted the mca_pcm_base_build_base_env function correspondingly to take that field as an additional argument.

Changed mpirun2 to a .c program for convenience since it wasn't using any c++ features anyway.

This commit was SVN r2561.
2004-09-09 15:23:41 +00:00
Laura Casswell
f52b0b17e5 make more general
This commit was SVN r2483.
2004-09-03 15:03:42 +00:00
Laura Casswell
8b3b1c5414 add ompi_pack
This commit was SVN r2414.
2004-08-31 18:13:30 +00:00
Ralph Castain
5b7e17908d Okay, now for a *slightly* less aggressive cleanup of the session dir. Whereas the previous version was a tad unfriendly to files from other procs sharing the tree, this one is somewhat more respectful....
BTW, in case anyone is trying to use threads, be aware that much of the RTE is NOT thread-safe at this time. We'll work on that soon.

:-)

This commit was SVN r2379.
2004-08-29 16:37:02 +00:00
Ralph Castain
ee75ce35cd Fix a logic error and typo that were keeping files in the session dir tree alive - now can truly "woo-hoo".
This commit was SVN r2371.
2004-08-29 06:50:00 +00:00
Ralph Castain
671a3de019 Add session directory finalize routines - session directories are now cleaned up! Woo-hoo!
This commit was SVN r2370.
2004-08-29 02:46:31 +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
Laura Casswell
8ba268c8dd fix warnings and link
This commit was SVN r2198.
2004-08-18 14:12:33 +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
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
Laura Casswell
32678592a2 fix makefile to use mpilib
This commit was SVN r2091.
2004-08-12 19:38:32 +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
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
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
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
Tim Woodall
d1706ed2d0 more cleanup of broken svn commit
This commit was SVN r1280.
2004-06-15 19:57:18 +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
David Daniel
2f96ba71fe renaming files
This commit was SVN r1192.
2004-06-07 15:40:19 +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
7093a41292 resolved link errors for single threaded case
This commit was SVN r1163.
2004-05-26 21:54:11 +00:00
Ralph Castain
5ed4721bb2 Add unit tests for os_create_dirpath and sys_info.
This commit was SVN r1157.
2004-05-26 02:20:05 +00:00
Ralph Castain
bc8330fb7a Unit test for src/util/os_path.c
This commit was SVN r1156.
2004-05-25 21:38:16 +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