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

4421 Коммитов

Автор SHA1 Сообщение Дата
George Bosilca
b25a5a24be As far as I know there is no standard way to print out a size_t data. Most of the time a %ld should suffice
otherwise we have to cast everything back to int before printing it out. 

This commit was SVN r5556.
2005-05-01 08:25:38 +00:00
George Bosilca
bd75b69fa1 Remove an useless .h file. With this include basically all the files in ompi will get recompiled
when dps_internal.h get touched. Anyway the name say it should be internal to the dps system, so
there is no reason to have it included everywhere.

This commit was SVN r5555.
2005-05-01 08:24:24 +00:00
George Bosilca
6fd89c67b3 Most of the files here require the string.h include on x86 platforms. So I add
it on a common place dps_internal.h protected by all the standard stuff.

This commit was SVN r5554.
2005-05-01 03:50:23 +00:00
Jeff Squyres
bcd4797389 Commit 4 of 4 for bringing the changes over from the hetero branch.
Merged in from:

svn merge -r5506:5553 https://svn.open-mpi.org/svn/ompi/tmp/hetero .

This commit was SVN r5552.

The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
  r5506
  r5553
2005-05-01 00:58:06 +00:00
Jeff Squyres
6a0282b4a1 Commit 3 of 4 for bringing over the changes from the hetero branch.
Merged from:

svn merge -r5496:5506 https://svn.open-mpi.org/svn/ompi/tmp/hetero .

This commit was SVN r5551.

The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
  r5496
  r5506
2005-05-01 00:54:12 +00:00
Jeff Squyres
aa70022dc2 Commit 2 of 4 for bringing the changes over from the hetero branch.
Merged in from:

svn merge -r5448:5496 https://svn.open-mpi.org/svn/ompi/tmp/hetero .

This commit was SVN r5550.

The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
  r5448
  r5496
2005-05-01 00:53:00 +00:00
Jeff Squyres
462adee81a Commit 1 of 4 to bring in the hetero branch to the trunk. Merged in
from:

svn merge -r5440:5448 https://svn.open-mpi.org/svn/ompi/tmp/hetero .

This commit was SVN r5549.

The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
  r5440
  r5448
2005-05-01 00:47:35 +00:00
George Bosilca
261df8bbdf One more step toward the darray function ... This one it's just a checkpoint ...
This commit was SVN r5544.
2005-04-30 19:37:31 +00:00
George Bosilca
26492277cb Add the code for deadlock detection in the send case. However it's disable by now. Read the bug
http://bugs.osl.iu.edu/Ticket/Display.html?id=1334 for more informations.

This commit was SVN r5543.
2005-04-30 19:36:05 +00:00
Jeff Squyres
b0bd773ec5 Arrgh -- this was a debugging line that should never have been committed.
This commit was SVN r5535.
2005-04-29 21:41:14 +00:00
Jeff Squyres
2e83004126 Use an MCA param for teg's priority
This commit was SVN r5534.
2005-04-29 21:14:31 +00:00
Jeff Squyres
c13c802944 Temporary fix -- will be obviated by the size_t (et al.) fixes coming
soon.

Make ORTE_EXIT_CODE be the same as INT32, not INT8.  This allows the
full propogation of the value returned by waitpid() rather than just
the lowest 8 bites.  Also change the naming of it in orterun to be
exit_status, not exit_code (per POSIX standard naming convention).

orterun now returns the first nonzero exit status that it receives.

This commit was SVN r5530.
2005-04-29 00:36:07 +00:00
Jeff Squyres
ca35c1276c - Minor style fixes
- Return ORTE_SUCCESS, not ORTE_ERR_NOT_IMPLEMENTED

This commit was SVN r5529.
2005-04-29 00:33:40 +00:00
George Bosilca
c6ff7fdbe4 Add more fonctionality to the generic function for pack/unpack. Still some work to do here.
This commit was SVN r5528.
2005-04-28 22:03:16 +00:00
George Bosilca
a554597b72 On MAC the iovec iov_base is of type char*. So we have to explicitly cast in order to
dont get warnings.

