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

2992 Коммитов

Автор SHA1 Сообщение Дата
Edgar Gabriel
ee8b9e1897 first cut on the new disconnect infrastructure. More to come,
especially focusing on Finalize.

This commit was SVN r3331.
2004-10-26 11:37:58 +00:00
Jeff Squyres
9f13808c1c Remove compiler warning
This commit was SVN r3330.
2004-10-26 11:18:10 +00:00
Jeff Squyres
9697a3977d Remove some compiler warnings
This commit was SVN r3329.
2004-10-26 10:56:08 +00:00
George Bosilca
317c894a26 Several minor & major bugfixes:
- reorder the code to accept LB and UB with ZERO count (it's MPI legal)
- improuve the LB & UB computation, It's still not completly clear how to handle them in some specific cases.

This commit was SVN r3328.
2004-10-26 06:15:22 +00:00
George Bosilca
2390f30522 Correct the indexed and vector constructor. Mainly take into account the ZERO value for some fields.
Improuve the creation of those datatypes.

This commit was SVN r3327.
2004-10-26 06:13:35 +00:00
George Bosilca
62eaa080aa Correct the case MPI_COMBINER_HINDEXED.
This commit was SVN r3326.
2004-10-26 06:11:55 +00:00
George Bosilca
69f9781901 Remove unused macros.
This commit was SVN r3325.
2004-10-26 06:11:25 +00:00
George Bosilca
6f8a8b6cba Remove useless function.
This commit was SVN r3324.
2004-10-26 06:09:38 +00:00
George Bosilca
3598e00558 Correctly allocate the displ array.
This commit was SVN r3323.
2004-10-26 06:08:35 +00:00
Rich Graham
0648d1de85 fix bugs to get multi-fragment shared memory communications to work.
This commit was SVN r3322.
2004-10-26 03:33:02 +00:00
Tim Woodall
32f326a4d6 fix regression
This commit was SVN r3321.
2004-10-25 20:29:25 +00:00
Tim Woodall
978b7d8826 removed debug
This commit was SVN r3320.
2004-10-25 20:27:54 +00:00
Jeff Squyres
72f6cf2e4f Ensure that attributes that copy to fail will return an error out of
MPI_COMM_DUP.

This commit was SVN r3319.
2004-10-25 20:20:07 +00:00
Tim Woodall
9030610348 changed process list to hashtable
This commit was SVN r3318.
2004-10-25 19:55:04 +00:00
Tim Woodall
a0f95c028e error during startup/library init
This commit was SVN r3317.
2004-10-25 19:54:22 +00:00
Tim Woodall
ee20f3c6b0 added a hash table indexed by ompi_process_name_t
This commit was SVN r3316.
2004-10-25 19:53:44 +00:00
Tim Woodall
088c97b14e fix for deadlock in connect/accept
This commit was SVN r3315.
2004-10-25 19:52:37 +00:00
Rich Graham
de49778184 add a pointer to the sending ptl. Used to process acks. Can't assume
that ptl address on send and receive side is the same.  This is set
once by the constructor.  Can't do this on the recv side, since a
fragment can be used for multiple destinations.

This commit was SVN r3314.
2004-10-25 18:02:46 +00:00
Rich Graham
826b5ebdf6 fix numerous bugs in the shared memory implementation. Can pass a
hello world test now.

This commit was SVN r3313.
2004-10-25 17:22:47 +00:00
Ralph Castain
1b7a7bae23 Ensure that proc_info.h and sys_info.h are only gone through once. Minor cleanup in universe_setup_file_io.c.
This commit was SVN r3312.
2004-10-25 14:14:20 +00:00
Ralph Castain
3e19906b95 Begin to "leak" the changes to the registry and supporting subsystems to resolve the flood situation and support abnormal terminations. These changes just define a new message structure for returning all startup/shutdown information in a single broadcast-like transmission. Shouldn't have any impact on existing code as the message object isn't used yet.
This commit was SVN r3311.
2004-10-25 13:36:09 +00:00
Tim Woodall
e6066c59f2 init code
This commit was SVN r3310.
2004-10-25 13:33:30 +00:00
George Bosilca
6c21293555 I dont believe that I did such stupid mistake !!! I start thinking about my punishment ...
This commit was SVN r3309.
2004-10-25 05:27:12 +00:00
George Bosilca
542630ad68 Remove the fprintf statements.
This commit was SVN r3308.
2004-10-24 23:16:27 +00:00
Rich Graham
2d54712b37 bug fixes.
This commit was SVN r3307.
2004-10-24 00:26:03 +00:00
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