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

4988 Коммитов

Автор SHA1 Сообщение Дата
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
George Bosilca
717fa6c34f The ompi_ddt_optimize_short function is local to the datatype engine. Do not export it !
This commit was SVN r6429.
2005-07-12 05:28:39 +00:00
George Bosilca
3f466e2915 Small change with large benefits. Until now, in DEBUG mode we keep trace of the file and line number where
an object has been created. I slightly change this behaviour. Now, during the life time of an object (when
the reference count is > 0) we keep the place where the object was created and just before freeing the object
we set the location where the object get destroyed. So when we try to release an already destroyed object
we have the location where it happens (where the object get destroyed for the first time).

This commit was SVN r6428.
2005-07-12 05:26:37 +00:00
Brian Barrett
22dbdb2d66 * set universe size to be size of comm_world in initial setup. Means that
all required attributes are set even if the trigger never fires (the
  trigger can update the value, if needed.  This is all in MPI_Init, so
  that does not violate the standard)

This commit was SVN r6427.
2005-07-12 02:34:00 +00:00
Brian Barrett
6c9cba5d55 * protect pointer assignment, as registration will be NULL if special mpools
aren't used

This commit was SVN r6426.
2005-07-12 02:00:42 +00:00
Brian Barrett
e2fb3c4054 * fix mishandling of --with-bproc=yes and the like. Make sure to add -lbproc
to LIBS even if --with-bproc isn't given

This commit was SVN r6424.
2005-07-11 22:50:28 +00:00
Brian Barrett
aca3abac5d * checkpoint for the evening
This commit was SVN r6423.
2005-07-11 21:00:08 +00:00
Ralph Castain
49dbd29034 Only set singleton flag if not infrstructure when we get our name from a seed daemon.
This commit was SVN r6421.
2005-07-11 19:22:26 +00:00
Tim Prins
ba4d0fe5a1 change the new bproc components to use the new build system
This commit was SVN r6420.
2005-07-11 15:12:49 +00:00
Brian Barrett
6e4f33e48c * after careful consideration, there's really no reason to force config.m4
components to succeed with --enable-dist.  Instead, just add them to
  all_components and make dist will still work - we're going to stamp out
  the Makefiles no matter what
* Add missing header to ob1 pml for make dist
* Clean up the Portals BTL configure code

This commit was SVN r6413.
2005-07-10 01:09:31 +00:00
Brian Barrett
a991d883c1 * Rewrite ompi_mca.m4 to use m4_defined lists of projects (ompi, orte, etc.),
frameworks, and components without configure scripts instead of
  hard-coded shell variables (for projects and frameworks) and 
  shell variable building (for components).
