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

4277 Коммитов

Автор SHA1 Сообщение Дата
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
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
aca3abac5d * checkpoint for the evening
This commit was SVN r6423.
2005-07-11 21:00:08 +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
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
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
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 Woodall
e0c8991a6e checkpoint
This commit was SVN r6367.
2005-07-07 16:56:58 +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
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
George Bosilca
8e30d2e7cb Update the MX component using the MX library version 1.0. However, it require a patched version. I will add a configure test to see if the MX is patched or not (not patched version
lack the register_match callback).

This commit was SVN r6357.
2005-07-06 16:37:48 +00:00
Brian Barrett
465e206216 * fill in some more of the chunk mamagement code (chunks == array of memory
used for the rolling recv buffers for non-RDMA messages)

This commit was SVN r6355.
2005-07-05 22:15:35 +00:00
Brian Barrett
d4bd7252a0 * checkpoint - added a bunch of infrastructure for sends
This commit was SVN r6353.
2005-07-05 21:14:29 +00:00
Josh Hursey
3d9d67eae9 Initialize size_count to count to avoid non-deterministic behaviour when
we use it later.

This commit was SVN r6352.
2005-07-05 20:59:35 +00:00
Jeff Squyres
888f0c5afd Remove the EXTRA_DIST=VERSION stuff from all the Makefile.am's so that
"make dist" can succeed.  Duh.  :-\

This commit was SVN r6351.
2005-07-05 19:01:47 +00:00
Brian Barrett
d9fa62d1f2 * checkpoint while it compiles
This commit was SVN r6349.
2005-07-05 16:29:57 +00:00
Brian Barrett
acce172a87 * after checking with Tim, add MCA_BTL_TAG_MAX constant - avoid having to
hard code 256 into all the module structs.
* Update template btl to match change

This commit was SVN r6348.
2005-07-05 14:03:49 +00:00
Brian Barrett
e4f0e61afa * don't ever unignore the Portals ptl (keeping in the tree only as reference
for the Portals BTL)

This commit was SVN r6346.
2005-07-05 03:08:24 +00:00
Jeff Squyres
ba99409628 Major simplifications to component versioning:
- After long discussions and ruminations on how we run components in
  LAM/MPI, made the decision that, by default, all components included
  in Open MPI will use the version number of their parent project
  (i.e., OMPI or ORTE).  They are certaint free to use a different
  number, but this simplification makes the common cases easy:
  - components are only released when the parent project is released
  - it is easy (trivial?) to distinguish which version component goes
    with with version of the parent project
- removed all autogen/configure code for templating the version .h
  file in components
- made all ORTE components use ORTE_*_VERSION for version numbers
- made all OMPI components use OMPI_*_VERSION for version numbers
- removed all VERSION files from components
- configure now displays OPAL, ORTE, and OMPI version numbers
- ditto for ompi_info
- right now, faking it -- OPAL and ORTE and OMPI will always have the
  same version number (i.e., they all come from the same top-level
  VERSION file).  But this paves the way for the Great Configure
  Reorganization, where, among other things, each project will have
  its own version number.

So all in all, we went from a boatload of version numbers to
[effectively] three.  That's pretty good.  :-)

This commit was SVN r6344.
2005-07-04 20:12:36 +00:00
Jeff Squyres
6a9c9953bc Remove a bunch of -I's that are no longer necessary with
properly-prefixed static-component.h files.

This commit was SVN r6342.
2005-07-04 18:24:58 +00:00
Jeff Squyres
05e8cb7e5b Add a few -I's for ROMIO
This commit was SVN r6337.
2005-07-04 10:55:17 +00:00
Brian Barrett
170ef8af1f * rename ompi_show_help to opal_show_help
* rename ompi_stacktrace to opal_stacktrace
* rename ompi_strncpy to opal_strncpy

This commit was SVN r6336.
2005-07-04 02:38:44 +00:00
Brian Barrett
ed81e51c3a * rename ompi_printf to opal_printf
* rename ompi pty code to opal pty code
* rename ompi_qsort to opal_qsort

This commit was SVN r6335.
2005-07-04 02:16:57 +00:00
Brian Barrett
46245aaac1 * rename orte_os_create_dirpath to opal_os_create_dirpath
* rename orte_os_path to opal_os_path
* rename ompi_path_find to opal_path_find
* rename ompi_pow2 to opal_pow2

This commit was SVN r6334.
2005-07-04 01:59:52 +00:00
Brian Barrett
e55f99d23a * rename ompi_if to opal_if
* rename ompi_malloc to opal_malloc
* rename ompi_numtostr to opal_numtostr
* start of rename of ompi_environ to opal_environ

This commit was SVN r6332.
2005-07-04 01:36:20 +00:00
Brian Barrett
9f44b80291 * rename ompi_argv to opal_argv
* rename ompi_basename to opal_basename
* rename ompi bitop functions to opal
* rename ompi_cmd_line to opal_cmd_line
* rename ompi_sizet2int to opal_sizet2int
* rename orte_daemon_init to opal_daemon_init
* rename ompi_few to opal_few

