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

5178 Коммитов

Автор SHA1 Сообщение Дата
George Bosilca
47f3d1f5be Dont mix declarations and initializations.
This commit was SVN r6480.
2005-07-14 06:44:52 +00:00
Brian Barrett
52974d0553 * add missing header file when debugging is disabled
This commit was SVN r6479.
2005-07-14 05:02:53 +00:00
Brian Barrett
68b91e85ed * add checks for the hton and ntoh functions, since they don't exist on
Red Storm.  Add stub functions to ompi_config_bottom.h when they are
  around
* Add protection for a bunch of #include <netinet/in.h>s
* Fix up the Portals BTL so that it compiles on Red Storm and has the
  right mojo for initialization on Red Storm
* Add some important comments to ompi_check_package and mvapi configures
* Add support for platforms without getpwuid() (aka, Red Storm). 

This commit was SVN r6478.
2005-07-14 04:11:59 +00:00
Jeff Squyres
3d69646177 This PTL is long out of date and doesn't even compile. If we ever
need it back, it can be pulled out of the SVN history.

This commit was SVN r6477.
2005-07-14 02:24:07 +00:00
Ralph Castain
44ace2f64e Well, I think this will fix the bug Greg encountered when sending no triggers on a subscription. However, I can't test it since the trunk no longer runs on my Mac notebook - I get an error message "No ptl components available. This shouldn't happen." and the processes exit.
This commit was SVN r6476.
2005-07-14 01:32:36 +00:00
Greg Watson
de4b8b1a50 New bproc soh implementation.
This commit was SVN r6475.
2005-07-14 00:20:37 +00:00
Greg Watson
a0971116bd Copied from other compenents.
This commit was SVN r6474.
2005-07-14 00:19:41 +00:00
Greg Watson
f0a440a238 Bproc specific registry keys.
This commit was SVN r6473.
2005-07-14 00:18:36 +00:00
Greg Watson
935df416ab Updated to latest component model.
This commit was SVN r6472.
2005-07-14 00:18:00 +00:00
George Bosilca
e9a271c54a Get rid off all useless variables and PTL members.
This commit was SVN r6471.
2005-07-13 22:24:28 +00:00
George Bosilca
3edb6ad903 Do not forget to add the dependencies to the file compiled with the additional flag.
This commit was SVN r6470.
2005-07-13 21:58:13 +00:00
Tim Woodall
262cda14cf attempt to move posting of buffers out of critical path
This commit was SVN r6469.
2005-07-13 21:39:41 +00:00
Galen Shipman
c54bddde5f change with-mvapi to with-btl-mvapi
This commit was SVN r6468.
2005-07-13 21:34:11 +00:00
George Bosilca
77e4e5d1d4 The new pack function should get intensively tested. It should be the default one use
all the time. There is a performance problem (it's a lot slower than the optimized versions)
but otherwise it will never get tested intensively.

This commit was SVN r6467.
2005-07-13 21:29:14 +00:00
George Bosilca
b01c7ee66b The flags should be set to zero when we allocate the convertor.
This commit was SVN r6466.
2005-07-13 21:27:54 +00:00
George Bosilca
8641a794f8 They get freed in just one place. It's useless to have a macro for that.
This commit was SVN r6465.
2005-07-13 21:27:12 +00:00
Galen Shipman
dcbda13a72 Various bug fixes..
This commit was SVN r6464.
2005-07-13 21:13:30 +00:00
George Bosilca
e67650d54f Activate the UNIQ PML by default and give it the priority 0. It's still less than the TEG
PML but you can increase it if you add "pml_uniq_priority = 75" in your mca-params.conf
file.

This commit was SVN r6463.
2005-07-13 21:08:09 +00:00
Tim Prins
66777a7bc7 Lots of changes to the new bproc components:
- it will now wait for the child procs to exit then kill off the daemons
- if orted is in your path it will automatically be found, or you can
  specify its location.
- your LD_LIBRARY_PATH is now forwarded to the backend to make it easier to use
  shared libraries in nonstandard places

Still need to work on cleanup on the backend nodes.

This commit was SVN r6462.
2005-07-13 19:46:55 +00:00
George Bosilca
1cca889bbe Move the compilation of SM to the "new" model. No Makefile in the src, everything get compiled
directly in the sm directory.

This commit was SVN r6461.
2005-07-13 16:17:44 +00:00
Brian Barrett
17480a5965 * I've sprung yet another username, for the sandia machines
This commit was SVN r6460.
2005-07-13 16:15:32 +00:00
Jeff Squyres
b19004120f Update svn:ignore
This commit was SVN r6458.
2005-07-13 14:06:40 +00:00
Brian Barrett
2793bd6d76 * and fix a dumb typo from this morning
This commit was SVN r6457.
2005-07-13 13:35:21 +00:00
Brian Barrett
6371e26eab * fix some dumb mistakes in the if.c stubs committed last nigh
This commit was SVN r6456.
2005-07-13 13:20:22 +00:00
Brian Barrett
4a12652246 * fix bad typo in last commit :(
This commit was SVN r6455.
2005-07-13 04:16:56 +00:00
Brian Barrett
4d580fa706 * disable TCP ptl and oob components if there is no TCP support (look at
sockaddr_in - seems to be a good indicator)
* disable util/if code if no inet devices (again, no sockaddr_in)
* add enable/disable flag to disable stacktrace pretty-print code
  (defaults to enabled).  Seems there's something funky going on with
  the preprocessor on Red Storm that was causing problems - this was
  the easiest fix
* clean up a bunch of the configure.m4 files to remove bogus comments,
   properly comment them, fix the dumb logic for happy/unhappy
* Create a macro for testing both header and library for a package, 
  since we seem to do this kind of test quite often.  Handles the
  -I and -L search paths properly (including stripping out /usr and
  /usr/local if not needed)
* Converted mvapi components to configure.m4, using the nice new
  ompi_check_package macro (above)

This commit was SVN r6454.
2005-07-13 04:16:03 +00:00
Brian Barrett
586918853c * Turn thread support on by default, but disable both mpi and progress
threads (basically, same as before, but we now link the right thread
  libraries). 
* Add disable-io-romio flag to disable compiling ROMIO
* Migrathe mvapi btl from configure.stub to configure.m4

This commit was SVN r6453.
2005-07-13 01:07:31 +00:00
Galen Shipman
c1c4a5efba Compiling checkin of openib btl and mpool..
This commit was SVN r6452.
2005-07-13 00:17:08 +00:00
George Bosilca
7ca76f83aa pedantic ...
This commit was SVN r6451.
2005-07-12 21:53:47 +00:00
George Bosilca
02828d3c97 Finally I get the time to implement a correct reference count for datatypes. The problem
was that some datatypes can be used in order to create additional datatypes. In such cases
they should not get destroyed otherwise the user will not be able to retrieve how a 
datatype was created. So I decide to never increase the reference count for any predefined
datatypes (as we already know they will never get destroyed, except on finalize). For
the others, every time a datatype is user by another one I increase the reference count.
When I destroy a datatype, I parse (the internal structure args) and release one ref count
on all not predefined datatypes used by this one. Thus the datatypes get cleaned. The main
problem with this approach is the recursivity as this function can trigger another call
to itself (but I dont think it will be an issue).

This commit was SVN r6450.
2005-07-12 21:52:30 +00:00
Galen Shipman
d7bdc46ac9 compile error and warining fixes for openib..
This commit was SVN r6449.
2005-07-12 21:49:30 +00:00
George Bosilca
c560a296d1 Do not forget to release the temporary argv list when we're done.
This commit was SVN r6448.
2005-07-12 20:39:16 +00:00
George Bosilca
a59216d504 Do not forget to release the convertor when the proc get destroyed.
This commit was SVN r6447.
2005-07-12 20:25:47 +00:00
George Bosilca
e57b113a94 orte_abort was supposed to accept a variable number of arguments. But internally it didn't honor them. The second problem is that the opal_output does not accept a va_list as argument. So we have to create the string in the orte_abort and then print it out using opal_output.
This commit was SVN r6446.
2005-07-12 19:33:37 +00:00
George Bosilca
0b0c4c17a5 If the user explicitly specify a PML then print out it's name in the case where the PML was unable to initialize correctly.
This commit was SVN r6445.
2005-07-12 19:30:51 +00:00
Galen Shipman
ed1da1a7c8 verbs.h not vapi.h --- doh
This commit was SVN r6444.
2005-07-12 19:07:32 +00:00
Galen Shipman
ac527bdc78 Modified btl names as appropriate..
This commit was SVN r6443.
2005-07-12 19:02:39 +00:00
Tim Prins
fe09e33f14 correct the handling of stdin for bproc
This commit was SVN r6442.
2005-07-12 18:36:41 +00:00
Galen Shipman
2a2bb0c1e5 Modified the openib configure.stub files to search for openib libs in the
appropriate spot and also added a check for the libsysfs library required by openmpi. Modified the mvapi configure.stub to use AC_TRY_LINK for
pthreads. 

This commit was SVN r6441.
2005-07-12 18:06:54 +00:00
Josh Hursey
048d5c1415 Added some userlevel error checking, and messaging.
This commit was SVN r6440.
2005-07-12 18:06:31 +00:00
Brian Barrett
29b6112358 * remove module flag from linking romio - it should be in the romio component
(which it is) and not romio itself
* Work around dark, evil linker voodoo that prevented building both shared
  and static libraries on OS X.  The global variables in ad_init.c were
  not initialized, and so were marked as tentative definitions, which caused
  much pain for the linker later on.  Initializing them makes them
  actual definitions and the problem goes away.  I hate linkers.

This commit was SVN r6439.
2005-07-12 18:06:15 +00:00
George Bosilca
032fef3eac Respect the user requested PTLs. By default all PTLs can be loaded. If the include list is
present then all PTL's not in the include list are marked as not available. If the exclude
list is present then all PTLs in this list are marked as not available.

This commit was SVN r6438.
2005-07-12 16:19:35 +00:00
Ralph Castain
81af57707f Don't release the message buffer - the messaging function takes care of it.
This commit was SVN r6437.
2005-07-12 15:41:45 +00:00
Galen Shipman
4286dae71b Added the appropriate ignore and unignore files...
This commit was SVN r6436.
2005-07-12 13:39:59 +00:00
Galen Shipman
454fdff824 Initial commit of changes to the mvapi btl to the openib btl. Still need to
work on the configure.stub to correctly locate the ib libraries. 

This commit was SVN r6435.
2005-07-12 13:38:54 +00:00
George Bosilca
6aa956241f Solve the issues when several PML are available. The main problem here come from the fact that an PML
is a lot more difficult than a PTL, and it can adapt it's behavior to the level of threading required
by the user. In this case the behavior is the priorit of the PML. Therefore this information is never
availale before the init function (of the PML) is called. So I try to keep nearly the same structure
as it was before, with one change. When a PML get initialized it does not necessarily means it has been
selected, so it does not means it has to create all it's internal structures (and select the PTL and
all this stuff). They can all be done later, when a PML knows that it definitively get selected
(when the enable function is called with the argument set to true). Thus, in the case of a PML close
one have to check if the PML has been selected or not before trying to clean up the internals.

I had to change the MPI_Init function to allow the PML to be enabled before we start adding procs inside.

This commit was SVN r6434.
2005-07-12 05:40:56 +00:00
George Bosilca
59d886e6c7 pedantic ...
This commit was SVN r6433.
2005-07-12 05:31:30 +00:00
George Bosilca
3551f97329 Give a change to all datatype to get an optimized version. Even the contiguous ones ...
This commit was SVN r6432.
2005-07-12 05:31:12 +00:00
George Bosilca
a4548c9e89 This optimization require that the true extent of the data is equal to the size of the data. Not the extent.
This commit was SVN r6431.
2005-07-12 05:30:35 +00:00
George Bosilca
07ad024ed3 OMPI_ARCH_LONGLONGISxx is a mask so we can get the length of a long long.
This commit was SVN r6430.
2005-07-12 05:29:33 +00:00