1
1

3850 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
bd1ae3e657 Update svn:ignore
This commit was SVN r5054.
2005-03-27 12:48:07 +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
450cfb0a8c Print out warnings about warnings before warnings appear
This commit was SVN r5052.
2005-03-27 12:05:41 +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
a0fd932487 Add missing <unistd.h>
This commit was SVN r5050.
2005-03-27 11:59:23 +00:00
Jeff Squyres
85f211ed4a Update both to match -- skip the tests if OMPI was compiled without
thread support.

This commit was SVN r5049.
2005-03-27 11:55:03 +00:00
Jeff Squyres
fe9601cb51 Skip this test if OMPI was compiled without thread support
This commit was SVN r5048.
2005-03-27 11:52:09 +00:00
Jeff Squyres
948d3709c1 Return the result of the test, not 0.
This commit was SVN r5047.
2005-03-27 11:36:48 +00:00
Jeff Squyres
14ba9b095c Add missing <string.h>
This commit was SVN r5046.
2005-03-27 11:32:25 +00:00
Jeff Squyres
c227d77c33 try to ensure that the warning about the warning is printed before the
warning

This commit was SVN r5045.
2005-03-27 11:30:53 +00:00
Jeff Squyres
192367c92a Oops -- fix the m4 file as well. And other minor touch-ups.
This commit was SVN r5044.
2005-03-27 11:24:27 +00:00
Jeff Squyres
78d8a80bc9 - Some shells require the egrep clause to be in ''
- Fix missing "test"

This commit was SVN r5043.
2005-03-27 11:23:08 +00:00
Brian Barrett
a5ae33acea * disable threads by default (temporarily)
* fix dumb commit issue in gm

This commit was SVN r5042.
2005-03-26 20:27:17 +00:00
Brian Barrett
ed7f80dddf * fix dumb typo
This commit was SVN r5041.
2005-03-26 20:07:31 +00:00
Brian Barrett
372434f9dc * Merge in all changes from the mpi-devel branch
This commit was SVN r5040.
2005-03-26 18:49:16 +00:00
Jeff Squyres
65017ac13c Add some printf's just so that one can see what is going on with the
test.  :-)

