1
1

3753 Коммитов

Автор SHA1 Сообщение Дата
Josh Hursey
140f937880 preventing some barfing on the part of ln by forcing it to relink every single time
This commit was SVN r4530.
2005-02-24 19:00:26 +00:00
Edgar Gabriel
72ad1cbcf0 minor fixes
This commit was SVN r4528.
2005-02-24 15:27:17 +00:00
Edgar Gabriel
0fef989e1f first cut on the framework, which detects the two layer (sm/non-sm) hierarchy.
It compiles, is however still far, far away from being usable.

This commit was SVN r4527.
2005-02-24 15:11:07 +00:00
George Bosilca
e5d4e90b56 One more param test (the status cannot be NULL).
This commit was SVN r4523.
2005-02-24 00:13:27 +00:00
George Bosilca
33f62c7f75 Add a new entry in the MPI_Status struct. We need a place to keep the cancelled flag which can
be set using MPI_Status_set_cancelled.

This commit was SVN r4522.
2005-02-24 00:12:26 +00:00
George Bosilca
52529660e2 Unlike test the get_status function will not destroy the request. But we still call the
ompi_progress function.

This commit was SVN r4521.
2005-02-23 23:50:52 +00:00
George Bosilca
62aee24fd2 Do not unlock the mutex if it wasn't locked.
This commit was SVN r4513.
2005-02-23 08:21:02 +00:00
George Bosilca
3e437bbd7b Normally from the MPI point of view the count == 0 is LEGAL only for MPI_UB and MPI_LB. AND the MPI level
is responsible for checking this condition. At the datatype engine, I accept it just as a nice way to set
the soft UB for a data (without using a real UB marker). This approach can be used to create
the subarray and darray datatype. However from the MPI level this function should never be
called directly with a count set to 0.

This commit was SVN r4512.
2005-02-23 08:20:01 +00:00
George Bosilca
a02e269d9d Do not skip the current iteration if the length is zero.
This commit was SVN r4511.
2005-02-23 08:17:19 +00:00
George Bosilca
422eb0fa11 Add the 3 typeclass parameters MPI_TYPECLASS_INTEGER, MPI_TYPECLASS_REAL and MPI_TYPECLASS_COMPLEX.
This commit was SVN r4510.
2005-02-23 08:16:09 +00:00
George Bosilca
2dd9a4ab08 First cut of the darray type. I add the arg checking and the combiner creation. Next step ... the most
complex MPI type creation !!!

This commit was SVN r4509.
2005-02-23 08:10:23 +00:00
George Bosilca
9ff9af2ab6 The subarray type should now be completed. Even the combiner is correctly created ...
This commit was SVN r4508.
2005-02-23 08:08:49 +00:00
George Bosilca
4dd4de0c0b Correctly detect the predefined datatype for MPI_Type_match_size
And add the F90 INTEGER type (for MPI_TYPE_CREATE_F90_INTEGER).

This commit was SVN r4507.
2005-02-23 05:48:02 +00:00
Josh Hursey
0b41524cc6 Small adjustment...
This commit was SVN r4506.
2005-02-23 02:49:19 +00:00
George Bosilca
d4aacdccca Just to be 100% ANSI compliant the files using malloc and NULL require stdlib.h respectivly stdio.h.
This commit was SVN r4505.
2005-02-23 01:58:01 +00:00
George Bosilca
9de8c7db54 Remove the stdio.h and stdlib.h, they are useless.
This commit was SVN r4499.
2005-02-22 23:30:23 +00:00
George Bosilca
1c290b8c3a Update the Fortran match size MPI function. We have a different function here as we are not supposed to return
the same predefined datatype as in the C version. Each language is responsible to return datatypes matching
the current language.

This commit was SVN r4497.
2005-02-22 22:55:54 +00:00
George Bosilca
29ff7bfbb3 Correctly initialize the external32 convertor.
Add a match_size function. This function match depending on the language, the kind of data required and
the size. Special care should be taken for C++ if we are looking for integer or real types as C++ can
return C datatypes. We use MPI_DATATYPE_NULL as a return error if there is no matching datatype.

