1
1
Open MPI main development repository (BSD license) https://github.com/open-mpi/ompi
Перейти к файлу
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
config Changes to finally make it possible to develop components outside of 2004-10-21 16:27:17 +00:00
contrib 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 2004-10-22 16:06:05 +00:00
etc * add ability to set priority for the hostfile llm 2004-09-23 14:55:55 +00:00
include George pointed out last night that I didn't take into account the fact 2004-10-22 20:30:59 +00:00
src Convert all ompi_bitmap_t and ompi_pointer_array_t indexing from 2004-10-23 19:24:00 +00:00
test - Add #if protection around non-portable system .h files 2004-10-20 01:03:09 +00:00
vcproj 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 2004-10-22 16:06:05 +00:00
win_examples 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 2004-10-22 16:06:05 +00:00
acinclude.m4 It's amazing how you can read the diff ahead of time and think "yes, 2004-10-05 19:38:56 +00:00
autogen.sh Changes to finally make it possible to develop components outside of 2004-10-21 16:27:17 +00:00
configure.ac George pointed out last night that I didn't take into account the fact 2004-10-22 20:30:59 +00:00
Doxyfile Not version 10.0 2004-06-11 20:09:02 +00:00
HACKING Update the HACKING file 2004-10-15 23:19:33 +00:00
INSTALL Added note about parallel builds 2004-08-04 22:25:47 +00:00
Makefile.am Ensure to traverse into the etc tree 2004-08-30 18:43:25 +00:00
README some text updates -- ditch old/un-updated version numbers 2004-07-07 15:58:55 +00:00
VERSION svn=2 will now place the svn version number in the tarball 2004-07-06 23:03:33 +00:00

This is the world's greatest MPI.

...more to write here
should be a short file, referring to the real docs.