This commit was SVN r5039.
2005-03-26 13:09:21 +00:00
Jeff Squyres
90e9b6ca14 - Name all the parameters in the fortran attribute callbacks to be
less confusing (when you have 5-6 parameters, it's easy to mis-count
  and have the wrong type if you don't have the associated names).
- Use proper types for the fortran callbacks
- Simplify the predefined Fortran attribute callbacks; do the work
  right there rather than calling the predefined C attribute callbacks
  (which would simply require further FINT_2_INT / INT_2_FINT
  translation anyway)

This commit was SVN r5038.
2005-03-26 04:03:54 +00:00
Jeff Squyres
99628f4535 - Ensure to call fortran functions with properly-converted parameters
- Ensure to return properly if we error in the fortran callbacks
- Don't bump the refcount of attributes an extra 1 when we create
  them; this just ensures that we never really delete them (oops)

This commit was SVN r5037.
2005-03-26 04:01:43 +00:00
Jeff Squyres
de193b614b Ensure to convert MPI_SUCCESS to an MPI_Fint (probably overkill, but
technically it's more correct).

This commit was SVN r5036.
2005-03-26 03:55:15 +00:00
Jeff Squyres
86cce20f99 Fix parameter names in some default functions. I know that
technically speaking, this is a cosmetic change, but having the wrong
parameter names was extremely confusing -- it took me a while (and I
had to cross-reference MPI-1) to figure out that they were wrong, and
I was thinking about the functions incorrectly as a result.

This commit was SVN r5035.
2005-03-26 03:52:56 +00:00
Jeff Squyres
6b055a767d Fix parameter names in some default functions. I know that
technically speaking, this is a cosmetic change, but having the wrong
parameter names was extremely confusing -- it took me a while (and I
had to cross-reference MPI-1) to figure out that they were wrong, and
I was thinking about the functions incorrectly as a result.  Our mpi.h
should have the Right names in order to not confuse users (and
developers!).

This commit was SVN r5034.
2005-03-26 03:51:55 +00:00
Jeff Squyres
69dd16fd0d Remove this for the moment
This commit was SVN r5033.
2005-03-26 02:12:19 +00:00
Jeff Squyres
17ec412c57 Add another flag to the communicator: PML_ADDED. This flag is only
set after we call mca_pml.pml_comm_add().  This allows us, in the
destructor, to only call mca_pml.pml_comm_del() if the corresponding
pml_comm_add() was called.  In this way, if an error occurs during the
construction of a communicator (e.g., attributes failing to copy, as
in the Intel test MPI_Keyval3_c), we simply propagate the error up the
stack so that an MPI exception can be generated -- not cause a failed
assert() in teg's pml_del_comm().

This commit was SVN r5032.
2005-03-26 01:49:14 +00:00
Jeff Squyres
485adebcd5 Ensure that we invoke fortran ops with a function prototype that uses
MPI_Fint's, and that we convert the C int's to MPI_Fint's before
invocation.

This commit was SVN r5031.
2005-03-25 20:43:19 +00:00
Jeff Squyres
4ccd171f8a Fix a comment
This commit was SVN r5030.
2005-03-25 20:42:17 +00:00
Jeff Squyres
df8c736993 Ensure that we invoke fortran errorhandlers with a function prototype
that uses MPI_Fint's, and that we convert the C int's to MPI_Fint's
before invocation.

This commit was SVN r5029.
2005-03-25 20:25:28 +00:00
Jeff Squyres
b5082f09c2 Oops -- meant to remove that "if" block yesterday.
This commit was SVN r5026.
2005-03-25 18:40:37 +00:00
Jeff Squyres
b8f88e8c1c Fix some bugs in the version number scheme, and make the proces a bit
more obvious (and documented)
- VERSION now has lots of comments in it
- separate out whether we want the SVN r number in the version and
  what the SVN r number is
- clearly describe the process for building the full version number
  string 
- make ompi info have a separate line item specifically for the SVN r
  number, regardless of what the version number is
- update "make dist" process to substitute in the SVN r version

This commit was SVN r5022.
2005-03-25 03:19:46 +00:00
Jeff Squyres
c57377a965 - reduce kruft in finding out which thread level to use (still need to
check initial values against Brian's new stuff)
- remove some additional kruft

This commit was SVN r5021.
2005-03-25 03:06:06 +00:00
Jeff Squyres
c33fb9a5b0 Some changes to the ompi_obj_t back-end functionality (front-end
interface is unchanged):
- the first call to OBJ_CONSTRUCT and OBJ_NET on a given class is now
  thread safe 
- fix memory leaks for the vtable constructor / destructors;
  orte_finalize() makes a call to free all the memory allocated for
  that stuff.  After ompi_class_finalize(), any calls to OBJECT
  functionality will be met with a swift, painful SEGV death!

This commit was SVN r5017.
2005-03-24 22:13:05 +00:00
Jeff Squyres
428a38a29a Update logic for debug streams
This commit was SVN r5016.
2005-03-24 20:23:15 +00:00
Jeff Squyres
718dd96e6c Remove unused function
This commit was SVN r5015.
2005-03-24 20:22:01 +00:00
Jeff Squyres
cdd2808d89 Only prototype function if we need it
This commit was SVN r5014.
2005-03-24 20:21:32 +00:00
Jeff Squyres
b24edd6054 Don't finalize before we're finished
This commit was SVN r5013.
2005-03-24 20:17:06 +00:00
Tim Woodall
805095986c - mods to support daemon command line parameters
- check return value correctly when posting non-blocking recvs
- use any values that have been set in the global structs as the
  defaults when registering mca parameters - this prevents any
  values that have been set in the structs from the command line
  parser from being overwritten

This commit was SVN r5011.
2005-03-24 15:45:44 +00:00
Jeff Squyres
1f6b5be155 Clarify the comments on what the scripts are used for.
This commit was SVN r5010.
2005-03-24 15:07:32 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Ralph Castain
d5ca02ae6e Add columns for responsible person and for stress test.
This commit was SVN r5006.
2005-03-23 23:10:39 +00:00
Jeff Squyres
6432cbfe72 Fix two minor memory bugs
This commit was SVN r5005.
2005-03-23 22:42:51 +00:00
Jeff Squyres
eb18a870c4 Update svn:ignore
This commit was SVN r5004.
2005-03-23 22:22:10 +00:00
Jeff Squyres
caad8c0463 Update svn:ignore
This commit was SVN r5003.
2005-03-23 22:20:02 +00:00
Jeff Squyres
7b35b47288 Only check for subscriptions if there are any to check.
This commit was SVN r5002.
2005-03-23 20:32:49 +00:00
Jeff Squyres
ee6b23f2fb - removed unused variables
- fixed incorrect allocation of slot information (can't take the size
  of the fifo until after it has been created!)

This commit was SVN r5001.
2005-03-23 18:46:29 +00:00
Jeff Squyres
997dac244e Make sure we free the right things
This commit was SVN r5000.
2005-03-23 18:45:26 +00:00
Ralph Castain
e2597395e8 Enable the compound command capability to reduce message loads during startup.
Add two files (one .xls and one .pdf) that track the status of unit test development. Comments/revisions welcomed.

This commit was SVN r4999.
2005-03-23 17:50:12 +00:00
Ralph Castain
f88ec60379 Check to see if slots_max is zero before limiting it (per Tim) to support oversubscription.
This commit was SVN r4998.
2005-03-23 17:43:24 +00:00
Jeff Squyres
864012cef7 Ensure to check the right thing when freeing cb's
This commit was SVN r4997.
2005-03-23 17:42:27 +00:00
Jeff Squyres
b27ea0c413 - fix some signed/unsigned comparisons
- print out that the test is *supposed* to generate a warning

This commit was SVN r4996.
2005-03-23 13:37:46 +00:00
Jeff Squyres
08328e3d79 Add missing #include
This commit was SVN r4995.
2005-03-23 13:04:20 +00:00
Ralph Castain
bb33402058 Complete the name service unit tests.
This commit was SVN r4994.
2005-03-22 20:48:55 +00:00