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

2506 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
1087508c85 Return MPI_ERR_COMM, not MPI_ERR_ARG if have invalid comm
This commit was SVN r2687.
2004-09-15 19:55:36 +00:00
Brian Barrett
c2747dc370 * forgot to include configure.stub
This commit was SVN r2686.
2004-09-15 19:49:45 +00:00
Brian Barrett
ab346859dc * dooh - add file accidently left out
This commit was SVN r2685.
2004-09-15 19:43:32 +00:00
Ralph Castain
c65619e294 Move the enviro parsing function a little bit. Doesn't seem to be causing a problem with a dynamic build under Mac, but Jeff noted problem with a static build under Linux. Weird....
This commit was SVN r2684.
2004-09-15 19:43:32 +00:00
Brian Barrett
2d34826106 * add configure script for RMS to look for librms and librmsapi during
configure so that we can be smarter about selection logic (note: we are
  not yet smarter about selection logic - coming soon).  To keep things
  sane, moved a bunch of files into rms/src/ from rms/.
* Since we were already forcing an autogen, move all the files from
  rsh/src/ to rsh/ for the rsh pcm component.  Makes things a bit quicker
  on the compile, with no real downside

NOTE: You will have to run autogen / configure after this update.

This commit was SVN r2683.
2004-09-15 19:23:59 +00:00
Brian Barrett
07b3693ff0 * woops - forgot to sed one file
This commit was SVN r2682.
2004-09-15 19:10:00 +00:00
Brian Barrett
15d7c000c4 * add shell of a wmi (Windows Management Interface?) pcm for Anju to hack
on.  Does not work at all, so .ompi_ignored

This commit was SVN r2681.
2004-09-15 19:00:14 +00:00
Brian Barrett
b3aca01d1a * commit .ompi_ignored shell of a bproc component for the pcm
This commit was SVN r2680.
2004-09-15 18:54:57 +00:00
Sayantan Sur
0d85c2b5b9 Dynamic connection management is fully setup now. MPI_Init works with
dynamic connection management.

This commit was SVN r2679.
2004-09-15 16:45:31 +00:00
Ralph Castain
70dae461e4 MPI_Init will now detect and join a persistent universe - hooray! Fixed the session_dir cleanup process so it is kinder to the universe-setup file (i.e., leaves it alone), thus allowing persistent universes to retain their contact info on the session_dir tree. Adjusted mpirun2, ompid, and ompiconsole accordingly.
Put some error protection in ompi_rte_monitor.

This commit was SVN r2678.
2004-09-15 16:33:36 +00:00
Jeff Squyres
5de6a8c211 Fix minor logic error -- need to group the "or" together so that it
doesn't get grouped with the "and".  Precedence, schmecedence...

This commit was SVN r2677.
2004-09-15 09:15:50 +00:00
Vishal Sahay
b5e26196fa More bindings with macros
This commit was SVN r2676.
2004-09-15 07:40:58 +00:00
Tim Woodall
6221cac318 corrected documentation for send
This commit was SVN r2675.
2004-09-15 07:26:03 +00:00
Sayantan Sur
dcd69d5c6d Changed ptl_first_frag_size. For totally supporting dynamic
connection management, the first *REAL* infiniband send has
to be triggered from the progress engine. Taking care of this
case with this code.

This commit was SVN r2674.
2004-09-15 00:13:50 +00:00
Sayantan Sur
c46f5556c1 More send frag management code.
This commit was SVN r2673.
2004-09-14 19:49:06 +00:00
Vishal Sahay
148580acad More bindings
This commit was SVN r2672.
2004-09-14 19:17:52 +00:00
Jeff Squyres
a2667dae11 Remove this outdated file -- automated report pretty much covers it now
This commit was SVN r2671.
2004-09-14 17:08:29 +00:00
Jeff Squyres
f6a06fcbb5 There is a very confusing situation dealing with MPI-defined functions
such as MPI_DUP_FN: MPI says that they have to be available via that
name in both C and Fortran.  However, for implementation reasons, we
have to have them as separate functions.  But if a Fortran compiler's
naming convention is ALL_CAPS, this is not possible.  Hence, we need
to put in #define's in mpi.h to change the C names something like
this: MPI_DUP_FN -> OMPI_C_MPI_DUP_FN.  This was actually done a long
time ago.

However, the source code where those C functions actually live
(src/mpi/c/attr_fn.c) still reflected the old names (e.g.,
MPI_DUP_FN).  This is fine, actually -- mpi.h would come in and
#define them to their real names (OMPI_C_MPI_DUP_FN).  So it was
functionally correct, but confusing at hell (and it just bit Edgar and
me today).  So I'm changing src/mpi/c/attr_fn.c to use the real names
(OMPI_C_MPI_DUP_FN) so that tools like ctags and grep can find them in
the source code when you go looking.  Plus, the code is just more
clear that way.  I also put in massive comments about this in
src/mpi/c/attr_fn.c and src/mpi/f77/attr_fn_f.c so that we remember
why the heck we did this.  :-)