This commit was SVN r4496.
2005-02-22 22:34:27 +00:00
Jeff Squyres
e1a70f871d Add a little error checking to ensure that we got an mpool allocation.
This commit was SVN r4482.
2005-02-22 14:30:26 +00:00
Jeff Squyres
8834bd9e08 Temporarily turn this off -- active work is occurring elsewhere.
This commit was SVN r4481.
2005-02-22 14:29:10 +00:00
George Bosilca
0452af1cfd Add the types to the predefined data definitions. Correct the dumping function.
This commit was SVN r4480.
2005-02-22 08:15:39 +00:00
George Bosilca
c9c6ce1945 Starting to support the language and type flags for the data. They will be used to detect the
correct size in type_match_size function. I update the dump datatype function. However these flags are
only available for predefined datatypes, it's seems to be useless to use them for the derived datatypes ...

This commit was SVN r4479.
2005-02-22 07:40:42 +00:00
George Bosilca
40d42f38d4 Usefull to allow the tree to compile ... The definition of the external32 convertor and the initialization function.
This commit was SVN r4478.
2005-02-22 07:37:44 +00:00
George Bosilca
6640e334dc Add a bunch of unimplemented functions. We have now the external functions.
This commit was SVN r4477.
2005-02-22 00:17:31 +00:00
Josh Hursey
bf44a03b69 Fixed comments to reflect the notion that if a string parameter is read in from
a file then it will always have a value, even if that value is the empty string.
(e.g. it will never be NULL)

This commit was SVN r4476.
2005-02-21 19:09:14 +00:00
Josh Hursey
ba4bcc48db Added two new MCA Parameters:
* mpi_show_mca_params
   If set to true, this turns on the dumping of all MCA parameters when MPI_INIT is called. 
   Only the 'rank 0' processes will print the parameters.

* mpi_show_mca_params_file
   (This value is only used if the first argument is set to true) If this value is non-NULL 
   it specifies the file to put the dump into. This file can then be used as input to mpirun 
   for debugging purposes. If this value is not set (and mpi_show_mca_params is set) then 
   the parameters are dumped to stdout.

I also changed the following parameters to internal=true:
  gpr_base_replica
  ns_base_replica
  pcmclient_env_cellid

This commit was SVN r4475.
2005-02-21 18:56:30 +00:00
George Bosilca
d51fbdacd1 Add the copyright notice in the begining of all files.
Start the external32 representation.

This commit was SVN r4474.
2005-02-20 00:18:32 +00:00
George Bosilca
e9136c99f1 First cut of the architecture discovery files. Next step is defining external MPI type.
This commit was SVN r4473.
2005-02-19 23:53:26 +00:00
Brian Barrett
3185d3ce6c * Inline the function calls for PowerPC64 non-inline assembly.
This commit was SVN r4472.
2005-02-19 16:26:07 +00:00
Brian Barrett
9a864eb1d4 * Update to include IA64, which passes all tests in the test suite
This commit was SVN r4471.
2005-02-19 04:19:48 +00:00
Brian Barrett
5e415e6eb8 * ignore build gorp in the portals directory
This commit was SVN r4470.
2005-02-18 23:29:01 +00:00
Brian Barrett
60a1ca77e9 * Updates to make MIPS actually work. Could clean up the assembly a bit :)
This commit was SVN r4469.
2005-02-18 23:16:04 +00:00
George Bosilca
b3feadb830 Return a copy of the non predefined datatypes as expected by the MPI standard. For the
predefined ones just return a pointer to the original data.

This commit was SVN r4468.
2005-02-18 22:59:14 +00:00
George Bosilca
6752128a3f When we duplicate a datatype we should copy the optimized version if the datatype
was commited.

