1
1

3907 Коммитов

Автор SHA1 Сообщение Дата
Brian Barrett
7a7c598391 * properly quote error message
This commit was SVN r4432.
2005-02-14 22:04:18 +00:00
Brian Barrett
0ad4523212 * Rather than having two .c files, one for inlining one for not, do some
magic via the command line and symlinks

This commit was SVN r4431.
2005-02-14 21:36:59 +00:00
Prabhanjan Kambadur
c66bd5a3a1 Defining OMPI_ATOMIC_ things to the right values. Before, they were simply defined (but not defined to a value). Now they are defined to 1 (correctly). This makes the new atomic scheme work on windows
This commit was SVN r4430.
2005-02-14 18:30:54 +00:00
Brian Barrett
4265304230 * Clean up some minor build system ick in the atomic operations
* Make sure the update.sh scripts all use OMPI_WANT_SMP_LOCKS
* Add sparc (32bit) assembly
  - Memory barriers
  - spinlocks
  - emulate add/sub using the spinlock table with hashed lookups, as
    suggested by the linux kernel folk (better than the other option,
    requiring the counters only use 24 bits)

This commit was SVN r4429.
2005-02-14 18:04:23 +00:00
Jeff Squyres
2706190b39 Bring over a small chunk of code improvement in ompi_info from the tim branch
This commit was SVN r4427.
2005-02-14 16:58:42 +00:00
George Bosilca
9a41c1a4df Some indentation plus one major change. The sequence number should not be increased when we match a
probe. For the iprobe normally we dont have to test, as the iprobe and this function are mutually exclusive protected by the same lock.

Now all intel *probe tests passe. The bug 1109 is closed :)

This commit was SVN r4426.
2005-02-14 08:54:22 +00:00
George Bosilca
0c21202e48 Two major changes:
- DO NOT call matched when we match a probe/iprobe as it's not the real request. This function should be
called only when we match the request that will get the data from the fragment(s).
- DO NOT remove the fragment when we match a probe/iprobe request. The data should be available for the
real receive ...

The others modifs are just for speedup and indentation.

This commit was SVN r4425.
2005-02-14 08:37:54 +00:00
George Bosilca
6037d279a9 For the probe, do not believe the information stored in the fragment. Instead use the one from the
provided header. This header is supposed to be a MATCH header, so it should have the correct
informations.

