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

4490 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
a28b5ae43b Fix for a bunch of size_t issues; reviewed by George and Ralph.
- Change all uses of *printf'ing a size_t to use an explicit cast to
  (unsigned long) and the %lu escape
- change ORTE_GPR_REPLICA_MAX_SIZE to INT_MAX until bug 1345 is fixed
  (i.e., until we allow size_t in MCA params)
- ns_base_local_fns.c:orte_ns_base_get_proc_name_string(): changed
  from %0X -> %lu
- ORTE_NAME_ARGS added explicit (unsigned long) casts, and changed all
  usages of ORTE_NAME_ARGS to use %lu's

This commit was SVN r5644.
2005-05-08 13:22:55 +00:00
George Bosilca
1d87c3a87b Take in account the current index.
This commit was SVN r5643.
2005-05-08 05:52:00 +00:00
Thara Angskun
3f63c4db97 - nothing but checkpoint.
This commit was SVN r5642.
2005-05-08 03:06:36 +00:00
Thara Angskun
e951cbde90 Fixed poe priority bug.
This commit was SVN r5641.
2005-05-07 22:48:29 +00:00
Ralph Castain
84889eb9fd Missed one more memory cleanup...
This commit was SVN r5640.
2005-05-07 15:01:21 +00:00
Ralph Castain
fdbc12f412 Fix the missing segment name correctly.
As an FYI: the pack/unpack routines should be happy with a NULL string (and appear to be so). Issue here was that the constructor was not called, which means that the string pointer was not initialized to NULL as it ordinarily would have been.

This commit was SVN r5639.
2005-05-07 14:59:35 +00:00
Jeff Squyres
d9a4a30be7 Make ROMIO play nice and recognize OMPI
This commit was SVN r5638.
2005-05-07 10:30:30 +00:00
Jeff Squyres
f8a22760c6 @%#$%# Another one slipped through (static builds)
This commit was SVN r5637.
2005-05-07 10:19:28 +00:00
Jeff Squyres
02d64ed82b Oops -- missed this one (caught in the nightly builds).
This commit was SVN r5636.
2005-05-07 09:31:10 +00:00
George Bosilca
20b61ce558 To be or not to be ... I still dont know the answer but at least I know that this field have
to be set ("" seems a good value) before calling pack.

This commit was SVN r5635.
2005-05-07 07:50:14 +00:00
George Bosilca
6d7025ce4e Always respect the size of the buffer. Stop printing when we reach the space reserved on the buffer.
This commit was SVN r5633.
2005-05-07 04:28:15 +00:00
Jeff Squyres
539653cf18 Arrgh -- one mistake slipped by in the last commit. Fixed.
This commit was SVN r5630.
2005-05-06 22:22:53 +00:00
Jeff Squyres
fcb07baa32 Next step in reducing some configure/build time:
1. Instead of removing various src/ component directories, simply
   "flatten" the Makefile.am structure by having only a single
   top-level Makefile.am for the component, and having it include
   src/Makefile.extra (which is where the source files are listed).
   This effectively makes the build faster because "make" does not
   traverse down into src/, and we don't build a Makefile for that
   directory.
