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

64 Коммитов

Автор SHA1 Сообщение Дата
George Bosilca
b70230858b Correct the misnaming problem in the GM PTL.
This commit was SVN r7424.
2005-09-19 10:34:06 +00:00
George Bosilca
97673b45d1 Remove the last bad symbol from the GM PTL.
This commit was SVN r7422.
2005-09-18 12:52:37 +00:00
George Bosilca
32cdc551af No more warnings in the GM PTL.
This commit was SVN r7385.
2005-09-15 15:29:31 +00:00
Jeff Squyres
5456d3444f - Add missing header files
- Use new #include file scheme

This commit was SVN r7367.
2005-09-14 09:37:20 +00:00
Galen Shipman
d932cfd342 merge of rcache work into the trunk.. lotsa fun ;-)..
I regression tested before the merge, I will regression test tonight and
correct issues that might have crept in. 

This commit was SVN r7329.
2005-09-12 22:28:23 +00:00
George Bosilca
6eef57c5f2 More dependencies work.
This commit was SVN r7317.
2005-09-12 20:20:51 +00:00
George Bosilca
efac21256b Add some more dependencies.
This commit was SVN r7316.
2005-09-12 20:19:46 +00:00
George Bosilca
13f4191334 Remove the gm_config.h file as now the GM defines are in the ompi_config.h.
Add some more header files for the next commit ... stay tuned ...

This commit was SVN r7315.
2005-09-12 19:55:21 +00:00
George Bosilca
f0e4cacd4d procs[proc]->proc_name.vpid is a size_t, so try to cast it before using sprintf.
This commit was SVN r7304.
2005-09-11 20:52:02 +00:00
Jeff Squyres
4aa75fa739 - Make opal_output_stream_t be a real opal_object_t so that it can use
a constructor, like the rest of the code base
- Convert usage in the tree to use the constructor to zero out an
  instance of opal_output_stream_t
- Still need to re-enable output files

This commit was SVN r7253.
2005-09-09 10:46:54 +00:00
George Bosilca
23cb29aefe The src directory is not used anymore but it's still present in the configure.params file. Anyway I don't think this file is used as the .h file does not exist ...
This commit was SVN r7219.
2005-09-07 17:16:41 +00:00
Brian Barrett
ed56e743b7 * update configure.ac to use the modern version of AC_INIT and
AM_INIT_AUTOMAKE, instead of the deprecated version.
* Work around dumbness in modern AC_INIT that requires the version
  number to be set at autoconf time (instead of at configure time, as
  it was before).  Set the version number, minus the subversion r number,
  at autoconf time.  Override the internal variables to include the r
  number (if needed) at configure time.  Basically, the right thing
  should always happen.  The only place it might not is the version
  reported as part of configure --help will not have an r number.
* Since AM_INIT_AUTOMAKE taks a list of options, no need to specify
  them in all the Makefile.am files.
* Addes support for subdir-objects, meaning that object files are put
  in the directory containing source files, even if the Makefile.am is
  in another directory.  This should start making it feasible to
  reduce the number of Makefile.am files we have in the tree, which
  will greatly reduce the time to run autogen and configure.

This commit was SVN r7211.
2005-09-07 05:54:53 +00:00
George Bosilca
5df64827c8 The MX BTL and PTL does not require the same version of the MX library. The BTL accept the
default version while the PTL require a patched version (iwith the mx_register_match_callback function).

This commit was SVN r7188.
2005-09-06 03:11:42 +00:00
Jeff Squyres
3962c53e2e - Add to AM_CPPFLAGS $(OPAL_LTDL_CPPFLAGS) where necessary in order to
add a -I to find the included ltdl.h (vs. a system-installed ltdl.h)
- Clean up kruft in a bunch of Makefile.am's to remove now-unnecessary
  AM_CPPFLAGS settings to get static-components.h for each framework
- Move the component_repository API functions out of opal/mca/base/base.h
  and into opal/mca/base/mca_base_component_repository.h in order to
  decrease unnecessary dependencies (e.g., before this, almost
  everything in the tree depended on ltdl.h, which is unnecessary --
  only a small number of files really need ltdl.h)

