George Bosilca
a64a80dff4
If the user type has a size of zero let's return zero. We will have a consistent behavior
...
with MPICH.
This commit was SVN r10230.
2006-06-06 19:51:42 +00:00
George Bosilca
6258c49a4a
Recomputer the contiguous flags in a better way.
...
This commit was SVN r10229.
2006-06-06 19:40:21 +00:00
George Bosilca
370bf0481d
A more restrictive test for detecting if a datatype is contiguous. Do not allow
...
anything that have a negative displacement.
This commit was SVN r10228.
2006-06-06 18:24:58 +00:00
George Bosilca
c32a611297
Minor cleanups and add the same consistent behavior as the one described on the
...
commit 10225.
This commit was SVN r10227.
2006-06-06 18:24:09 +00:00
George Bosilca
7968bfedae
Small optimization.
...
This commit was SVN r10226.
2006-06-06 18:23:06 +00:00
George Bosilca
11bf138820
Have a consistent behavior. Independing on the MPI type that will get created if the
...
user specify a count equal to zero it will get back a datatype with the size, lb, ub,
true_lb and true_ub set to zero (very similar to the MPI_DATATYPE_NULL except it can
be used for communications).
This commit was SVN r10225.
2006-06-06 18:22:36 +00:00
George Bosilca
7d7e801f15
External pack/unpack fixes.
...
This commit was SVN r10223.
2006-06-06 03:26:32 +00:00
Galen Shipman
90799f82cd
copy paste error..
...
This commit was SVN r10220.
2006-06-06 02:38:29 +00:00
Galen Shipman
cc54b07aa0
add better error messages for vapi retry exceeded errors.
...
This commit was SVN r10219.
2006-06-06 02:04:56 +00:00
George Bosilca
edc2fa9141
Allow zero count contiguous data-types. And be user friendly, set the ub, lb, true_lb
...
and true_ub to zero.
This commit was SVN r10212.
2006-06-05 21:57:28 +00:00
Galen Shipman
9e6e7575b9
doh... add the file..
...
This commit was SVN r10210.
2006-06-05 21:24:42 +00:00
Galen Shipman
f05dee0435
add help file to explain why things went south..
...
This commit was SVN r10209.
2006-06-05 21:23:45 +00:00
George Bosilca
07fb4b8012
Allow a block indexed type with a count of zero. Be user friendly and set the ub, lb,
...
true_lb as well as the true_ub to zero in this case.
This commit was SVN r10208.
2006-06-05 21:16:57 +00:00
George Bosilca
5c2d2fc02a
Match size is supposed to return Fortran types.
...
This commit was SVN r10206.
2006-06-05 21:07:48 +00:00
George Bosilca
e50cdeb927
Allow the creation of strcutres with count zero. And try to have a more friendly behavior
...
(even if I don't agree with it) by setting the lb, ub, true_lb and true_ub to zero.
This commit was SVN r10205.
2006-06-05 21:07:16 +00:00
George Bosilca
d7fa11d576
Correctly mark the Fortran data-types as being Fortran (not C and change it later
...
to Fortran). Add a new global variable, which keep track of all MPI predefined types.
This variable include all optional types, and is depend on the system where OMPI is
compiled. Use this variable to correctly find out the size match type.
This commit was SVN r10204.
2006-06-05 20:44:17 +00:00
George Bosilca
3e0104f414
Some cleanups and a bug correction. The UB and LB has to stay as the used define them.
...
Therefore we do not have to reorder them to keep the LB smaller than UB. Just do what
the user want.
This commit was SVN r10202.
2006-06-05 20:39:10 +00:00
George Bosilca
5ac12c52a0
Correctly compute the size of the new datatype description. Before, the size was always
...
larger than required, now we are a lot more conservative.
This commit was SVN r10201.
2006-06-05 20:37:39 +00:00
Galen Shipman
74c97fb784
cleanup error reporting.. use ompi_proc_t->proc_name if available this gives
...
us source/dest hostnames for communication errors..
This goes to 1.1 branch (reviewed by Brian)..
This commit was SVN r10200.
2006-06-05 20:02:41 +00:00
George Bosilca
b682ecdff4
Cleanups. Re-order the match size function and remove the now useless internal version.
...
This commit was SVN r10198.
2006-06-05 18:39:34 +00:00
Brian Barrett
c70fff6ed0
* Fix for bug #44 for the trunk -- remove a bunch of warnings from the DR
...
PML when compiling on Solaris. Patch won't apply cleanly to the v1.1
branch, so a diff for that is coming up soon.
This commit was SVN r10173.
2006-06-01 18:58:38 +00:00
Galen Shipman
83ff3201b5
don't use rank or nprocs in error messages when we don't have them..
...
This should hit 1.1 and 1.0 branches..
Reviewed by Brian
This commit was SVN r10164.
2006-06-01 14:24:11 +00:00
Galen Shipman
0344ae4ac5
Fix to allow eager limit and max send size to be any size (within resource limitations). Instead of storing the ompi_free_list_t * in the fragment, we use the frag type enum, this tells us where the frag came from and where it should return.. This could also be done in mvapi but is not a high priority moving forward..
...
Review by Brian, needs to hit the trunk + 1.1 release..
This commit was SVN r10157.
2006-06-01 02:32:18 +00:00
Brian Barrett
5163f2b296
Fix for bug #36 . The MX, MVAPI, and OpenIB components don't have
...
support for progress threads, so we shouldn't build them or try to use
them when support for progress threads has been requested. The TCP, GM,
SELF, and SM BTLs should have progress thread support, so they aren't
disabled. The Portals BTL isn't compiled on platforms with threads,
so it doens't need to be updated.
This commit was SVN r10156.
2006-06-01 01:30:16 +00:00
Craig E Rasmussen
8a22272ffb
Changed to use procedure alias (when names too long).
...
This commit was SVN r10145.
2006-05-31 15:06:44 +00:00
Craig E Rasmussen
4cd13f07c4
Changed to use procedure alias (when names too long).
...
This commit was SVN r10144.
2006-05-31 15:04:38 +00:00
Galen Shipman
c79efc9efb
track which list a fragment came from, allows returning based on list, not
...
on size.
This commit was SVN r10142.
2006-05-31 14:24:32 +00:00
Jeff Squyres
3e86381533
Add thread protection -- must only construct the alock when we have
...
threading support.
This commit was SVN r10138.
2006-05-31 13:48:21 +00:00
Gleb Natapov
d2c7bcfbe1
init alock mutex before use.
...
This commit was SVN r10135.
2006-05-31 06:37:39 +00:00
Brian Barrett
4904e34a52
set datarootdir, necessary for Autoconf-2.60 which will define some variables
...
based upon this value (e.g., datadir, docdir).
Submitted by: Ralf Wildenhues
Reviewed by: Brian Barrett
This commit was SVN r10133.
2006-05-31 03:43:55 +00:00
Brian Barrett
6026fc98f6
* Fix M4 quoting so that AC 2.60 won't complain
...
Submitted by: Ralf Wildenhues
Reviewed by: Brian Barrett
This commit was SVN r10129.
2006-05-31 03:39:18 +00:00
Brian Barrett
c723d196c5
Rather than using fragment size to determine fragment type, use an enum.
...
Do this rather than the my_list pointer because we need to do some
things that are somewhat special because we pre-pin eager fragments but
not send fragments. Also makes a couple ideas I have slightly easier to
play around with.
This commit was SVN r10127.
2006-05-31 03:34:32 +00:00
George Bosilca
abc580b2d5
Sven patch to check the optimized description before freeing it. For predefined
...
datatypes the optimized description point to the default description, so special
care should be taken before freeing it.
This commit was SVN r10119.
2006-05-30 16:36:06 +00:00
Jeff Squyres
5f356edb64
Bring over changes from the /tmp/fortran-stuff series:
...
- Make the F90 bindings compile and link properly with gfortran 4.0,
4.1, Intel 9.0, PGI 6.1, Sun (don't know version offhand -- the most
current as of this writing, I think), and NAG 5.2, although some
have limitations (e.g., NAG can't seem to handle the medium and
large sizes)
- Building the F90 "small" module size is now the default, even for
developers
- Split up mpif.h into multiple files because parts of it were toxic
to the F90 bindings
- Properly specify unsized/unshaped arrays to make the bindings work
on all known compilers
- Make ompi_info show Fortran 90 bindings size
- XML somewhat lags the generated scripts as of this commit, but
functionality was my main goal -- the XML can be updated later (if
at all).
This commit was SVN r10118.
2006-05-30 14:37:41 +00:00
George Bosilca
aa1c1e70c6
Fix the datatype bug noticed by Rainer. Under some circumstances (and only for
...
predefined datatypes) the optimized description was set to NULL instead of
pointing to some valid description. As for some data, having an optimized
version is not possible (as no optimizations bring any benefit), we have
to make sure this field (opt_desc) is always correctly initialized.
This commit was SVN r10112.
2006-05-27 06:21:27 +00:00
Galen Shipman
2667c52a5d
Track fragments by list, not by size..
...
-- reviewed by Brian, needs to hit all the branches..
This commit was SVN r10078.
2006-05-25 18:07:26 +00:00
Galen Shipman
38a0561d9b
Allow maximum send size to be less than the eager limit.
...
Instead of figuring out which free list the fragment belongs to based on size
we simply store a pointer to the list which it belongs in the fragment.
This was reviewed by Brian and should hit all the branches.
This commit was SVN r10072.
2006-05-25 16:57:14 +00:00
Andrew Friedley
fa9ec2afdf
Add my sandia username for convenience
...
This commit was SVN r10071.
2006-05-25 15:49:11 +00:00
Andrew Friedley
8a3d0862ca
I can commit! *happy dance*
...
Trying to remember what I did here.. eager/max messages should work now, no RDMA yet. A number of other fixes and cleanups.
I do know of two problems:
Bad stuff happens when flooded with send frags too quickly - the BTL doesn't handle flow control.
Certain IBM tests turn up a length assertion in the datatype engine - needs more investigation.
This commit was SVN r10070.
2006-05-25 15:47:59 +00:00
Gleb Natapov
f590d8a190
fix eager RDMA on PPC64.
...
This commit was SVN r10059.
2006-05-25 11:05:12 +00:00
Jeff Squyres
dd44d36be0
Fix for ticket #25 . Ensure that in the threaded case where we have
...
This commit was SVN r10043.
2006-05-24 16:15:07 +00:00
George Bosilca
1c55956db1
Extend Sven patch for pack/unpack.
...
This commit was SVN r10040.
2006-05-24 14:48:00 +00:00
Jeff Squyres
a553c3444a
This has bugged me for a long time: make the "want libltdl" output
...
like the rest of the output (i.e., "yes" / "no" vs. "1" / "0").
This commit was SVN r10039.
2006-05-24 10:56:47 +00:00
Jeff Squyres
3c265958ba
@#$%@#%#%
...
Fix one more typo that was missed last night.
This commit was SVN r10038.
2006-05-24 10:30:08 +00:00
Jeff Squyres
8c0ebb4897
Drat -- forgot the copyright.
...
This commit was SVN r10025.
2006-05-23 18:42:11 +00:00
Jeff Squyres
dc9a16581e
Unbelieveable how this lived so long. Thanks to Bert Wesarg for
...
reporting this.
This commit was SVN r10023.
2006-05-23 18:00:44 +00:00
George Bosilca
e832aac7b1
This is always on the critical path so let's make it static inline.
...
This commit was SVN r10020.
2006-05-23 03:22:15 +00:00
George Bosilca
95d0395578
I'm skeptical about the ability of the compiler to correctly optimize the
...
loop local variables.
This commit was SVN r10019.
2006-05-23 03:21:15 +00:00
George Bosilca
085cac552f
Don't let TCP to create local connections, we have the self BTL for this purpose.
...
This commit was SVN r10018.
2006-05-23 03:06:32 +00:00
George Bosilca
837221831a
Temporary solution for in-bound computation of the next BTL.
...
This commit was SVN r10016.
2006-05-22 23:28:40 +00:00