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

3782 Коммитов

Автор SHA1 Сообщение Дата
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
Jeff Squyres
2706190b39 Bring over a small chunk of code improvement in ompi_info from the tim branch
This commit was SVN r4427.
2005-02-14 16:58:42 +00:00
George Bosilca
9a41c1a4df Some indentation plus one major change. The sequence number should not be increased when we match a
probe. For the iprobe normally we dont have to test, as the iprobe and this function are mutually exclusive protected by the same lock.

Now all intel *probe tests passe. The bug 1109 is closed :)

This commit was SVN r4426.
2005-02-14 08:54:22 +00:00
George Bosilca
0c21202e48 Two major changes:
- DO NOT call matched when we match a probe/iprobe as it's not the real request. This function should be
called only when we match the request that will get the data from the fragment(s).
- DO NOT remove the fragment when we match a probe/iprobe request. The data should be available for the
real receive ...

The others modifs are just for speedup and indentation.

This commit was SVN r4425.
2005-02-14 08:37:54 +00:00
George Bosilca
6037d279a9 For the probe, do not believe the information stored in the fragment. Instead use the one from the
provided header. This header is supposed to be a MATCH header, so it should have the correct
informations.

This commit was SVN r4424.
2005-02-14 08:33:10 +00:00
George Bosilca
7fdcca0b00 Set the flag to zero if no match was realized. And progress the engine on the iprobe.
This commit was SVN r4423.
2005-02-14 08:30:47 +00:00
George Bosilca
f431592887 small typo ... without warning from the compiler !!!
This commit was SVN r4422.
2005-02-14 08:28:49 +00:00
George Bosilca
1c2f0876a2 Do not desctruct the request object (as it's a static object). But we still have to call the
MCA_PML_BASE_RECV_REQUEST_RETURN (as we call the MCA_PML_BASE_RECV_REQUEST_INIT) in order to decrease
the ref count of the communicator and datatype.

This commit was SVN r4421.
2005-02-14 03:16:06 +00:00
Brian Barrett
260e3e0381 * Make sure we are enabling locks correctly on PPC
This commit was SVN r4420.
2005-02-13 22:42:34 +00:00
Brian Barrett
f2480b3c91 * Change space-indented llm to tab-indented like it was before the tim
branch was created so that there isn't a conflict there when merging
  back into the trunk

This commit was SVN r4419.
2005-02-13 21:11:52 +00:00
Jeff Squyres
93e702a3c8 Add new MCA param API functions:
- mca_base_param_set_int() -- set the value of an MCA int param from
  the API
- mca_base_param_set_string() -- set the value of an MCA string param
  from the API
- mca_base_param_unsed() -- unset a previously set MCA param (string
  or int)
- mca_base_param_dump() -- obtain a listing of all currently
  registered MCA params
- mca_base_param_dump_release() -- release the list of all registered
  MCA params that was obtained from mca_base_param_dump()

See Doxygen docs in src/mca/base/mca_base_param.h for details of these
functions.

This commit was SVN r4415.
2005-02-12 16:23:39 +00:00
George Bosilca
2b13a95162 Punishement time !!! I want to know which one of my finger did that, and I want to find out now !!!
This commit was SVN r4413.
2005-02-12 00:14:25 +00:00
George Bosilca
98b3feb5cd Protect a label used only in threaded case. No more warnings from the compiler.
This commit was SVN r4407.
2005-02-11 20:32:50 +00:00
George Bosilca
874f497b8a Unified reference count framework. For each request (send and receive) we have to manage the ref count
on communicators and datatypes. Now the management is done on the PML base and the others PML's just
have to use the corresponding macros from the base.

This commit was SVN r4406.
2005-02-11 20:32:10 +00:00
Jeff Squyres
db0891ff18 Brought over from the tim branch:
- Make the DEPENDENCIES a little clearner, and clear up a problem on at
  least one platform
- Remove old/unnecessary mpirun2 rules

This commit was SVN r4397.
2005-02-11 11:54:53 +00:00
George Bosilca
20d789feb1 Dont do any param check in this function as we call another MPI function and the checking will be done there.
This commit was SVN r4395.
2005-02-11 06:34:17 +00:00
George Bosilca
f24afe3bf8 Correctly (I hope) compute the contiguous flag. There is still a big question about the overlap flag:
should I compute it here with les precision or should be done in the commit phase. Anyway correctly
detecting the overlap is a difficult problem.

This commit was SVN r4394.
2005-02-11 06:32:38 +00:00
George Bosilca
194f764ad2 Always update max_data before returning from the pack functions.
And the condition to completly fill a buffer is <= not < !!!

This commit was SVN r4393.
2005-02-11 06:28:52 +00:00
George Bosilca
903e1afa3d Update the dump function to use the ompi_output facility.
This commit was SVN r4392.
2005-02-11 06:27:35 +00:00
Prabhanjan Kambadur
d82b1556bd Adding the OMPI_WINDOWS thingy to windows' hardcoded arch file
This commit was SVN r4380.
2005-02-10 20:53:20 +00:00
Prabhanjan Kambadur
9da9283d4e Adding protection for windows
This commit was SVN r4378.
2005-02-10 19:28:44 +00:00
Prabhanjan Kambadur
2439244f0c These are some changes which will enable dynamic builds to go through on Windows. Most of the changes are in adding/deleting windows symbol exporting things.
This commit was SVN r4377.
2005-02-10 19:08:35 +00:00