This commit was SVN r5527.
2005-04-28 22:02:17 +00:00
George Bosilca
0874dacb9c Less warnings (cvhange some variables from unsigned to signed).
This commit was SVN r5526.
2005-04-28 22:01:05 +00:00
George Bosilca
e910a968ed On AIX the r2 is a protected register (stack/frame pointer). If we use it inside our
functions we destroy the frame pointer for the next call so very very weird things
happened. Like seg fault on i = 50 !!!
Both 32 and 64 bits versions have been modified but only the 32 version have been tested (by lack of ressources).

This commit was SVN r5525.

The following SVN revision numbers were found above:
  r2 --> open-mpi/ompi@58fdc18855
2005-04-28 21:57:31 +00:00
Rainer Keller
ebfee139e0 Small updates to build_tarball:
- allow bz2 uncompression
 - do not try to detect download-program, if file_arg

Allow VPATH-build in test of asm-check

This commit was SVN r5522.
2005-04-28 15:04:00 +00:00
Jeff Squyres
6944839774 Per suggestions from Graham and Abaqus, return the first nonzero exit
status that we get (which naturally returns 0 if all return 0).  This
should pick up nonzero returns from main() after MPI_FINALIZE, but the
gpr is still reporting 0 while testing.  So orterun looks cororect for
this behavior -- investigating what's happening on the ORTE side is a
different commit...

This commit was SVN r5521.
2005-04-28 13:18:52 +00:00
Jeff Squyres
d6f23a727d - Add missing MPI_INTEGER #define
- After consulting with George, only define the fortran types if the
  back end Fortran compiler actually supports them.  We always have
  the corresponding global C datatypes, but it seems nicer user
  behavior to have them fail at compile time rather than at run time
  if they try to use MPI_INTEGER8 and it doesn't exist (in which case
  ompi_mpi_integer8 will be a synonym for ompi_mpi_datatype_null)

This commit was SVN r5520.
2005-04-28 11:42:42 +00:00
Edgar Gabriel
64f95132c6 minor fix for setting the error codes
This commit was SVN r5519.
2005-04-28 08:36:10 +00:00
Tim Woodall
08ac0a95bc - shared memory current doesn't work across jobs
This commit was SVN r5518.
2005-04-27 20:16:01 +00:00
Tim Woodall
21809c342b correct check for buffered send
This commit was SVN r5516.
2005-04-27 19:46:03 +00:00
Brian Barrett
206b1bace1 * checkpoint - initialization now factored in reasonable way for both
utcp reference and Red Storm (I think)

This commit was SVN r5515.
2005-04-27 16:42:56 +00:00
Brian Barrett
ec4264a925 * fix a bunch of memory badness so that we can get through init :)
This commit was SVN r5513.
2005-04-27 15:03:55 +00:00
Jeff Squyres
73d284eb13 Change the name of the "OMPI_MPI" macro to "OPEN_MPI" which is less
redundant and less confusing.

This commit was SVN r5512.
2005-04-27 10:23:32 +00:00
Jeff Squyres
fe2522f315 A bunch of changes to support MPI_INTEGER*x, MPI_REAL*x,
MPI_COMPLEX*x, and some optional C datatypes in MPI reduction
operations.  These types are not technically supported by the letter
of the MPI standard, but are implied by the spirit of it (and there
are definitely users that use them in real applications)

- Add checks in configure for back-end C types for MPI_INTEGER*x and
  MPI_REAL*x
- Create C data structs for MPI_COMPLEX*x
- Fixed typo for MPI_INTEGER8 in mpi.h
- Updated configure macros to create MPI_FORTRAN_INTEGER* defines, as
  opposed to MPI_FORTRAN_INT, which was causing [me] lots of confusion
  (between C "*_INT" names and Fortran "*_INT" names).  This caused
  some trivial updates in ddt, ompi_info, and the MPI layer to match.
- Update ompi_info to show whether we have each MPI_INTEGER*x,
  MPI_REAL*x, and MPI_COMPLEX*x
- Extended reduction operations for optional datatypes:
  - "C integer" now includes long long int, long long, and unsigned
    long long
  - "Fortran integer" now includes MPI_INTEGER*x
  - "Floating point" now includes MPI_REAL*x
  - "Complex" now includes MPI_COMPLEX*x

