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

3251 Коммитов

Автор SHA1 Сообщение Дата
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
Prabhanjan Kambadur
0fbed91d96 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 r3393.
2004-10-28 18:12:32 +00:00
Prabhanjan Kambadur
6a82494d28 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 r3392.
2004-10-28 18:12:13 +00:00
George Bosilca
379f356483 Remove a compiling warning.
This commit was SVN r3391.
2004-10-28 17:45:11 +00:00
George Bosilca
34895b9145 Add a MCA parameter to fix the size of the maximum buffer that can be allocated by TCP (tcp_frag_size).
This commit was SVN r3390.
2004-10-28 17:44:14 +00:00
George Bosilca
8c0d5522b1 Change to the new atomic operations.
This commit was SVN r3388.
2004-10-28 17:41:10 +00:00
George Bosilca
fdaaae5998 Update the atomic stuff. Not all architectures provide the "fastest" atomic one. The only required atomic
operations are actually the compare_and_set 32 and 64 bits. For all others atomic there is a fallback in sys/atomic.c

For ia32 I add a workaround the ebx register. When compiling with -fPIC ebx is reserved for the shared object interface (store some global pointer). On the same time cmpxchg8b use ebx and ecx to store the new value. The workaround save the ebx content before cmpxchg8b and restore it afterward. There is still a possible bug !!! If we get interrupted between the push and pop of the ebx then we will definitivelly crash ...

This commit was SVN r3387.
2004-10-28 17:32:27 +00:00
George Bosilca
e5d9df23de Remove all u_* and replace them by u*.
This commit was SVN r3386.
2004-10-28 17:27:39 +00:00
Tim Woodall
d7e0364bc6 correction
This commit was SVN r3385.
2004-10-28 16:31:13 +00:00
Tim Woodall
28f870e052 work in progress
This commit was SVN r3384.
2004-10-28 16:29:14 +00:00
Tim Woodall
847c08fda5 - for non-threaded builds - set progress to be blocking for non-mpi apps
- reorg MX

This commit was SVN r3383.
2004-10-28 15:40:46 +00:00
Tim Woodall
3a5cf46856 force this to be inlined
This commit was SVN r3381.
2004-10-28 14:39:39 +00:00
Tim Woodall
0e658eab97 support for polling progress
This commit was SVN r3380.
2004-10-28 01:52:01 +00:00
Rich Graham
f3c322d0d2 remove debug code.
This commit was SVN r3378.
2004-10-27 21:35:16 +00:00
Brian Barrett
74b00189a3 * add missing header
This commit was SVN r3377.
2004-10-27 20:46:30 +00:00
Tim Woodall
79548a9ade corrections to the scheduling logic
This commit was SVN r3376.
2004-10-27 20:28:09 +00:00
Brian Barrett
0210b6e8dd * add a debugging hack for Tim so to delay successive rsh/ssh calls so
that the xauth doesn't get whacked

This commit was SVN r3374.
2004-10-27 15:29:03 +00:00
Prabhanjan Kambadur
855d7bebaa Makefile for command line build for windows. This allows us to build without having to start up visual studio all the time ... although, visual studio is not all that bad :)
This commit was SVN r3373.
2004-10-27 14:52:04 +00:00
Tim Woodall
9afd8cfb16 correct typo
This commit was SVN r3372.
2004-10-27 14:38:20 +00:00
Tim Woodall
64faddd656 release allocated memory
This commit was SVN r3371.
2004-10-27 14:34:47 +00:00
Tim Woodall
a284813230 required for autogen
This commit was SVN r3370.
2004-10-27 14:15:17 +00:00
Tim Woodall
f6ab31f38d - renamed ACK flag
- first cut at MX support for short messages

