1
1

17 Коммитов

Автор SHA1 Сообщение Дата
Ralph Castain
659d57f300 Several things in this commit - shouldn't impact any existing work:
1. Added pid_t to the dps

2. Processes now "register" their local pid and update their location (i.e., nodename) on the registry during mpi_init

3. Added a new error code for values that exceed maximum for their data type (useful when transitioning a value from one variable to another of different size)

4. Fixed a few places where size_t was being incorrectly handled

5. Updated dps_test to cover pid_t types

This should now provide support for TotalView connection - which David is pursuing.

This commit was SVN r5623.
2005-05-06 17:00:06 +00:00
George Bosilca
d60565e043 Handle the alignement problems. The same error as in the email from Ferris McCormick showed up
on all 64 bits architectures. The problem was the for unpack the source pointer was cast to a
specific type (uint32_t for 32 bits data) and then hton* was applied. The result was ... unexpected.

This patch always memcpy the data in a temporary variable with the correct size before calling
ntoh* functions, so we can insure that the data is always correctly aligned.

Moreover I add a debuging layer. OMPI_OUTPUT is used to print out the data being packed and
unpacked. It generate a lot of output but hopefully allow us to spot few bugs. This layer is not
completed the output stream descriptor is set to -1 (no output).

This commit was SVN r5617.
2005-05-05 23:59:59 +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
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
Josh Hursey
ea4cf9b65c Added the dps directory to the Windows build setup. Fixed a couple of include problems.
This commit was SVN r5252.
2005-04-11 05:00:26 +00:00
George Bosilca
f60f23898d Remove some unused variables.
This commit was SVN r5177.
2005-04-05 04:11:08 +00:00
Jeff Squyres
447201de15 Bunches of cleanup in dps:
- remove all tabs from source code (replace with spaces)
- use size of size_t and int to determine some equivalent ORTE types
  in a header file so that it's always done consistently (at compile
  time)
- be consistent about using size_t for number of elements that are
  packed
- don't assume that size_t is uint32_t (it is uint64_t on some
  platforms)
- simplify some logic
- implement packing/unpacking for INT64 and UINT64 (so that we can do
  size_t on platforms where it's 64 bits)

This commit was SVN r5172.
2005-04-05 02:32:36 +00:00
Graham Fagg
73a4044bff Forgot data unpacked in header (buffer might be misaligned?) + misc tidy up
This commit was SVN r5130.
2005-04-01 06:15:34 +00:00
Graham Fagg
c2420034aa Unpack alignment fix. Opposite of pack. Here we memcpy from the buffer to aligned memory before converting unless it is a char/byte/void pointer.
Final destination is always assumed to be aligned.

This commit was SVN r5129.
2005-04-01 06:00:24 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Jeff Squyres
08328e3d79 Add missing #include
This commit was SVN r4995.
2005-03-23 13:04:20 +00:00
Brian Barrett
aa70a35fea * Sync trunk to r4977 of the tim branch
This commit was SVN r4978.

The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
  r4977
2005-03-22 00:31:17 +00:00
Brian Barrett
6822a519bb * results from initial merge of the tim branch into the trunk. Compiles and
ompi_info works, but that's all that has been tested.

This commit was SVN r4827.
2005-03-14 20:57:21 +00:00