This commit was SVN r4467.
2005-02-18 22:57:23 +00:00
Brian Barrett
dc3165f1ea * fix dumb warning printing mistake
This commit was SVN r4466.
2005-02-18 20:26:46 +00:00
Brian Barrett
927c5be6c8 NOTE: You need to re-autogen after this commit. Sorry :(
* SPARC Assembly fixes:
  - Use SPARC assembly type only when not able to use the SPARC v9
    instruction set (instead of previous whenever sizeof(void*) == 4
  - Use SPARCV9_32 (aka sparc v8plus) and SPARCV9_64 (aka sparc v9) when
    possible.  Already were doing so for the 64bit, but on 32bit we
    were falling back to SPARC.
  - Implemented SPARCV9_32 atomic operations
  - Emit warning if user is going to get SPARC atomic, as that probably
    isn't what the user wants for best performance.
* Started shell of MIPS assembly.  Does not work, but wanted something
  so that everyone would only have to re-autogen once today....

This commit was SVN r4465.
2005-02-18 20:10:29 +00:00
Craig E Rasmussen
74af2a5fe4 Set default f90 MPI bindings to disabled.
This commit was SVN r4460.
2005-02-17 21:29:50 +00:00
Brian Barrett
8c9753fab3 * Assume we are using the UTCP NAL (at least, initially) so that we don't
have to have as many configure arguments for this to work right.

This commit was SVN r4453.
2005-02-16 20:31:00 +00:00
Jeff Squyres
c9e20af864 Clarification of the *_set() functions.
This commit was SVN r4448.
2005-02-16 18:02:27 +00:00
Brian Barrett
d679dbc859 * checkpoint of configure gorp for Portals. Still much to go.
This commit was SVN r4444.
2005-02-16 17:45:36 +00:00
Brian Barrett
0d82642b40 * Split thread support build conditionals into MPI threads and progress
threads (defaults to use MPI threads, disable progress threads).  This
  allows us to have MPI threaded support, but without progress threads
  and all that fun stuff.

This commit was SVN r4443.
2005-02-16 17:42:07 +00:00
Brian Barrett
b7c2c47494 Solaris portability fixes, round 1:
- Use fcntl.h, not sys/fcntl.h (man pages on every platform I could find
    say fcntl.h and solaris/AIX don't provide sys/fcntl.h)
  - Make timeradd macro available on platforms where sys/time.h exists but
    timeradd macro doesn't (Solaris)
  - Include util/printf.h from ompi_config_bottom.h so that ompi_asprintf
    and friends are always available.

This commit was SVN r4441.
2005-02-16 15:38:37 +00:00
Brian Barrett
b4c6328a26 * don't need atomic.s here any more
This commit was SVN r4439.
2005-02-15 19:36:51 +00:00
Brian Barrett
76ef91b7f6 * Update non-inlined Sparc64 assembly with slightly optimized code (saves a
couple register moves here and there).  Also inline the cmpset calls from
  the aquire and release cmpset calls, which should save a bunch.

This commit was SVN r4437.
2005-02-15 18:50:19 +00:00
Brian Barrett
3213187beb * Fix warning with redefining #define
* Fix compiler error on Sparc64 when not inlining assembly
* Fix error in Sparc64 compare&swap operations.  Now pass test suite

This commit was SVN r4436.
2005-02-15 18:37:47 +00:00
Brian Barrett
a2caf839c0 * Initial try at making OMPI atomic operations work properly on Solaris
- SPARC32 has spinlocks and "pseudo atomic" math
  - SPARC64 has spinlocks, compare & set, atomic math (still in s/w)

This commit was SVN r4433.
2005-02-14 22:07:08 +00:00
Brian Barrett
7a7c598391 * properly quote error message
This commit was SVN r4432.
2005-02-14 22:04:18 +00:00
Brian Barrett
0ad4523212 * Rather than having two .c files, one for inlining one for not, do some
magic via the command line and symlinks

This commit was SVN r4431.
2005-02-14 21:36:59 +00:00
Prabhanjan Kambadur
c66bd5a3a1 Defining OMPI_ATOMIC_ things to the right values. Before, they were simply defined (but not defined to a value). Now they are defined to 1 (correctly). This makes the new atomic scheme work on windows
This commit was SVN r4430.
2005-02-14 18:30:54 +00:00
Brian Barrett
4265304230 * Clean up some minor build system ick in the atomic operations
* Make sure the update.sh scripts all use OMPI_WANT_SMP_LOCKS
* Add sparc (32bit) assembly
  - Memory barriers
  - spinlocks
  - emulate add/sub using the spinlock table with hashed lookups, as
    suggested by the linux kernel folk (better than the other option,
    requiring the counters only use 24 bits)

This commit was SVN r4429.
2005-02-14 18:04:23 +00:00