George Bosilca
80e801894b
If we add ZERO datatype make sure that the result is correctly initialized. We dont have to physically add the new datatype, just set the boundaries of the base one. As the MPI signature include only the datatypes where the count is not zero, we dont have to take the zero count in account at all.
...
This commit was SVN r3295.
2004-10-23 15:30:47 +00:00
George Bosilca
ef4705b781
Just to be nice set the newtype to MPI_DATATYPE_NULL before returning.
...
This commit was SVN r3294.
2004-10-23 15:27:47 +00:00
George Bosilca
6ee22604a0
Construct/destruct the teg_send_pending list.
...
This commit was SVN r3293.
2004-10-23 05:57:23 +00:00
Prabhanjan Kambadur
f379c1d323
oops, my bad .... was testing something about linkage semantics an d had forgotten to revert it in the morning before committing. reverting the change back. hopefully people can build now
...
This commit was SVN r3292.
2004-10-22 22:53:29 +00:00
Jeff Squyres
eb4267d6d2
George pointed out last night that I didn't take into account the fact
...
that the C compiler may support bool with no help from <stdbool.h>.
So add another configure test and adjust ompi_config_bottom.h as
appropriate. Since the #if logic in ompi_config_bottom.h got a little
complicated w.r.t. bool, I indented to make the conditionals clear.
This commit was SVN r3291.
2004-10-22 20:30:59 +00:00
Jeff Squyres
4ee39ac7af
Remove some minr things changes by the windows commit
...
This commit was SVN r3290.
2004-10-22 20:26:59 +00:00
George Bosilca
12459e8aed
Make the compiler happy ... (ie take care of some unsigned vs. signed comparaisons).
...
This commit was SVN r3289.
2004-10-22 17:48:48 +00:00
George Bosilca
72bc6ad0a6
Remove OMPI_DECLSPEC from the typedefs.
...
This commit was SVN r3288.
2004-10-22 17:47:53 +00:00
Jeff Squyres
dcd086fd4c
Some versions of gcc don't line \n in a string
...
This commit was SVN r3287.
2004-10-22 17:45:06 +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
George Bosilca
49e35c869b
Update the contiguous homogeneous unpack function.
...
This commit was SVN r3284.
2004-10-22 07:05:09 +00:00
George Bosilca
47777b884c
Remove warnings on ia64 and opteron architectures. Add a new framework for the copy functions. It's not yet completly finished but at least it generate only the functions that will be actually used.
...
This commit was SVN r3281.
2004-10-22 05:28:44 +00:00
George Bosilca
4b6f1ba2e0
Add more cases to the copy_data function. Just a reminder there are architectures where the "long double" is 16 bytes and they HAVE TO be 16 bytes aligned. Others have the bool defined as a 8 bytes !!! Unbelievable !!!
...
This commit was SVN r3280.
2004-10-22 04:13:27 +00:00
George Bosilca
a7007155f9
Just make it less vorbose.
...
This commit was SVN r3279.
2004-10-22 03:38:28 +00:00
George Bosilca
799fde26c1
Several patch:
...
- change the DUMP to use the ompi_output system. The integrations is just 50% done as I dont want to have to write DUMP(("%d", integer)).
- correct the stack usage. More test now finish correctly.
- others minor changes.
This commit was SVN r3278.
2004-10-22 03:09:05 +00:00
George Bosilca
9b685eee1b
Rename the allocator function for the TCP device. Now I'm not on the list anymore :)
...
This commit was SVN r3277.
2004-10-22 03:04:17 +00:00
Rich Graham
0ab1ab374d
starting to debug the shared memory implmentation. Changing
...
process count references to int's rather than size_t's.
use asprintf to store the name of the shared memory backing file.
This commit was SVN r3275.
2004-10-21 22:40:25 +00:00
George Bosilca
2273e03af2
Define the fonctions when sizeof(long double) = 8.
...
This commit was SVN r3272.
2004-10-21 20:10:33 +00:00
Jeff Squyres
303c38cde9
Fix for bug 1030 -- ensure C and C++ bool's are the same size and
...
alignment. Right now, we only check for char, short, and int. If we
ever run across a platform where one of those three don't work, we'll
need to extend ompi_config_bottom.h. :-)
This commit was SVN r3271.
2004-10-21 19:57:00 +00:00
Jeff Squyres
9e6023b022
Ensure to include the @#$%@#$% VERSION file
...
This commit was SVN r3270.
2004-10-21 19:31:38 +00:00
Jeff Squyres
afb26c4206
Remove now-defunct member initializer
...
This commit was SVN r3269.
2004-10-21 16:53:00 +00:00
Jeff Squyres
721fda8ecb
Changes to finally make it possible to develop components outside of
...
the Open MPI tree. This fixes bug 1015.
- Eliminate some confusion/inconsistencies through the tree; we only
use MCA_<type>_<name>_VERSION now, not ..._FULL_VERSION
- coll demo component is ready
- ROMIO io component had a VERSION file but wasn't using it, so now
it's using it properly
- Updated autogen.sh and mca_make_configure.pl to generate version
header templates upon demand
This commit was SVN r3267.
2004-10-21 16:27:17 +00:00
Jeff Squyres
02e8f3dcab
Update svn:ignore
...
This commit was SVN r3266.
2004-10-21 16:20:22 +00:00
Prabhanjan Kambadur
de10524563
adding sys/stat to the list of header files to be checked for
...
This commit was SVN r3265.
2004-10-21 15:56:12 +00:00
Jeff Squyres
5b83ad2a9a
Fix typo
...
This commit was SVN r3264.
2004-10-21 13:59:12 +00:00
Jeff Squyres
1ed192827d
Specify a config AUXDIR and set WANT_COMPILE_EXTERNAL=1 so that we can
...
build this component outside the OMPI tree
This commit was SVN r3259.
2004-10-21 01:47:49 +00:00
Jeff Squyres
e3fd257698
Add new paramter for configure.params: PARAM_WANT_COMPILE_EXTERNAL.
...
If set to 1, the relevant .m4 files will be copied to the component
directory, allowing "make dist" to fully bundle up everything needed
to build the component (thereby allowing the distribution tarball to
be built outside the Open MPI tree).
This commit was SVN r3258.
2004-10-21 01:47:18 +00:00
Jeff Squyres
df142f19aa
No need for this stuff -- it was a carryover from the coll basic
...
module
This commit was SVN r3257.
2004-10-21 01:45:40 +00:00
Prabhanjan Kambadur
1e7ac1194e
This somehow got left. If you folks come accross similar files, please protect the extern symbols from name mangling
...
This commit was SVN r3256.
2004-10-21 00:33:54 +00:00
Prabhanjan Kambadur
4be165da9c
This somehow got left. If you folks come accross similar files, please protect the extern symbols from name mangling
...
This commit was SVN r3255.
2004-10-21 00:08:28 +00:00
George Bosilca
e4bf067d98
Add copy functions for all the predefined datatypes. Not all of them are correct but by now they should work on most of the architectures.
...
This commit was SVN r3254.
2004-10-20 23:45:54 +00:00
George Bosilca
a6869d4f2c
Update the macro creating the Fortran types to the new datatype description.
...
This commit was SVN r3253.
2004-10-20 23:45:01 +00:00
Jeff Squyres
5b619898c8
Fix some compiler warnings
...
This commit was SVN r3250.
2004-10-20 22:56:33 +00:00
Jeff Squyres
bba9b27575
- Be sure to unlock, even in error cases
...
- Be sure to propagate errors upward in the case of copy_all() and
delete_all()
This commit was SVN r3249.
2004-10-20 22:55:53 +00:00
Jeff Squyres
e9162d8fa7
Back out a recent commit and put the release of attributes back in
...
ompi_comm_free() (I recently moved them to the destructor). They are
actually more correct in ompi_comm_free() -- there's a lengthy comment
in comm.c containing the reasons why.
This commit was SVN r3248.
2004-10-20 22:54:34 +00:00
Jeff Squyres
e14b5c5b4a
Fix some compiler warnings
...
This commit was SVN r3247.
2004-10-20 22:52:03 +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
Tim Woodall
9c6ade2245
fix for persistent requests
...
This commit was SVN r3245.
2004-10-20 22:24:36 +00:00
Tim Woodall
a9db439a86
return correct status
...
This commit was SVN r3244.
2004-10-20 21:47:44 +00:00
Tim Woodall
e0a732cc95
temporary fix
...
This commit was SVN r3243.
2004-10-20 21:42:08 +00:00
Tim Woodall
0db0bb377a
fix for waitany
...
This commit was SVN r3242.
2004-10-20 21:41:48 +00:00
George Bosilca
8a2b660c77
Modify the [pack/unpack]_general conversions. Not the predefined datatypes are working again.
...
This commit was SVN r3241.
2004-10-20 20:56:55 +00:00
George Bosilca
c7bcceda8b
Reorder the stack creation.
...
This commit was SVN r3240.
2004-10-20 20:46:22 +00:00
George Bosilca
d595f88196
Add the "trick" to the predefined datatypes. Now at the end of the description they have a END_LOOP to
...
allow them to be used with the convertor_*_general functions.
This commit was SVN r3239.
2004-10-20 20:45:50 +00:00
Ralph Castain
e74404c787
Add a function (ompi_name_server.convert_jobid_to_string(jobid)) to the name server that converts a jobid to a string representation. There are several places in the code where this is required - to date, people have been "printing" it themselves. This is risky since otherwise the system (when using the get_jobid_string function) may well return a different format string. Using this function guarantees compatibility between the various methods for obtaining a jobid string.
...
This commit was SVN r3237.
2004-10-20 18:18:07 +00:00
George Bosilca
787627ee50
Add ompi_config.h as the first include.
...
This commit was SVN r3236.
2004-10-20 16:18:49 +00:00
Tim Woodall
cad5b2c923
- removed req_query from base request - only needed for generalized requests
...
- fix for persistent recvs
This commit was SVN r3235.
2004-10-20 14:56:52 +00:00
Tim Woodall
2adc1fd062
make all the internal errcodes static to prevent clashes
...
This commit was SVN r3234.
2004-10-20 14:08:27 +00:00
Jeff Squyres
04e4132174
Convert to the OBJ interface
...
This commit was SVN r3233.
2004-10-20 12:28:09 +00:00
Jeff Squyres
db0fb4b8e1
Change the order or shutdown so that we don't destroy a table before
...
we try to use that table during the destruction of MPI_REQUEST_NULL
This commit was SVN r3232.
2004-10-20 11:03:29 +00:00