This commit was SVN r7127.
2005-09-01 12:16:36 +00:00
George Bosilca
abadd5a984 Oops typo ...
This commit was SVN r7123.
2005-09-01 03:41:15 +00:00
George Bosilca
414e8fabad mx_* functions return MX_* error codes ...
This commit was SVN r7122.
2005-09-01 03:40:48 +00:00
George Bosilca
12c09fef92 PTL GM now use the new configure system (m4 macros).
This commit was SVN r7070.
2005-08-28 01:38:58 +00:00
Brian Barrett
173e062fbb * Spell LIBS as LIBS not LIBX ;)
This commit was SVN r7069.
2005-08-27 17:38:50 +00:00
Jeff Squyres
a9777f902a Move all the ptl sm source code out of src (the Makefile.am treated it
that way anway) so that we can properly "make distcheck" easier.  Fix
the rule for making the sym link to ptl_sm_send_alternate.c so that
"distcheck" works.

This commit was SVN r6919.
2005-08-18 00:09:51 +00:00
Jeff Squyres
c465eb8567 Rename opal/threads/thread.h -> opal/threads/threads.h to avoid a
naming conflict with Solaris' <thread.h>

This commit was SVN r6879.
2005-08-15 11:02:01 +00:00
Jeff Squyres
cf16a521c8 Ensure to get ompi/include/constants.h
This commit was SVN r6845.
2005-08-12 21:42:07 +00:00
Jeff Squyres
e8dab828e0 Update the sm ptl per the fixes to the sm btl and common components
from yesterday.

This commit was SVN r6779.
2005-08-09 16:17:50 +00:00
George Bosilca
f062a679d9 I miss this one in the last patch (just a function name change).
This commit was SVN r6751.
2005-08-05 18:04:52 +00:00
George Bosilca
8b93cb7661 Rename all the functions starting with mca_base_modex to mca_pml_base_modex.
Change all the places where they are used to fit the new name.

Remove the code to check the remote arch from the PML. We will have a GPR mechanism
in ompi_mpi_initialize to do that.

This commit was SVN r6750.
2005-08-05 18:03:30 +00:00
George Bosilca
801037ed6c Migrating MX PTL to the new configure sub-system (shared by both MX BTL and MX PTL).
This commit was SVN r6634.
2005-07-27 23:39:56 +00:00
George Bosilca
d0eee91610 Change from opal_hash_table_[get|set|remove]_proc -> orte_hash_table_[get|set|remove]_proc
This commit was SVN r6558.
2005-07-20 06:42:33 +00:00
Jeff Squyres
f09fb6fff4 Update Makefile.am's to get common sm component for symbol resolution.
This commit was SVN r6551.
2005-07-19 14:51:23 +00:00
Jeff Squyres
74744dd9df Fix a holdover mistake from the directory re-org:
- orte/class/ompi_proc_table.[ch] -> orte/class/orte_proc_table.[ch]
- opal_hash_table_[get|set|remove]_proc -> 
  orte_hash_table_[get|set|remove]_proc

This commit was SVN r6549.
2005-07-19 12:25:19 +00:00
George Bosilca
a06f555707 MX is up running again. Several modifications:
- we modex send and receive a structure containing the nid id and the endpoint id. On the
  remote node we can recompose the endpoint_addr via mx_connect.
- accept several retry to mx_connect (up to 5 seconds ... soon to be a MCA param).
- correctly construct/destruct the internal objects.
- some others minor changes.

This commit was SVN r6535.
2005-07-15 23:38:38 +00:00
Jeff Squyres
657d10187e Remove a little more kurft.
This commit was SVN r6534.
2005-07-15 21:51:07 +00:00
Jeff Squyres
f41e4149fa - Add new mpool base function: lookup by module name. This allows
multiple components to share a single mpool module (e.g., the
  ptl/btl and coll sm components).
- Re-tool the ptl, btl, and coll sm components to first look for the
  target mpool module, and if they don't find it, to create it.
- coll sm component now correctly identifies when it is supposed to
  run or not (i.e., if all the processes in the communicator are on
  the same host).  Now we just need to fill in some algorithms.  :-)

This commit was SVN r6530.
2005-07-15 20:01:35 +00:00
George Bosilca
3b2d6826e8 MX is working again. It still require a patched version of Mx, but hopefully this patch
will be included on the next version of the MX software.

This commit was SVN r6527.
2005-07-15 18:03:28 +00:00
Jeff Squyres
51f8cd1442 Convert sm ptl to use the new OMPI_PROC_FLAG_LOCAL flag on the proc;
no longer use modex.

This commit was SVN r6521.
2005-07-15 15:22:15 +00:00
George Bosilca
47f3d1f5be Dont mix declarations and initializations.
This commit was SVN r6480.
2005-07-14 06:44:52 +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
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
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
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
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
Josh Hursey
048d5c1415 Added some userlevel error checking, and messaging.
This commit was SVN r6440.
2005-07-12 18:06:31 +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
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
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
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
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
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
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