This commit was SVN r4424.
2005-02-14 08:33:10 +00:00
George Bosilca
7fdcca0b00 Set the flag to zero if no match was realized. And progress the engine on the iprobe.
This commit was SVN r4423.
2005-02-14 08:30:47 +00:00
George Bosilca
f431592887 small typo ... without warning from the compiler !!!
This commit was SVN r4422.
2005-02-14 08:28:49 +00:00
George Bosilca
1c2f0876a2 Do not desctruct the request object (as it's a static object). But we still have to call the
MCA_PML_BASE_RECV_REQUEST_RETURN (as we call the MCA_PML_BASE_RECV_REQUEST_INIT) in order to decrease
the ref count of the communicator and datatype.

This commit was SVN r4421.
2005-02-14 03:16:06 +00:00
Brian Barrett
260e3e0381 * Make sure we are enabling locks correctly on PPC
This commit was SVN r4420.
2005-02-13 22:42:34 +00:00
Brian Barrett
f2480b3c91 * Change space-indented llm to tab-indented like it was before the tim
branch was created so that there isn't a conflict there when merging
  back into the trunk

This commit was SVN r4419.
2005-02-13 21:11:52 +00:00
Jeff Squyres
93e702a3c8 Add new MCA param API functions:
- mca_base_param_set_int() -- set the value of an MCA int param from
  the API
- mca_base_param_set_string() -- set the value of an MCA string param
  from the API
- mca_base_param_unsed() -- unset a previously set MCA param (string
  or int)
- mca_base_param_dump() -- obtain a listing of all currently
  registered MCA params
- mca_base_param_dump_release() -- release the list of all registered
  MCA params that was obtained from mca_base_param_dump()

See Doxygen docs in src/mca/base/mca_base_param.h for details of these
functions.

This commit was SVN r4415.
2005-02-12 16:23:39 +00:00
George Bosilca
2b13a95162 Punishement time !!! I want to know which one of my finger did that, and I want to find out now !!!
This commit was SVN r4413.
2005-02-12 00:14:25 +00:00
George Bosilca
98b3feb5cd Protect a label used only in threaded case. No more warnings from the compiler.
This commit was SVN r4407.
2005-02-11 20:32:50 +00:00
George Bosilca
874f497b8a Unified reference count framework. For each request (send and receive) we have to manage the ref count
on communicators and datatypes. Now the management is done on the PML base and the others PML's just
have to use the corresponding macros from the base.

This commit was SVN r4406.
2005-02-11 20:32:10 +00:00
Jeff Squyres
db0891ff18 Brought over from the tim branch:
- Make the DEPENDENCIES a little clearner, and clear up a problem on at
  least one platform
- Remove old/unnecessary mpirun2 rules

This commit was SVN r4397.
2005-02-11 11:54:53 +00:00
George Bosilca
20d789feb1 Dont do any param check in this function as we call another MPI function and the checking will be done there.
This commit was SVN r4395.
2005-02-11 06:34:17 +00:00
George Bosilca
f24afe3bf8 Correctly (I hope) compute the contiguous flag. There is still a big question about the overlap flag:
should I compute it here with les precision or should be done in the commit phase. Anyway correctly
detecting the overlap is a difficult problem.

This commit was SVN r4394.
2005-02-11 06:32:38 +00:00
George Bosilca
194f764ad2 Always update max_data before returning from the pack functions.
And the condition to completly fill a buffer is <= not < !!!

This commit was SVN r4393.
2005-02-11 06:28:52 +00:00
George Bosilca
903e1afa3d Update the dump function to use the ompi_output facility.
This commit was SVN r4392.
2005-02-11 06:27:35 +00:00
Prabhanjan Kambadur
d82b1556bd Adding the OMPI_WINDOWS thingy to windows' hardcoded arch file
This commit was SVN r4380.
2005-02-10 20:53:20 +00:00
Prabhanjan Kambadur
9da9283d4e Adding protection for windows
This commit was SVN r4378.
2005-02-10 19:28:44 +00:00
Prabhanjan Kambadur
2439244f0c These are some changes which will enable dynamic builds to go through on Windows. Most of the changes are in adding/deleting windows symbol exporting things.
This commit was SVN r4377.
2005-02-10 19:08:35 +00:00
Jeff Squyres
1676187b3e Add a new classification to MCA parameters: "internal" MCA
parameters.  These are intended to be used by the system itself for
passing information around, and are not generally intended for the
user to see or modify.  Hence, we flag them as "internal" which causes
them not to show up in the ompi_info output (by default).  This
"security through obscurity" is good enough -- it's really only
intended to keep casual observers away.  The MCA parameters are still
there and are still settable (if a developer wants to set them).

To mark an MCA parameter as internal, simply call
mca_param_set_internal() with its index.  I debated about adding a
flag to mca_param_register_[int|string](), but then would have
involved changing a *lot* of code throughout the base -- and internal
MCA parameters is certainly not the common case.

Note that you can provide the new ompi_info flag --internal in
conjunction with the --param flag to force it to also show all the
internal MCA params.

This commit was SVN r4373.
2005-02-10 04:37:13 +00:00
Jeff Squyres
dd30902bde Fix a few minor bugs in the coll selection logic -- at least one of
which Torsten ran across last week and I was just now able to
duplicate:
- priority == 0 is still a valid priority
- ensure to not compare against an empty list; if the list is empty,
  just put the selectable item on it without any comparisons
- had wrong argument for ompi_list_get_next() (yay macros with no type
  checking :-( ) that caused badness in some cases

This commit was SVN r4372.
2005-02-10 04:15:16 +00:00
Jeff Squyres
3532271877 Ensure that in static builds, we only include the common sm object
files once.  Turns out that linkers *aren't* smart enough to just
"figure it out" and ensure that we only get one copy (or perhaps it's
libtool who's trying to be too smart...?).

This commit was SVN r4371.
2005-02-10 03:38:18 +00:00
Jeff Squyres
d9060730fb Fix compiler warning in non-threaded case
This commit was SVN r4370.
2005-02-10 03:36:15 +00:00
Jeff Squyres
700806023d Fix accidental swap of REPLACE and MINLOC operations
This commit was SVN r4369.
2005-02-10 03:35:36 +00:00
Brian Barrett
55b3fa9c92 * Don't include ompi_config.h, mpif.h, and atomic-asm.s in the tarball. All
are generated at configure time, so there is no need to have them in the
  tarball (and doing so can cause some really evil VPATH issues).  The .in
  files needed to make ompi_config.h and mpif.h are included in the tarball.

This commit was SVN r4367.
2005-02-10 02:19:00 +00:00
Brian Barrett
b4490a77c0 * fix dumb typo for disabling inline assembly
This commit was SVN r4366.
2005-02-10 01:16:28 +00:00
Brian Barrett
76054e0b31 * add a label to the assembly being tested for GCC inline assembly so that
the test barfs on AIX, since it has some strange non-mangling of the
  labels in the inline assembly that all the other platforms seem to be
  ok making right.  *sigh*

This commit was SVN r4365.
2005-02-10 00:38:44 +00:00
Brian Barrett
e51bb59b54 * Updates to make non-inline assembly behave properly on AIX.
This commit was SVN r4364.
2005-02-10 00:06:54 +00:00
George Bosilca
123e15857f If we are unable to reach a node through TCP it does not means we have to stop. We should continue or the others node, maybe this one can
be contacted using others devices.

This commit was SVN r4363.
2005-02-10 00:04:52 +00:00
George Bosilca
b88e28e72c If we are unable to find a path betwen us and the remote PTL return OMPI_UNREACH instead of OMPI_SUCCESS.
Update the count on the addr struct usage if and only if we match something (otherwise the field is set to null and we segfault).

This commit was SVN r4362.
2005-02-10 00:03:37 +00:00
George Bosilca
53fd2c8fa3 Swapt the long_ing and 2int order to match the order in the enum in op.h.
This commit was SVN r4361.
2005-02-10 00:01:42 +00:00
Prabhanjan Kambadur
7b4a9720fb OMPI_DECLSPEC's are not required here. OMPI_DECLSPEC's are used only in the main library. If anything has to be exported from the components, it should only be the main component structure, in which case, one can use OMPI_COMP_EXPORT
This commit was SVN r4360.
2005-02-09 21:26:42 +00:00
Prabhanjan Kambadur
fa9d5b1f20 making changes to the win_makefile in multiple directoires to build dynamic components
This commit was SVN r4359.
2005-02-09 21:21:00 +00:00
Craig E Rasmussen
cc2ff9dba1 Added mpi.i.h to svn:ignore property
This commit was SVN r4353.
2005-02-09 18:10:44 +00:00
Jeff Squyres
ae36245a3f While doing work on the pls in the tim branch, did a code review of
this code (because it's used there):
- moved docs to path.h
- consolidated and removed some useless access functions
- brought up to current code standards
- updated wrapper compilers to use the new API

This commit was SVN r4346.
2005-02-09 17:13:54 +00:00
Craig E Rasmussen
b6c2a5b602 Added mpi.i.h[.sh]
This commit was SVN r4345.
2005-02-09 16:30:36 +00:00
Edgar Gabriel
e8aadc913d stupid typo
This commit was SVN r4344.
2005-02-09 16:27:27 +00:00
Edgar Gabriel
abe624633f remove a warning with the intel-compiler
This commit was SVN r4343.
2005-02-09 16:25:38 +00:00
Brian Barrett
e776283117 * fix some dumb compiler warnings
This commit was SVN r4342.
2005-02-09 15:52:57 +00:00
Edgar Gabriel
9d0e426082 fix for bug 1132: we are now able to verify whether the local and the remote group in intercomm_create are overlapping.
This commit was SVN r4341.
2005-02-09 15:43:17 +00:00
Jeff Squyres
f7918064ff Always flush to get a slightly better guarantee of getting the error
message out.  Use stderr, and put a "yes, we're done with the error
message" marker at the end of the error message so that you know if
you saw it all or the message was truncated.

This commit was SVN r4333.
2005-02-09 03:08:13 +00:00
Brian Barrett
a8099eaa07 * Merge in changes from bwb-romio/copy-2 branch. This slightly changes
the way progress is done in the non-threaded case, adds a progress
  thread for the threaded progress case (which should be made to use
  George's progress engine when it is ready), and fixes some bugs with
  request handling, especially with freeing requests (IO requests, that
  is).

This commit was SVN r4332.
2005-02-09 02:09:07 +00:00
George Bosilca
46713d23df Remove a compilation warning.
This commit was SVN r4329.
2005-02-08 19:43:27 +00:00
George Bosilca
d9855e8519 Correctly detect the overlap (at least do not detect it when it not the case).
This commit was SVN r4328.
2005-02-08 19:33:05 +00:00