Josh Hursey
9c4e9929f8
Fixed some include path problems, and some defines for windows build
...
This commit was SVN r5250.
2005-04-11 03:43:35 +00:00
Thara Angskun
eea0e4dbfb
The src/threads/condition.h should also explicit include <time.h> because
...
in some OS (e.g. AIX) the struct timespec is define in <time.h> and the <sys/time.h>
is not include <time.h>
This commit was SVN r5181.
2005-04-05 18:56:32 +00:00
Jeff Squyres
3f5541349a
Add UC copyright
...
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Brian Barrett
e89b6ba7f3
* if we don't have progress threads, need to push the event library along
...
while in condition variables. This was lost during the merge, as I
wasn't thinking when I cleaned that code up.
This commit was SVN r4828.
2005-03-14 21:57:34 +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
Brian Barrett
0d82642b40
* Split thread support build conditionals into MPI threads and progress
...
threads (defaults to use MPI threads, disable progress threads). This
allows us to have MPI threaded support, but without progress threads
and all that fun stuff.
This commit was SVN r4443.
2005-02-16 17:42:07 +00:00
Brian Barrett
b7c2c47494
Solaris portability fixes, round 1:
...
- Use fcntl.h, not sys/fcntl.h (man pages on every platform I could find
say fcntl.h and solaris/AIX don't provide sys/fcntl.h)
- Make timeradd macro available on platforms where sys/time.h exists but
timeradd macro doesn't (Solaris)
- Include util/printf.h from ompi_config_bottom.h so that ompi_asprintf
and friends are always available.
This commit was SVN r4441.
2005-02-16 15:38:37 +00:00
Brian Barrett
d5232fccc4
* Fix for conversion from nanoseconds to microseconds. Confirmed with Tim
...
that we do want to divide, not multiply
This commit was SVN r4325.
2005-02-08 18:57:07 +00:00
Brian Barrett
9c1a277804
* Update build system to support non-GCC inline assembly, including detection
...
of assembler format
* Fix minor bugs in AMD64, PPC, and IA32 assembly for atomic operations
* Clean up the #defines to look for when examining level of atomic operation
support
This commit was SVN r4183.
2005-01-27 01:39:55 +00:00
Prabhanjan Kambadur
4db2f4cf6f
making some minor changes which will make it compile on windows
...
This commit was SVN r4135.
2005-01-25 20:01:06 +00:00
Prabhanjan Kambadur
9ac9f15537
These are the changes after the review with Jeff. Mostly are fixes for OOB and TCP
...
This commit was SVN r4070.
2005-01-20 00:03:23 +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
Jeff Squyres
3c6a8e537a
Oops -- #else got put in wrong place, and would screw up non-threaded
...
builds.
This commit was SVN r3575.
2004-11-16 12:36:56 +00:00
Jeff Squyres
7f3790615a
- Implement MPI_Is_thread_main
...
- Add new thread function to compare current thread to an
ompi_thread_t*
- Save current thread ID in MPI_INIT*
- Add first cut of solaris thread functions
- Add stubs for missing Windows thread functions
This commit was SVN r3569.
2004-11-15 20:03:14 +00:00
Tim Woodall
2c7098b8cf
add macro to conditionally use atomic operations if required
...
This commit was SVN r3551.
2004-11-11 15:41:07 +00:00
George Bosilca
56d8631709
Correctly initialize the mutex using the init function not the unlock one.
...
This commit was SVN r3493.
2004-11-03 16:52:49 +00:00
Tim Woodall
cddf69bebf
added optional arg to thread
...
This commit was SVN r3368.
2004-10-27 13:50:27 +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
Prabhanjan Kambadur
dac14aaf94
committing the header file fixes for protection against C++ name mangling. This is a hge commit. Please make sure that your files are protected right. There is some redundan protection in that the protection has been added right at teh beginning and at teh end ion some cases even thught typedefs are not requred to be protected. But this was done in order to have teh minimal change to the code base
...
This commit was SVN r3246.
2004-10-20 22:31:03 +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
61c8d9592f
* make thread directory build with C++ compiler (at least, on OS X)
...
This commit was SVN r3195.
2004-10-18 15:41:40 +00:00
Tim Woodall
0df8ca90ea
small re-org of request completion - moved test/wait out of pml
...
This commit was SVN r3066.
2004-10-12 15:50:01 +00:00
Tim Woodall
9e31ea786c
implemented timedwait for polling (non-pthread) case
...
This commit was SVN r2436.
2004-09-01 23:08:58 +00:00
Tim Woodall
16d250b376
- integration of gpr/ns/oob w/ mpirun2
...
This commit was SVN r2344.
2004-08-28 01:15:19 +00:00
Tim Woodall
db1eb110cc
fix my misuse of #ifdef
...
This commit was SVN r2301.
2004-08-25 14:55:35 +00:00
Tim Woodall
514f2b7d16
fix issue w/ use of #ifdef rather than #if
...
This commit was SVN r2299.
2004-08-25 14:24:16 +00:00
David Daniel
b1ff3e50c2
Closing in on compilation with Solaris (and other non-GNU) compilers.
...
This commit was SVN r2244.
2004-08-19 23:34:46 +00:00
David Daniel
cbd3442979
Changes as suggested by Tim
...
This commit was SVN r2233.
2004-08-19 19:29:01 +00:00
David Daniel
6bf4dc4478
more cleanup of threads, atomic stuff etc.
...
This commit was SVN r2224.
2004-08-19 00:34:00 +00:00
David Daniel
927ef83454
This is a large check-in related to switching from
...
os/atomic.h --> include/sys/atomic.h
WARNING: There are almost certainly some bugs introduced here, but I
believe that using this system will get us to a stable and portable
library faster in the long run.
Other changes:
threads/mutex
Reorganized to use pthreads or asm atomic operations as available.
Untested Windows implementation added using InterlockedExchange() funcion.
threads/thread
Added an untested Windows implementation
other places
Updates to include the "right" header files or to use
ompi_atomic_add_int() rather that fetchNadd() etc.
This commit was SVN r2221.
2004-08-18 23:24:27 +00:00
Jeff Squyres
a721849e84
While waiting for a lengthy compile, I noticed a bunch of old remnants
...
from the "LAM/MPI" -> "Open MPI" name change that didn't convert
properly. So this commit fixes all instances of "OMPI/MPI" to "Open
MPI".
This commit was SVN r1924.
2004-08-06 14:30:18 +00:00
Tim Woodall
9280e182f5
- changed oob i/f functions to accept tag parameter
...
- tcp implementation in progress
- changed calls to oob to reflect additional parameter
This commit was SVN r1839.
2004-08-02 21:24:00 +00:00
Jeff Squyres
01995b40b4
Fix compiler warning
...
This commit was SVN r1757.
2004-07-16 04:17:53 +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
Tim Woodall
8f98c8a986
disable thread calls if pthreads not available
...
This commit was SVN r1445.
2004-06-23 14:16:02 +00:00
Jeff Squyres
5e5042613f
*really* rename the project to "openmpi". :-)
...
This commit was SVN r1370.
2004-06-17 18:21:08 +00:00
David Daniel
563ac2a338
First pass of lam -> ompi conversion
...
This commit was SVN r1191.
2004-06-07 15:33:53 +00:00
Tim Woodall
e68af0dde8
- inlining multiple functions - changed to macros functions the compiler wouldn't inline
...
- removed unused event handling code from critical path
- fixed threading issue in tcp code
This commit was SVN r1136.
2004-05-18 21:06:11 +00:00
Tim Woodall
a4422f55f8
support for building w/out threads
...
This commit was SVN r1014.
2004-04-06 16:13:17 +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
dfdd30969b
Miscellaneous fixes for a clean build
...
This commit was SVN r913.
2004-03-18 14:17:23 +00:00
Jeff Squyres
aa8ef8bd0a
Build system mods for the new directory organization
...
This commit was SVN r879.
2004-03-17 19:06:06 +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