1
1

26 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
41adbce3b0 Fix compiler warning: remove unused variable
This commit was SVN r3801.
2004-12-14 02:13:29 +00:00
Jeff Squyres
900f3bde32 - Remove some old debugging printf's
- Formalize the Windoze output
- The facilities for lazy opening of files were already included in
  here (yay foresight!); so just don't open the file aggressively when
  we ompi_output_open(); instead, let the first ompi_output() open the
  file.  This allows the session directory to stay empty (and
  therefore removable) if the file is never written to.

This commit was SVN r3800.
2004-12-13 22:39:09 +00:00
Jeff Squyres
616269a9be Add HLRS copyright
This commit was SVN r3665.
2004-11-28 20:09:25 +00:00
Jeff Squyres
e9ed717748 First cut at copyrights: IU, UTK, and some OSU. LANL and HLRS still
pending.

This commit was SVN r3655.
2004-11-22 01:38:40 +00:00
Prabhanjan Kambadur
650b04c4b4 changes:
--------
1. malloc casts to the right pointers
2. function parameter casts in the components (eg., recv requires a (char *) typecast 
   else cL compiler barfs)
3. added my own errno indirection. this is only in oob/tcp module. ompi_errno is #defined
   ro errno in unix land and to a function ompi_get_error which returns the equivalent
   error code.
4. implemented our own fcntl to prevent spaghetti coding. this currently only takes
   F_GETFL and F_SETFL arguments, does nothing on F_GETFL and sets the nonblocking 
   option on F_SETFL
5. Moved some extern declarations to global scope since the CL compiler does not do 
   the right things if they are declared and used in static inline functions.
6. Protection around some header files. changed sys/errno to errno.
7. defined in_proto_t (unsigned uint16_t) to DWORD ... comments are welcome

This commit was SVN r3394.
2004-10-28 18:13:43 +00:00
Jeff Squyres
9697a3977d Remove some compiler warnings
This commit was SVN r3329.
2004-10-26 10:56:08 +00:00
Prabhanjan Kambadur
4257467fec this is the big windows commit. there are more things which have gone into this than i can remember. but basically, we are looking for
1. header file and source file protections using #ifdef WIN32
2. new files and directories to support windows functionality
3. appropritate linkage symbols added (OMPI_DECLSPEC) for windows
4. some functions are unimplemented on the windows side. this is mostly
because there might not be need to implement it in windows land. eg., forking
a daemon off
5. Introduced locking mechanisms for windows

This commit was SVN r3286.
2004-10-22 16:06:05 +00:00
Jeff Squyres
d324a7725c - Add #if protection around non-portable system .h files
- Add #include "ompi_config.h" to all .c files, and ensure that it's
  the first #included file
- remove a few useless #if HAVE_CONFIG_H checks

This commit was SVN r3229.
2004-10-20 01:03:09 +00:00
Brian Barrett
1b1702ce00 * changes to make the util code safe to build with a C++ compiler
This commit was SVN r3194.
2004-10-18 15:38:19 +00:00
Jeff Squyres
9eae2e1dea - Remove pre-ansi varargs stuff
- Only close the syslog if it was actually opened

This commit was SVN r3134.
2004-10-14 18:01:18 +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
Jeff Squyres
d2ea3eea6d Only unlock the mutex if we actually locked it.
This commit was SVN r2373.
2004-08-29 07:50:07 +00:00
Jeff Squyres
d767e7822f Forgot to destroy the mutex
This commit was SVN r2331.
2004-08-27 16:43:35 +00:00
David Daniel
1d3e06bb8a Changes to output.c etc. to use asprintf
This commit was SVN r2218.
2004-08-18 23:15:48 +00:00
Jeff Squyres
f543780705 Fix silly bug -- ensure to initialize the verbosity level properly.
This commit was SVN r1953.
2004-08-07 19:54:15 +00:00
Jeff Squyres
a5a712b31f Lots of changes in this commit, mostly having to do with the first
real commit of the collectives.  MPI_SCAN and MPI_EXSCAN are still not
implemented, but lots of other things are in the critical path and
holding up other people, so it's ok to commit without them:

- better checks for sizes in configure, and add defaults for fortran
  sizes if we don't have a fortran compiler
- fix some logic that was accidentally broken for size checks for the
  file type offset_t
- add some C equivalent types for fortran's complex and double complex
  (for use in internal reduction/op functions)
- additionals and slight reorganization of ompi_mpi_init()
  ompi_mpi_finalize()
- fully implement all top-level MPI collective calls, including all
  param checking for both intra- and inter-communicators (woof)
- change the communicator_t type for stuff that we need in coll, and
  update all references throughout the code base to match
- all kinds of updates to the coll framework base
- next cut of the basic coll module -- has all intracommunicator
  collectives implemented except scan and exscan (see note above).
  All intercommunicator functions return ERR_NOT_IMPLEMENTED.
- MPI_Op is a fixed implementation -- not component-ized yet.  So
  there are generic C loops for all implementations.

This commit was SVN r1491.
2004-06-29 00:02:25 +00:00
Tim Woodall
1d6576d1f6 - more appropriate change of MUTEX_LOCK to OMPI_MUTEX_LOCK
(sorry about the last one)

This commit was SVN r1470.
2004-06-24 21:39:08 +00:00
Tim Woodall
84dd3084b0 backed out changed to OMPI_THREAD_LOCK
This commit was SVN r1469.
2004-06-24 21:09:55 +00:00
Tim Woodall
9b830472fd changed THREAD_LOCK/THREAD_UNLOCK to OMPI_THREAD_LOCK/OMPI_THREAD_UNLOCK
to prevent conflicts w/ external libraries/headers

This commit was SVN r1467.
2004-06-24 20:51:46 +00:00
David Daniel
563ac2a338 First pass of lam -> ompi conversion
This commit was SVN r1191.
2004-06-07 15:33:53 +00:00
Jeff Squyres
e8e3646c9d Allow lds==NULL on lam_output_open(), giving a default set of output
destinations (i.e., stderr)

This commit was SVN r1137.
2004-05-19 19:52:24 +00:00
Jeff Squyres
62bc48f258 Move the doxygen comments from output.c to output.h because that's
where one puts doxygen comments

This commit was SVN r987.
2004-03-27 02:48:04 +00:00
Jeff Squyres
a43db2dfd4 Fix my compiler warnings
This commit was SVN r974.
2004-03-26 10:38:16 +00:00
Jeff Squyres
251f68b94f Re-separate out the always-installable headers from the
LAM-development headers.

This commit was SVN r925.
2004-03-18 21:35:28 +00:00
David Daniel
7f8c2c3714 Updating header file names after the great directory reorganization.
This commit was SVN r877.
2004-03-17 18:45:16 +00:00
Jeff Squyres
1b67211597 Massive directory reorganization :-)
This commit was SVN r872.
2004-03-17 17:42:19 +00:00