1
1

3217 Коммитов

Автор SHA1 Сообщение Дата
George Bosilca
941fec8f66 Correctly initialize the stack when we have an initial offset in the data. I still have to make the optimized version.
This commit was SVN r3306.
2004-10-23 22:06:10 +00:00
Jeff Squyres
1c4aafba31 Replace hard-coded OMPI_FORTRAN_HANDLE_MAX with a real configure test
to determine min(INT_MAX, max fortran INTEGER value)

This commit was SVN r3305.
2004-10-23 21:08:12 +00:00
Rich Graham
c7e6eb7e75 remove incorrect initialization.
This commit was SVN r3304.
2004-10-23 20:38:35 +00:00
Tim Woodall
725a1ae657 template for mx
This commit was SVN r3303.
2004-10-23 19:49:29 +00:00
Jeff Squyres
113ce723e1 Convert all ompi_bitmap_t and ompi_pointer_array_t indexing from
size_t to int.  This is in recognition of the fact that these two
classes are primarily used for fortran<-->c convertsion of various
entities (attributes, MPI objects), and MPI defines that an int must
be used to hold MPI fortran handles.  Hence, why use size_t
internally?   See the comment in src/class/ompi_pointer_array.h for a
better description.

Mixed in a few attribute fixes in this commit as well.

This commit, therefore:
- converts the indexing from size_t to int
- changes all locations in the code that I could find that used size_t
  as the interface to ompi_bitmap_t or ompi_pointer_array_t
- convert to use OMPI_FINT_2_INT / OMPI_INT_2_FINT macros in various
  src/mpi/c/*f2c.c and src/mpi/c/*c2f.c files
- check the return code of ompi_comm_free() to ensure that everything
  worked properly before returning MPI_SUCCESS
- unified all src/mpi/c/*f2c.c functions (i.e., they all do the same
  thing)
- tie up some loose ends w.r.t. MPI_Request handling in fortran; set
  the req_f_to_c_index to MPI_UNDEFINED when it does not have a fortran
  index
- still need to add a configure test to find OMPI_FORTRAN_HANDLE_MAX
  for ompi_bitmap.c and ompi_pointer_array.c (hard-wired to INT_MAX
  right now)
- re-organized, consolidated, and unified some ompi_pointer_array.c
  code -- fixed a few minor bugs w.r.t. lowest_free (could have left
  some unintentional holes in the array)

This commit was SVN r3302.
2004-10-23 19:24:00 +00:00
Jeff Squyres
6705865f91 Ok, I cannot hit the right keys *at all* today. :-(
Botched the last 2 commits, so this one fixes all 3 and we have a
stable tree again:

- r3299 was supposed to include all the *.c files in r3300 and should
  not have included bindings.h and fint_2_int.h, and does exactly what
  it says in the commit message for r3299.
- r3300 was supposed to include bindings.h and fint_2_int.h and
  Makefile.am -- it moved all the int<-->fint macros out of bindings.h
  and into the standalone file fint_2_int.h.  This allows the
  int<-->fint macros to be included in some of the files in
  src/mpi/c/*.c (particularly the f2c and c2f functions).

This commit was SVN r3301.

The following SVN revision numbers were found above:
  r3299 --> open-mpi/ompi@d8fb2ff1e5
  r3300 --> open-mpi/ompi@57d7863e1a
2004-10-23 19:14:12 +00:00
Jeff Squyres
57d7863e1a Somewhat botched the r3299 commit. :-\
r3299 should have included add the *.c files in this commit and not
included bindings.h and fint_2_int.h.  So this commit includes the
missing .c files, and describes the changes in bindings.h and
fint_2_int.h: moved all the int<-->fint conversion macros

This commit was SVN r3300.

The following SVN revision numbers were found above:
  r3299 --> open-mpi/ompi@d8fb2ff1e5
2004-10-23 19:11:23 +00:00
Jeff Squyres
d8fb2ff1e5 Fix issue with function pointers coming in from fortran. This is as
result of a long, confusing conversation between Geroge and myself,
and a bunch more Intel tests now pass as a result:
- use (void*) instead of (MPI_Fint*).  Don't use the proper function
  pointer type (as defined in, e.g., op/op.h) because a) there's no
  typecasting coming in from fortran anyway, and b) it would make a
  dependency from all the fortran bindings to op.h, errhandler.h, and
  attribute.h.
- do not dereference function pointers when calling the back-end C MPI
  functions -- pass them as the pointers that Fortran passed in the
  first place.

This commit was SVN r3299.
2004-10-23 19:08:26 +00:00
Tim Woodall
d9cb8165a5 progress pending requests
This commit was SVN r3298.
2004-10-23 16:21:49 +00:00
George Bosilca
06e27b2d5b By default no LOOP around datatypes. As a side effect the amount of memory needed for new datatypes decrease.
This commit was SVN r3297.
2004-10-23 15:32:04 +00:00
George Bosilca
0cc12d9b93 Just remove unused variables.
This commit was SVN r3296.
2004-10-23 15:31:20 +00:00
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