This commit was SVN r2670.
2004-09-14 17:03:41 +00:00
Ralph Castain
edcc35795b Fix a couple of minor bugs:
- stop mca_oob_parse_contact_info from trashing the input string
- get gpr_proxy to reissue the non-blocking receive for notify messages
- add a diagnostic message to the gpr_proxy

This commit was SVN r2669.
2004-09-14 17:00:48 +00:00
Jeff Squyres
bf5484252f Remove unneeded variable
This commit was SVN r2668.
2004-09-14 16:59:51 +00:00
Brian Barrett
9626725eb0 * remove test binary that should have died long ago.
This commit was SVN r2667.
2004-09-14 15:52:59 +00:00
Tim Woodall
f0d585c48c dont free buffer that is passed into callbacks - caller does this for you
This commit was SVN r2666.
2004-09-14 15:52:29 +00:00
Gopal Santhanaraman
73ff3f22c5 Basic version of gm-ptl
This commit was SVN r2665.
2004-09-14 15:29:43 +00:00
Ralph Castain
5f25433bd3 Hmmm...apparently this change required by my Linux friends. Worked fine without on the Mac, but what they heck?
This commit was SVN r2664.
2004-09-14 14:50:43 +00:00
Ralph Castain
c5008b71bf Grrr...get rid of another pesky diagnostic output.
This commit was SVN r2663.
2004-09-14 14:31:39 +00:00
Ralph Castain
f7fac7f214 Oops....forgot to take out the diagnostic printouts. Sorry.
This commit was SVN r2662.
2004-09-14 14:28:20 +00:00
Jeff Squyres
910f6943b7 Fix a few portability issues noticed after initial commit:
- The official OSX workaround for ROMIO is to configure it with the
  -arch=freebsd switch (that's what MPICH does!).  This switch no
  longer works because I updated their configure script to a modern
  version of Autoconf, so I put a[nother] test in ROMIO's configure to
  detect this situation and do the workaround.
- Realize that I forgot that ROMIO uses the MPI profiling layer, so if
  the profiling layer is not enabled, ROMIO will fail to link in
  dynamic environments (or otherwise Not Work).  So put a thingy in
  its configure script testing to see if the MPI profiling layer is
  enabled or not.  If it's not enabled, don't build ROMIO.
- Make the lack of any available io components *NOT* be an error
  during MPI_INIT (e.g., what if you didn't enable profiling, but you
  don't use any MPI_FILE* functions in your program?  This is quite a
  common case).  If no io components are available, then an
  MPI exception will be thrown during MPI_FILE_OPEN and
  MPI_FILE_DELETE (which, unfortunately, according to the standard
  uses the default handler on MPI_FILE_NULL, which, unfortunately
  again, is MPI_ERRORS_RETURN).  So users really have to check for
  this situation.  :-\

This commit was SVN r2661.
2004-09-14 14:27:06 +00:00
Ralph Castain
069682e046 A bunch of minor changes, mostly adding diagnostics. Just wanted to checkpoint so I can start fresh since there now seem to be problems in the tree with mpirun2.
Fixed ompid so it reissues the non-blocking receive - should now be close to ready for primetime. Fixed some logic in the svc framework that wasn't checking properly for action flags. 

This commit was SVN r2660.
2004-09-14 14:21:04 +00:00
Rich Graham
6582ca7c0a finish seting up base sm parameters.
This commit was SVN r2659.
2004-09-14 12:28:33 +00:00
Jeff Squyres
ab091aa3f9 Add a VERSION file for good measure
This commit was SVN r2658.
2004-09-14 12:04:40 +00:00
Jeff Squyres
1d8c2e3342 A few minor cleanups as a result of a second-tree-checkout test and a
make-dist test.  Re-ran auto-tools in romio distribution as a result,
therefore regenerating all the Makefile.in's.

This commit was SVN r2657.
2004-09-14 11:46:31 +00:00
Jeff Squyres
f6f0cccbec First cut of MPI_File / io MCA component framework. This also
includes the romio component.  Only blocking operations are supported
-- non-blocking stuff is pending some changes in the top-level
progression engine, and some threaded issues need to be worked out.

This commit was SVN r2655.
2004-09-14 10:55:10 +00:00
Jeff Squyres
0c420a28eb Ensure that coll basic looks at its MCA priority parameter properly
This commit was SVN r2654.
2004-09-14 10:46:01 +00:00
Jeff Squyres
18a1801c91 Impliement MPI_STATUS_SET_ELEMENTS
This commit was SVN r2653.
2004-09-14 10:45:19 +00:00
Jeff Squyres
bd32b4ef4d Oops! Had redirections listed backwards, which made some error
messages appear on stdout

This commit was SVN r2652.
2004-09-14 10:44:40 +00:00
Jeff Squyres
2d756f6391 Slight correction in comment -- this function *is* thread safe (AFAIK).
This commit was SVN r2649.
2004-09-14 09:10:23 +00:00
Tim Woodall
f3479adbea fixed a problem in mca_oob_timedwait
This commit was SVN r2648.
2004-09-14 08:06:00 +00:00
Vishal Sahay
b6b0de9d8f More bindings
This commit was SVN r2647.
2004-09-14 05:59:53 +00:00
Sayantan Sur
ff8fda793c pending send frags is now a `per module' information and not
a per peer information as in the TCP case.

This commit was SVN r2646.
2004-09-14 04:40:47 +00:00
Sayantan Sur
1fb4653445 Removed the send descriptors from a per-connection resource to
a `module' resource in order to allow for `request_init' to 
correctly return a usable descriptor.

This commit was SVN r2645.
2004-09-14 04:24:20 +00:00
Ralph Castain
c93d99835c Well, this addition should hopefully fix the issue of static compiles - ugly as heck, but it doesn't seem to break the program and I guess it should solve the immediate problem.
Yuck.

This commit was SVN r2644.
2004-09-14 04:08:43 +00:00
Ralph Castain
f3256a1140 Discovered a very, very interesting bug, courtesy of Jeff point out some unexpected behavior under Linux. It turns out that the Linux "dirname" function has a bug in it - namely, it modifies the argument passed to it, in violation of its documentation. This was apparently fixed in the Mac library - it definitely does NOT modify its argument on the Mac.
After spending hours tracking this down, I finally did manage to isolate it to the dirname function. I have installed a "fix" for the problem (using an intermediate temporary copy of the string being passed to the function) that solves the problem without messing us up on the Mac.

Hopefully, we won't find too many more such "cute" errors!

This commit was SVN r2643.
2004-09-14 03:59:17 +00:00
Vishal Sahay
164293313b More bindings
This commit was SVN r2640.
2004-09-13 22:15:46 +00:00
Sayantan Sur
4c122c6649 Added send descriptor management code
This commit was SVN r2639.
2004-09-13 21:56:28 +00:00
Jeff Squyres
388ac0dd4e Since everyone has to recompile almost everything because of changes
to the docs in src/utl/output.h from the last commit, might as well do
this one.  No real rush to update to this, but you'll need to
re-autogen.sh, etc.

Fixes an old, small bug that caused the static-components.h files to
always be regenerated, even if they didn't change.  This caused
several files to be unnecessarily recompiled if you ran the following:

./configure
make
./configure
make

Granted, this is a small error, but a) we have it Right in other
places, b) AC does the Right things for AC_CONFIG_HEADER, so we should
do the Right things too.