* Add 3rd category of component configuration (in addition to configure
  scripts and no-configured components): configure.m4 components.  These
  components can only be built as part of OMPI (like no-configure), but
  can provide an m4 file that is run as part of the main configure
  script.  These macros can set whether the component should be built, 
  along with just about any other configuration wanted.  More care must
  be taken compared to configure components, as doing things like setting
  variables or calling AC_MSG_ERROR now affects the top-level configure
  script (so calling AC_MSG_ERROR if your component can't configure
  probably isn't what you want)
* Added support to autogen.sh for the configure.m4-style components,
  as well as building up the m4_define lists ompi_mca.m4 now expects
* Updated a number of macros to be more config.cache friendly (both
  so that config.cache can be used and so the test can be quickly
  run multiple times in the same configrue script):
    - ompi_config_asm
    - c_weak_symbols
    - c_get_alignment
* Added new macros to be shared when configuring components:
    - ompi_objc.m4 (this actually provides AC_PROG_OBJC - don't ask...)
    - ompi_check_xgrid
    - ompi_check_tm
    - ompi_check_bproc
* Updated a number of components to use configure.m4 instead of
  configure.stub
    - btl portals
    - io romio
    - tm ras and pls
    - bjs, lsf_bproc ras and bproc_seed pls
    - xgrid ras and pls
    - null iof (used by tm) 

This commit was SVN r6412.
2005-07-09 18:52:53 +00:00
George Bosilca
99340fd8d3 I don't think this one was intended to go inside ...
This commit was SVN r6404.
2005-07-08 21:57:04 +00:00
Brian Barrett
c0896ebe99 * have to define the constant in the negative case as well :(
This commit was SVN r6403.
2005-07-08 21:50:21 +00:00
Brian Barrett
79a1093fcc * add builddir/include to the list of -Is so that ompi_config.h can be
found when VPATH building.  Thanks to George for catching this

This commit was SVN r6402.
2005-07-08 21:05:18 +00:00
Josh Hursey
de5e0d4f2c (Re-)Added two MCA Parameters that must have been lost in the merge way back when:
* 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.

This commit was SVN r6401.
2005-07-08 21:01:37 +00:00
Tim Prins
d4151fa9fd properly fix the usage of the app pointer array by checking for NULLs instead of forcing it to be the same size as the number of entries
This commit was SVN r6395.
2005-07-08 18:48:25 +00:00
Brian Barrett
4fc6224af2 * allow mpicc to build applications that use internal headers by adding
the right -I flags if we want devel headers

This commit was SVN r6393.
2005-07-08 18:26:01 +00:00
Brian Barrett
0ae16f2ab7 * add local hook to remove static-components.h in distclean target. The
files are generated by configure, and not part of the tarball, so
  distclean would be the right place to remove them.

This commit was SVN r6390.
2005-07-08 13:54:12 +00:00
Brian Barrett
e4644c407c * as requested by ralph, include orted.h in the list of developer headers
This commit was SVN r6389.
2005-07-08 13:46:06 +00:00
George Bosilca
b226af1176 Tolerate the datatype with ZERO elements. They can have an optimized expression (sic!) ... Anyway there is a
warning message when we try to pack suck kind of datatypes.

This commit was SVN r6388.
2005-07-08 07:00:18 +00:00
George Bosilca
d38c8b6895 Be nice and remember the real type of the last data. Optimizing the optimization leads to strange behaviours ...
This commit was SVN r6387.
2005-07-08 06:50:43 +00:00
George Bosilca
6c6b18eb20 Quit when there is no more space in the iovec.
This commit was SVN r6386.
2005-07-08 06:49:07 +00:00
George Bosilca
9a448ece15 A more cleaner version of the pack function. It does not (yet!) have all the optimizations
from the old version but they will get inside quickly. 

This commit was SVN r6381.
2005-07-07 23:07:43 +00:00
George Bosilca
e3e49ae42f Force the usage of the new pack function.
This commit was SVN r6380.
2005-07-07 23:06:39 +00:00
George Bosilca
c502b6b38c Declare the global "local" convertor. This one can be used for all pack/unpack
direct calls.

This commit was SVN r6379.
2005-07-07 23:06:04 +00:00
George Bosilca
d0df88316e Declare and initialize the 2 predefined convertors.
This commit was SVN r6378.
2005-07-07 23:03:59 +00:00
George Bosilca
d796186911 If there is no datatype attached to the convertor there is nothing to release. This bug
happens only with the 2 predefined convertors ...

This commit was SVN r6377.
2005-07-07 23:03:19 +00:00
George Bosilca
8dea323088 Remember the last type when we do the datatype optimization.
This commit was SVN r6376.
2005-07-07 23:01:51 +00:00
George Bosilca
a7aa1a76bc Correctly use the new convertor. Now we have 2 generic predefined convertors. One is for
the external32 conversions (as specified in the MPI standard) the other one is the local
convertor that can be used for MPI_Pack and MPI_Unpack functions.

This commit was SVN r6375.
2005-07-07 23:00:55 +00:00
Tim Woodall
11f1f067c2 use the btls min rdma size as the cutoff (rdma offset) for the send protocol
This commit was SVN r6372.
2005-07-07 22:08:56 +00:00
Tim Woodall
a231d53666 corrections to frag size
This commit was SVN r6371.
2005-07-07 21:38:37 +00:00
Tim Woodall
eabdb860bc tuning
This commit was SVN r6370.
2005-07-07 20:58:57 +00:00
Tim Prins
5cdf0803d4 make the app pointer array blocksize 1 so the the size of the pointer array is the same as the number of apps. This was causing a segfault when trying to launch multiple apps.
This commit was SVN r6368.
2005-07-07 18:01:26 +00:00
Tim Woodall
e0c8991a6e checkpoint
This commit was SVN r6367.
2005-07-07 16:56:58 +00:00
Brian Barrett
e381ac08d9 * fix for a fix for a bug. mca/common doesn't have a common.h, so it didn't
look like a framework.  Add special exception for common.

This commit was SVN r6365.
2005-07-07 04:09:28 +00:00
Tim Woodall
269a30fb0e typo
This commit was SVN r6364.
2005-07-06 22:38:39 +00:00
George Bosilca
ff3e243be5 Similar with close, PTL open should not be called directly. The PML will do it anyway.
This commit was SVN r6363.
2005-07-06 19:22:16 +00:00
Ralph Castain
c72621c90e Add some finalization logic when universe isn't found and orte_init returns per MCA parameter.
This commit was SVN r6362.
2005-07-06 18:41:40 +00:00
Brian Barrett
6c232fb9ff * remove version file logic (now unused) from the no-configure component
code
* Add code to create m4_defined lists in mca_no_configure_components.m4 that
  list all the projects (opal, orte, ompi, etc.), all the frameworks in each
  project, and all the no-configure components in each framework.  These will
  eventually be used to remove all those lists from ompi_mca.m4

This does not require an autogen / configure.  Won't hurt, but not
required.

This commit was SVN r6361.
2005-07-06 18:38:57 +00:00
George Bosilca
407b921cc3 Protect the base PTL close against multiple call of close. The problem came mainly from the
fact that we have several PML and that each one will call the PTL close in their own
close function.

This commit was SVN r6360.
2005-07-06 18:26:16 +00:00
George Bosilca
2f83301c82 Do not call the base PTL close directly. This is the PML job.
This commit was SVN r6359.
2005-07-06 18:25:03 +00:00