This commit was SVN r6330.
2005-07-04 00:13:44 +00:00
Brian Barrett
a13166b500 * rename ompi_output to opal_output
This commit was SVN r6329.
2005-07-03 23:31:27 +00:00
Brian Barrett
23b687b0f4 * rename ompi_event to opal_event
This commit was SVN r6328.
2005-07-03 23:09:55 +00:00
Brian Barrett
39dbeeedfb * rename locking code from ompi to opal
This commit was SVN r6327.
2005-07-03 22:45:48 +00:00
Brian Barrett
ccd2624e3f * rename ompi_progress to opal_progress
This commit was SVN r6326.
2005-07-03 21:57:43 +00:00
Brian Barrett
9da0b4fe1d * rename all the atomic functions from ompi to opal
This commit was SVN r6325.
2005-07-03 21:38:51 +00:00
Brian Barrett
9f0c969bb4 * rename ompi_hash_table opal_hash_table
This commit was SVN r6324.
2005-07-03 16:52:32 +00:00
Brian Barrett
764a9314db * rename ompi_value_array opal_value_array
This commit was SVN r6323.
2005-07-03 16:38:52 +00:00
Brian Barrett
761402f95f * rename ompi_list to opal_list
This commit was SVN r6322.
2005-07-03 16:22:16 +00:00
Brian Barrett
499e4de1e7 * rename ompi_object and ompi_class to opal_object and opal_class
This commit was SVN r6321.
2005-07-03 16:06:07 +00:00
Jeff Squyres
35c141aef6 While we're moving directories around, move ompi/mpi/runtime ->
ompi/runtime, for consistency and parallel-ness will orte/runtime.
Also remove a few useless #includes along the way.

This commit was SVN r6317.
2005-07-03 12:07:29 +00:00
Brian Barrett
10f64999e9 * add -lorte and -lopal to the wrapper compilers
This commit was SVN r6315.
2005-07-03 04:06:59 +00:00
Brian Barrett
8cad33db40 * finish modex move
* fix protection in opal_free_list.h
* Fix some makefiles

This commit was SVN r6311.
2005-07-03 00:52:18 +00:00
Brian Barrett
e422152b55 * make romio compile
* fix typos in ompi/Makefile.am

This commit was SVN r6310.
2005-07-02 17:56:20 +00:00
Brian Barrett
e984f48ad9 * add missing Makefile to configure output
* Fix MPI profiling layer symlink code from src -> ompi
* Change some modex includes

This commit was SVN r6309.
2005-07-02 17:32:01 +00:00
Brian Barrett
e4400b1315 * add missing include file
This commit was SVN r6308.
2005-07-02 17:27:00 +00:00
Brian Barrett
8077da277b * move ompi_rb_tree from opal to ompi since it's only used in ompi, and should
have the ompi_free_list instead of the opal_free_list
* Change orte to use opal_free_list instead of ompi_free_list

This commit was SVN r6307.
2005-07-02 16:46:27 +00:00
Jeff Squyres
1b6326f76d Move module_exchange to pml/base
This commit was SVN r6305.
2005-07-02 16:12:04 +00:00
Brian Barrett
6a6f93637d * add mpool and allocator to makefile
This commit was SVN r6304.
2005-07-02 16:03:43 +00:00
Jeff Squyres
aa280da712 Forgot to move dynamic-mca/allocator and mpool over to ompi. opal now
no longer has any need for dynamic-mca

This commit was SVN r6293.
2005-07-02 15:38:36 +00:00
Jeff Squyres
959a08bf42 Compromise:
- move mpool and allocator frameworks back to ompi (from opal)
- specialize the ompi_free_list class to use an mpool instance
- un-specialize opal_free_list to *not* use mpool; just use malloc/free

This commit was SVN r6292.
2005-07-02 15:35:34 +00:00
Jeff Squyres
bf318e394c Move some OMPI-specific classes from opal->ompi
This commit was SVN r6288.
2005-07-02 15:21:32 +00:00
Jeff Squyres
aa056f7bfd First cut of OMPI Makefile.am's, plus a few more catchup updates in orte
This commit was SVN r6286.
2005-07-02 15:06:47 +00:00
Brian Barrett
0c16b5419e * first cut at autogen.sh / configure for new directory structure
* fix some broken makefile.ams

This commit was SVN r6277.
2005-07-02 14:29:45 +00:00
Jeff Squyres
a314578d94 Oops -- rmgr should be in orte, not ompi.
This commit was SVN r6274.
2005-07-02 14:14:42 +00:00
Jeff Squyres
3c99cf301a - Remove some empty directories (from before the directory re-org)
- Add zero-length Makefile.am's so that we can plug them into
  configure.ac now and not have to keep editing it

This commit was SVN r6273.
2005-07-02 14:13:35 +00:00
Jeff Squyres
05d7543b4e Move a small number of specialized classes back to ompi
This commit was SVN r6270.
2005-07-02 13:44:20 +00:00
Jeff Squyres
4ab17f019b Rename src -> ompi
This commit was SVN r6269.
2005-07-02 13:43:57 +00:00