This commit was SVN r2638.
2004-09-13 20:29:21 +00:00
Jeff Squyres
d9ae96c259 Update output streams and associated docs.
IMPORTANT NOTE: when sendout ompi_output() strings to files, note that
the file goes into the session directory.  If the session directory
does not exist yet when you call ompi_output() and you are sending the
string to a file, THE STRING WILL BE DROPPED (in terms of the file --
it will still be sent to all other locations that were specified).
This should really only be a factor for a fairly small portion of
things during initialization of a process -- basically, until the
session directory exists, nothing will be written to a file.

ompi_output() will automatically take care of creating the file and
writing to it once the session directory has been created.  So it is
valid to:

id = ompi_output(...something with file set...)
ompi_output(id, "blah!");
/* ... process session directory is created ... */
ompi_output(id, "wazzlebort!");

In this case, the output file will be:

-----
[WARNING: 1 lines lost because the Open MPI process session directory did
 not exist when ompi_output() was invoked]
wazzlebort!
-----

This commit was SVN r2637.
2004-09-13 20:19:01 +00:00
Ralph Castain
6c8654d2b8 Update the utility to a kinder, gentler sort that leaves Jeff's ompi_output files alone. :-)
This commit was SVN r2636.
2004-09-13 19:02:43 +00:00
Vishal Sahay
af6fb8f347 This commit was SVN r2635. 2004-09-13 18:57:25 +00:00
Jeff Squyres
8e14d725ad Change all f2c() functions to use the safe
ompi_pointer_array_get_item() function instead of accessing the array
directly.  This is because accessing the array directly in
multi-threaded situations is unsafe (someone else may be writing to
the array, the array may get moved out from under you via realloc(),
etc.).

This commit was SVN r2634.
2004-09-13 18:14:03 +00:00
Ralph Castain
a14ee7eb48 Checkpoint the console and daemon.
Folks - there appears to be something unreliable about communication with the daemon at the moment. We are trying to track it down. Meantime, please be patient if experimenting with it.

This commit was SVN r2633.
2004-09-13 16:51:53 +00:00