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

4510 Коммитов

Автор SHA1 Сообщение Дата
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
Brian Barrett
591b8eebda * Default to only progressing the event library every 100 calls to
ompi_progress, unless someone is actually using it (MPI-2 dynamic,
  TCP PTL).  This is only for end of MPI_Init to start of MPI_Finalize. 
  All other times, the event library will be progressed every call
  into ompi_progress().

This commit was SVN r5479.
2005-04-21 14:58:25 +00:00
Prabhanjan Kambadur
ea0e1de399 Adding a dumb but essential check to see if any file was touched
This commit was SVN r5478.
2005-04-21 05:18:12 +00:00
Prabhanjan Kambadur
ed60597034 Making a minor change which goes a long way. This was a typo :)
This commit was SVN r5477.
2005-04-21 05:15:56 +00:00
Tim Woodall
ee52046876 make sure setup is complete before waiting on child
This commit was SVN r5476.
2005-04-20 15:59:22 +00:00
Tim Woodall
d885155bae comments
This commit was SVN r5475.
2005-04-20 15:57:06 +00:00
Tim Woodall
3a5b6b654e - dont register for sigchild callbacks until setup is complete
- flush io output on sigchild

This commit was SVN r5474.
2005-04-20 15:44:57 +00:00
Tim Woodall
99ca522d39 debug option to not execute ompid - just print out command line - to enable
debug of the deamon

This commit was SVN r5473.
2005-04-20 15:43:55 +00:00
Tim Woodall
cf7a1c7631 resolve a couple of locking/progress issues
This commit was SVN r5472.
2005-04-20 15:43:00 +00:00
Tim Woodall
7713012d92 change file name so that it's not removed on cleanup
This commit was SVN r5471.
2005-04-20 15:42:20 +00:00
Tim Woodall
cc6eae3eb9 resolve locking issue
This commit was SVN r5470.
2005-04-20 15:41:59 +00:00
Tim Woodall
445d20ccab remove unlock - this is done externally
This commit was SVN r5469.
2005-04-20 14:19:14 +00:00