This commit was SVN r3369.
2004-10-27 13:52:06 +00:00
Tim Woodall
cddf69bebf added optional arg to thread
This commit was SVN r3368.
2004-10-27 13:50:27 +00:00
Brian Barrett
ed22836634 * add some documentation for the job track code
This commit was SVN r3367.
2004-10-27 11:50:23 +00:00
Jeff Squyres
4a860a5a81 Correct the MPI semantics for all the fortran test/wait functions.
This commit was SVN r3366.
2004-10-27 00:51:46 +00:00
Tim Woodall
4c9b34c428 corrections to testany/all
This commit was SVN r3365.
2004-10-26 23:42:02 +00:00
Tim Woodall
3e99353ce1 correct mpi semantics
This commit was SVN r3364.
2004-10-26 23:39:24 +00:00
Tim Woodall
a821e8125c corrections to test
This commit was SVN r3363.
2004-10-26 23:03:18 +00:00
Prabhanjan Kambadur
1eb544b8a0 some helper makefiles. too lazy to open up visual studio every time
This commit was SVN r3362.
2004-10-26 22:28:35 +00:00
Tim Woodall
6394ffd997 check request state
This commit was SVN r3361.
2004-10-26 22:11:42 +00:00
Brian Barrett
0b131fe5c4 * Wait for all children before allowing the RSH or RMS pcm to finalize so that
cleanup happens correctly
* Deregister all async waitpid callbacks during pcm finalize so that they
  don't accidently trip after the component has been unloaded
* Cleanup the pid tracking code shared by RMS and RSH and update both
  components to match
* Add a bit to MPI_Abort() in preparation of ompi_rte_kill_job working
  properly soon

This commit was SVN r3360.
2004-10-26 22:11:03 +00:00
Tim Woodall
1fe472dff0 correct return status
This commit was SVN r3359.
2004-10-26 22:09:26 +00:00
Jeff Squyres
c99a202fa3 Make value of BSEND_OVERHEAD match what is in mpi.h
This commit was SVN r3358.
2004-10-26 21:55:44 +00:00
Jeff Squyres
de5d8c5c11 Part 1 of ompi_status_empty. More coming.
This commit was SVN r3357.
2004-10-26 21:55:20 +00:00
Tim Woodall
923ece8537 changed calls to test/testany
This commit was SVN r3356.
2004-10-26 21:46:04 +00:00
Tim Woodall
8d48c2113f added renamed ompi_request_test to ompi_request_test_any and
added new ompi_request_test w/ the correct semantics for a single test

This commit was SVN r3355.
2004-10-26 21:45:25 +00:00
Rich Graham
7534fccec8 remove some unused variables, and change data type and user
buffer pointers to use the ones the ones that are correct
when buffered sends are used.

This commit was SVN r3354.
2004-10-26 21:28:41 +00:00
George Bosilca
58db40470a Correctly compute the number of loops in each datatype.
This commit was SVN r3353.
2004-10-26 20:13:42 +00:00
George Bosilca
0405d7965e Remove the stack define from this file.
This commit was SVN r3352.
2004-10-26 20:13:04 +00:00
George Bosilca
57cd74c9db A small trick for count == 0
This commit was SVN r3351.
2004-10-26 20:12:26 +00:00
Jeff Squyres
93e09fbfa9 Updates for fortran bindings
This commit was SVN r3350.
2004-10-26 19:28:05 +00:00
Prabhanjan Kambadur
df3c0da4af Adding protection for c++ name mangling
This commit was SVN r3349.
2004-10-26 19:15:19 +00:00
Tim Woodall
7c25c4b499 correct the arch setting
This commit was SVN r3348.
2004-10-26 19:12:48 +00:00
Prabhanjan Kambadur
9421f0d154 adding windows linkage directive to this file. had previously left it untouched because george had commits then and forgot about it after he committed
This commit was SVN r3347.
2004-10-26 18:48:45 +00:00
Prabhanjan Kambadur
20242c3c66 until there is a better way of generating the version files. still dont have the code to generate these files on windows. trivial issue and probably does not matter
This commit was SVN r3346.
2004-10-26 18:30:34 +00:00
Rich Graham
7e55ce2d8c make sure that with the single PTL case, the number of bytes scheduled
does not exceed the max size allowed.

This commit was SVN r3345.
2004-10-26 18:08:51 +00:00
Edgar Gabriel
16abfe9ed7 group_null, and comm_null have to be accessible also in comm_dyn.c, therefore I had to add an 'extern' statement in the header file.
This commit was SVN r3344.
2004-10-26 17:25:49 +00:00
Prabhanjan Kambadur
05d6b30d66 adding protection. dont know how this was missed in the whole big prtection commit
This commit was SVN r3343.
2004-10-26 15:47:15 +00:00
Rich Graham
13b9c39958 2 fragment messages are now working.
This commit was SVN r3342.
2004-10-26 15:38:22 +00:00
Rich Graham
ae97a54070 set the number of bytes sent by the sender for use by the
receive completion logic.

This commit was SVN r3341.
2004-10-26 15:24:58 +00:00