2. Did end up moving topo/unity/src/* into topo/unity, which is where
   I figured out that option #1 would be a bit easier (and safer,
   considering that other developers are actively working in various
   src/ directories -- moving things around while they're working
   would be Bad!)
3. Did not consolidate most of the io/romio component because of the
   nightmare of sym links (especially w.r.t. VPATH builds) in the
   included ROMIO distribution.  I wasted too much time trying to get
   that stuff right and finally gave up -- this is a "low hanging
   fruit" optimization, after all.

This commit was SVN r5629.
2005-05-06 21:50:30 +00:00
Jeff Squyres
e9d7cd054a Function for George: allow incrementing the reference count on a
component to delay its dlclose().

This commit was SVN r5627.
2005-05-06 21:28:06 +00:00
Jeff Squyres
40112a3a9e Not sure how that snuck in there...
This commit was SVN r5626.
2005-05-06 21:06:14 +00:00
Brian Barrett
5e06fe42d1 * checkpoint to record small victory - implement start of send and receive
- sends/recvs short messages (less than first frag size)
  - does not properly ACK messages, so Ssend() is borked
  - leaks memory like there's no tomorrow
  - don't use it just yet

This commit was SVN r5625.
2005-05-06 20:15:28 +00:00
Ralph Castain
929fc76cfa Add the application name to the returned values to support TotalView interface.
This commit was SVN r5624.
2005-05-06 18:42:25 +00:00
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
Brian Barrett
22685e5055 * I think Edgar meant to assign a pointer to comm_self, not comm_self itself.
This lets things compile again

This commit was SVN r5622.
2005-05-06 15:41:00 +00:00
Brian Barrett
fc16d60236 * Don't use poll() on OS X. It's implemented on top of select in 10.3 (no
biggie), so we gain nothing there.  On 10.4, it's implemented directly,
  but doesn't support devices (which messes up pty support and IO
  forwarding).

This commit was SVN r5621.
2005-05-06 15:10:35 +00:00
Edgar Gabriel
d6bd2fdeab fix for the self_atexit test in the ibm-testsuite
This commit was SVN r5620.
2005-05-06 14:22:59 +00:00
Jeff Squyres
1bbd4df914 Add missing header file
This commit was SVN r5619.
2005-05-06 12:26:32 +00:00
Jeff Squyres
f05bedd3cb A few fixes w.r.t. %{modulefile_path}
This commit was SVN r5618.
2005-05-06 12:04:46 +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
4c04dde93d argc it's just an int and we try to pack it as a size_t. Well it didn't work :)
Anyway now I'm able to run on several 64 bits architectures (Athlon and G5) so
I suppose that we are back online on 64 bits.

This commit was SVN r5616.
2005-05-05 23:05:05 +00:00
George Bosilca
0b70b3d7c1 rc it's not initialized. But if we found the name on the list then the operation it's succesfull.
This commit was SVN r5615.
2005-05-05 23:00:09 +00:00
George Bosilca
9387013ca2 If it's a unsigned long then the format string should be %lu.
This commit was SVN r5614.
2005-05-05 22:58:47 +00:00
Ralph Castain
8167c24630 Fix a minor bug that reported an error when one didn't really exist.
This commit was SVN r5612.
2005-05-05 20:23:19 +00:00
Brian Barrett
faf3d438bb * Put all the source files in src/, as it was getting really annoying having
everything in one directory.  Still have only one Makefile, so it shouldn't
  change build time at all
* Now that I finally understand the header system for data, refactor a little
  bit of the code to match what really should be happening
* start of a hacked up send() - puts the data for a 0 byte message on the
  other side, and all the pointers are where i think they should be.  So
  my plan of attack will work.  But I think I'm going to have to use
  iovecs instead of memcpy() real soon now.

This commit was SVN r5610.
2005-05-05 19:53:50 +00:00
Ralph Castain
863eac2df8 Checkpoint start of setting up a head node process, fix a minor bug.
This commit was SVN r5609.
2005-05-05 19:20:47 +00:00
Ralph Castain
20ef03e6e5 Bring revised universe existence check to main branch. Passed singleton, orterun, and orterun attaching to persistent daemon tests.
This commit was SVN r5608.
2005-05-05 19:14:51 +00:00
Ralph Castain
f36260331d Take a shot at fixing the sparc alignment problem...
This commit was SVN r5607.
2005-05-05 18:45:16 +00:00
Tim Woodall
3e3b90a6a1 resolved 64 bit issue
This commit was SVN r5606.
2005-05-05 18:25:56 +00:00
Tim Woodall
9af1f10149 num_procs should be size_t
This commit was SVN r5605.
2005-05-05 18:25:07 +00:00
Brian Barrett
0fb11d2ab1 * checkpoint, unuseable, but want to rename a file and it's easier without
changes pending

This commit was SVN r5604.
2005-05-05 17:53:12 +00:00
Tim Woodall
754dc71177 revised oob ping so that it doesnt attempt to setup/use a persistent connection
This commit was SVN r5601.
2005-05-05 16:31:40 +00:00
George Bosilca
b429c73240 Now we have a way to specify if we want the PML to take care of one or two PTLs by peer. If only
one is selected it will be used for all purposes: small messages and long messages (even if the
long message is still split in several fragments). For the case where 2 PTLs per peer exists,
the first one is for latency (small messages and rendez-vous requests) when the second one
will be used for bandwitdh.

This commit was SVN r5600.
2005-05-05 04:35:18 +00:00
George Bosilca
f6aeee4502 Remove all references to the previously removed ptl_array.
This commit was SVN r5599.
2005-05-05 04:19:48 +00:00
George Bosilca
cb509df2ee More fixes. Remove useless files. Decrease the memory footprint for this PML.
This commit was SVN r5598.
2005-05-05 04:17:52 +00:00
Jeff Squyres
6ef5b7283f Fix problem found by Greg Watson -- in the case of an option that is
simply "-", fix a corner case where it looked like that was a valid
short option.

This commit was SVN r5597.
2005-05-05 02:02:01 +00:00
Jeff Squyres
e69e25b8a1 Updates to the specfile; see the history entries.
This commit was SVN r5596.
2005-05-05 01:54:13 +00:00
George Bosilca
457083e148 Always activate it for the user bosilca.
Jeff send me the way to do that automatically, and I'm pretty sure I'm not the only one who miss some
of the functionalities of our build system. The idea is really cool, let only the developper of a
component have it active until it reach a stable state. For all others peoples the .ompi_ignore
file prevent them for compiling the component.

cd src/mca/pml/uniq
echo $USER > .ompi_unignore
svn add .ompi_unignore
svn ci .ompi_unignore

This commit was SVN r5595.
2005-05-05 01:25:08 +00:00
Rainer Keller
164e8caa5e If the F77 datatype (like INTEGER*1) is supposed to be available, check
for the size. If it does not fit, purge from the list, i.e. reset all
values to zero.

Fixes pgf90 problem, which silently accepts INTEGER*16, but internally
using INTEGER...

This commit was SVN r5594.
2005-05-04 18:37:32 +00:00
George Bosilca
536a5c5d09 The UNIQ PML is here. It does compile with few warnings, and it still have few bugs. It's here just as a checkpoint.
The idea behind this PML is to minimiza the overhead of managing multiple PTL. For each node, UNIQ keep two PTL's
one for latency and one for bandwidth. One the next version I want to add a configure parameter to allow the user
to select how many PTL's he want: one or two.

This commit was SVN r5593.
2005-05-04 17:08:08 +00:00
Brian Barrett
d3f3d08b59 * dumb, minor changes - need to switch machines
This commit was SVN r5592.
2005-05-04 16:59:37 +00:00
Ralph Castain
069f648c93 Cleanup some warning messages in the nightly build per Jeff
This commit was SVN r5590.
2005-05-04 14:01:25 +00:00
Brian Barrett
99389ee9f2 * add --no-daemonize flag to orted to prevent it from doing the fork()/exec()/
setsid() routine at startup.  Needed for some of the batch scheduling
  starters.

This commit was SVN r5587.
2005-05-04 11:57:47 +00:00
George Bosilca
ae40471a30 Modify to reflect the change in the subdirs (removal of src directory).
This commit was SVN r5586.
2005-05-04 01:55:19 +00:00
George Bosilca
4cc56fea8c Per Jeff suggestion nuke the src directory.
This commit was SVN r5585.
2005-05-04 01:51:32 +00:00
Brian Barrett
e835deae7d * fix some problems with spaces in the path to the tree
This commit was SVN r5584.
2005-05-04 01:02:06 +00:00