This commit was SVN r5511.
2005-04-27 10:23:06 +00:00
Jeff Squyres
6e7e0c03ea Don't use non-portable "-n" option to test
This commit was SVN r5510.
2005-04-27 10:14:45 +00:00
George Bosilca
789a484a88 Allow the selection of th best module.
This commit was SVN r5507.
2005-04-26 18:26:17 +00:00
Jeff Squyres
e5d7a5161e Update svn:ignore
This commit was SVN r5505.
2005-04-26 17:42:07 +00:00
George Bosilca
6673a62225 It does not really make any difference but at least it will keep some compilers quiet.
This commit was SVN r5504.
2005-04-26 05:28:50 +00:00
George Bosilca
b57ab5fb26 The return of the asprintf is always an int. Not a big deal except when we have
to catch some errors.

This commit was SVN r5503.
2005-04-26 05:27:38 +00:00
George Bosilca
668bc9a2f9 This one is quite nice ...
This commit was SVN r5502.
2005-04-26 05:26:05 +00:00
Brian Barrett
8f73d829d4 * start portals development again. nothing interesting, just some code
cleanup

This commit was SVN r5501.
2005-04-25 20:53:15 +00:00
George Bosilca
24eef59f7b Checkpoint ... I have to move to another cluster.
This commit was SVN r5499.
2005-04-24 23:42:47 +00:00
George Bosilca
dbac158804 Look like a lot of changes but the logic is exactly the same. I mostly clean-up
the whole datatype code, make it a little bit more readable and add some
additional checks for correctness. In same time I move some internal structures
from the external .h include to the internal one.

The ddt_test.c get one more datatype to test. This one look like those used
in the BLACS test code.

This commit was SVN r5498.
2005-04-24 20:08:45 +00:00
Tim Woodall
3c6fb03e9c - dont create shared memory pool if it won't be used
This commit was SVN r5494.
2005-04-22 16:18:41 +00:00
George Bosilca
88ca070e88 2 less compilation warnings.
This commit was SVN r5492.
2005-04-22 05:04:52 +00:00
George Bosilca
362b3ab3fa One less uninitialized variable.
This commit was SVN r5491.
2005-04-22 04:54:00 +00:00
George Bosilca
54d58df8d5 Adapt to the new prototypes in the datatype.h
This commit was SVN r5490.
2005-04-22 04:53:29 +00:00
George Bosilca
3f89dc79e2 Protect the mutex declarations. They should be undeclared except if the threads are enabled.
Additionally it remove some compilation warnings.

This commit was SVN r5489.
2005-04-22 04:52:40 +00:00
George Bosilca
e3c2da5db6 Cleanup the code and add some more output.
Correct a bug where the displacement was incorrectly computed in some cases.

This commit was SVN r5488.
2005-04-22 04:51:15 +00:00
George Bosilca
d6b1d9805f Correct a unpack bug related to the size of the unpacked object.
This commit was SVN r5487.
2005-04-22 04:49:57 +00:00
George Bosilca
9b090e7e71 One more test (struct containing a char followed by a double).
Modification to match the new prototypes and remove all warnings.

This commit was SVN r5486.
2005-04-22 04:48:53 +00:00
George Bosilca
72502a5d17 Match the new prototypes.
Some cleanups.

This commit was SVN r5485.
2005-04-22 04:47:55 +00:00
George Bosilca
6f92675c56 Get rid of dt_desc_t and use exclusively ompi_datatype_t.
Correctly place the const on the functions prototypes and adapt all file to match the new prototypes.

This commit was SVN r5484.
2005-04-22 04:46:01 +00:00
George Bosilca
67c905e76d Add a dump function for the convertor.
This commit was SVN r5483.
2005-04-22 04:43:28 +00:00
Brian Barrett
de128a69fb Skip test when on old LinuxThreads machines and using progress threads
since you can't fork() in one thread and waitpid() on the child in another,
which is what this test expects you to do.  If Linux would just implement
the stupid POSIX standard already, this wouldn't be a problem.

This commit was SVN r5482.
2005-04-21 19:33:18 +00:00
Prabhanjan Kambadur
02314bda9c Making some small changes
This commit was SVN r5481.
2005-04-21 17:17:40 +00:00
Brian Barrett
1ac858dcc9 * add information on whether progress or mpi threads are in the build for
ompi_info

This commit was SVN r5480.
2005-04-21 15:28:03 +00:00