1
1

30 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
bcd4797389 Commit 4 of 4 for bringing the changes over from the hetero branch.
Merged in from:

svn merge -r5506:5553 https://svn.open-mpi.org/svn/ompi/tmp/hetero .

This commit was SVN r5552.

The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
  r5506
  r5553
2005-05-01 00:58:06 +00:00
Jeff Squyres
6a0282b4a1 Commit 3 of 4 for bringing over the changes from the hetero branch.
Merged from:

svn merge -r5496:5506 https://svn.open-mpi.org/svn/ompi/tmp/hetero .

This commit was SVN r5551.

The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
  r5496
  r5506
2005-05-01 00:54:12 +00:00
Brian Barrett
309ff000a6 * add --enable-mca-static to specify components that should be statically
linked into libmpi
* add --enable-mca-direct to specify components that should be directly
  called (instead of going through component structs and the like).  The
  components and component frameworks must explicitly support this.
  Currently, only the TEG PML does so.
* Updated all the calls to the PML to use a macro so that they can either
  be direct called or called through function pointer interfaces (aka
  the component infrastructure)

This commit was SVN r5291.
2005-04-13 03:19:48 +00:00
Jeff Squyres
428a38a29a Update logic for debug streams
This commit was SVN r5016.
2005-03-24 20:23:15 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Brian Barrett
6822a519bb * results from initial merge of the tim branch into the trunk. Compiles and
ompi_info works, but that's all that has been tested.

This commit was SVN r4827.
2005-03-14 20:57:21 +00:00
Ralph Castain
bc6973cb02 Add a new interface function to the name server that returns the highest vpid allocated to a given job. This lets the caller determine how many vpids have been allocated to the job since vpids are always allocated contiguously.
Also, blow away a static-components.h file that accidentally got committed - should only be locally generated.

This commit was SVN r3918.
2005-01-07 16:03:55 +00:00
Ralph Castain
5e560cb148 Fix a problem that affected attributes - we were missing the vm_register function call.
This commit was SVN r3692.
2004-12-03 21:05:22 +00:00
Jeff Squyres
616269a9be Add HLRS copyright
This commit was SVN r3665.
2004-11-28 20:09:25 +00:00
Jeff Squyres
e9ed717748 First cut at copyrights: IU, UTK, and some OSU. LANL and HLRS still
pending.

This commit was SVN r3655.
2004-11-22 01:38:40 +00:00
George Bosilca
9659288e74 I hate waiting on the airports. SO I start doing something usefull ...
I remove a lot of inter-dependence, I use the struct_t type.
BEWARE not all the function are ready.

This commit was SVN r3524.
2004-11-05 07:52:30 +00:00
Prabhanjan Kambadur
4c8c62204d some additional changes that were made to the code yesterday.
This commit was SVN r3467.
2004-11-02 13:14:34 +00:00
Prabhanjan Kambadur
4257467fec this is the big windows commit. there are more things which have gone into this than i can remember. but basically, we are looking for
1. header file and source file protections using #ifdef WIN32
2. new files and directories to support windows functionality
3. appropritate linkage symbols added (OMPI_DECLSPEC) for windows
4. some functions are unimplemented on the windows side. this is mostly
because there might not be need to implement it in windows land. eg., forking
a daemon off
5. Introduced locking mechanisms for windows

This commit was SVN r3286.
2004-10-22 16:06:05 +00:00
Ralph Castain
e74404c787 Add a function (ompi_name_server.convert_jobid_to_string(jobid)) to the name server that converts a jobid to a string representation. There are several places in the code where this is required - to date, people have been "printing" it themselves. This is risky since otherwise the system (when using the get_jobid_string function) may well return a different format string. Using this function guarantees compatibility between the various methods for obtaining a jobid string.
This commit was SVN r3237.
2004-10-20 18:18:07 +00:00
Ralph Castain
c6cbe33d50 Some of these didn't really change - I was just in/out of them for diagnostics while chasing a bug. Got caught by my good buddy Tim again :) on his parse_contact_info function, which requires that the space for the answer be allocated in advance. Sigh. Anyway, mpirun2 now works again. My apologies if you tried it in the last few hours and found it didn't.
Also removed the mpirun3 directory since we are basically dragging mpirun2 along with us - no need to create a new version after all.

Made a few changes to the universe info structure, eliminating the "webserver" and "socket" fields since we will do those contacts through the oob channel. Also changed the "silent_mode" field to "console" since silent mode is the default - the flag needs to tell you to turn the console on, not off.

Parse environ function now gets the ns and gpr replica contact info and loads it in the proper places to hand it off to the respective components, thus allowing me to check connection to them as part of determining if the named universe already exists. Changed the local_universe_exists function accordingly and gave it a new name (since the replicas may not be local). This name will shortly be changed to "ompi_rte_join_universe" as I complete the logic for doing that function.

Please let me know if you see any problems. I successfully ran some trivial multi-process functions in both mpirun2 and singleton modes, and ran the seed daemon as well, so I think it should all be okay.

This commit was SVN r2611.
2004-09-11 12:56:52 +00:00
Ralph Castain
106e07f759 Some reorganization of the startup process functions that is transparent to anyone using mpirun2 and/or running as a singleton. Please note that the old mpirun script may well not work any more - I have not been trying to keep that one running.
For those of you looking into the guts of these functions, the most visible changes are:

- raising the assignment of the process name to a higher level, taking it out of the "hole" it had fallen into. We've been having problems with multiple functions assigning the process name. This is understandable - lots of workarounds were implemented in the early development stages. However, it was becoming hard to determine WHEN the name was being defined - it was being hidden under too many layers of function calls. Hence, it is now assigned in the three primary programs in a very visible fashion. Hopefully, we can now chase down all the other places and get rid of them.

- similarly, I raised the visibility of when the session directory gets constructed to ensure it doesn't get done at the wrong time and/or multiple times.

- created a new function that parses all the non-mca level environmental variables and assigns the info into the corresponding structures. I have also included notes in this function and in the various ompi_rte_init_stage functions about proper ordering.

- modified the rte cmd line parsers to store the options they find into the environment so they can be passed along later

That about does it.

This commit was SVN r2589.
2004-09-10 03:21:03 +00:00
Ralph Castain
c1ba40c631 Fix mpirun2 and ompi_mpi_init to be fully backward compatible. All required values are now passed via environmental parameters, and the receiving parties know what to do with them.
Added a field to the ompi_rte_node_schedule_t structure to keep track of the number of items on the environ list, thus making it easier to append more things to it. Adjusted the mca_pcm_base_build_base_env function correspondingly to take that field as an additional argument.

Changed mpirun2 to a .c program for convenience since it wasn't using any c++ features anyway.

This commit was SVN r2561.
2004-09-09 15:23:41 +00:00
Ralph Castain
7fc8600483 Mostly added a bunch of diagnostic messaging (only on when specific mca params are set) to try and debug the problems being observed in mpirun2. Found a couple of minor things that seem to now enable the system to run on the Mac. Believe these are all the changes involved - will check with another checkout.
This commit was SVN r2467.
2004-09-03 13:54:34 +00:00
Ralph Castain
4f7febc161 NOTE: These changes may break any code that uses the ompi_process_name_t type. Please recompile and check for the changes detailed below.
Major change to the name server system to introduce the OOB interface. Changed the ompi_process_name_t to no longer be an OBJ, but instead just a regular C structure. Include the packing-based oob interface.

This commit was SVN r2114.
2004-08-13 15:09:24 +00:00
Jeff Squyres
eb8cba98af - massive change for module<-->component name fixes throughout the
code base.
  - many (most) mca type names have "component" or "module" in them,
    as relevant, just to further distinguish the difference between
    component data/actions and module data/actions.  All developers
    are encouraged to perpetuate this convention when you create
    types that are specific to a framework, component, or module
  - did very little to entire framework (just the basics to make it
    compile) because it's just about to be almost entirely replaced
  - ditto for io / romio
  - did not work on elan or ib components; have to commit and then
    convert those on a different machine with the right libraries and
    headers
- renamed a bunch of *_module.c files to *_component.c and *module*c
  to *component*c (a few still remain, e.g., ptl/ib, ptl/elan, etc.)
- modified autogen/configure/build process to match new filenames
  (e.g., output static-components.h instead of static-modules.h)
- removed DOS-style cr/lf stuff in ns/ns.h
- added newline to end of file src/util/numtostr.h
- removed some redundant error checking in the top-level topo
  functions
- added a few {} here and there where people "forgot" to put them in
  for 1 line blocks ;-)
- removed a bunch of MPI_* types from mca header files (replaced with
  corresponding ompi_* types)
- all the ptl components had version numbers in their structs; removed
- converted a few more elements in the MCA base to use the OBJ
  interface -- removed some old manual reference counting kruft

This commit was SVN r1830.
2004-08-02 00:24:22 +00:00
Ralph Castain
4a8db78261 Update name server to setup for oob remote operations. Move all remote calling functions to new location, setup replica for blocking thread to receive requests (not implemented yet).
This commit was SVN r1669.
2004-07-13 11:56:26 +00:00
Ralph Castain
ce78b2eee7 Checkpoint code - something wrong with debugging output.
This commit was SVN r1626.
2004-07-12 02:44:25 +00:00
Jeff Squyres
4c14a1cd7e Refinement of the first cut of the ns framework.
- added in selection logic for ns
- made all types consistent in ns
- made replica component match types and base selection logic; it only
  allows itself to be selected in the seed
- copied replica component to "proxy" and altered the selection logic;
  it only allows itself to be selected when *not* in the seed.  All
  of the body functions in proxy need to be implemented; this is only
  a skeleton for now so that MPI programs have a ns component to
  select (because they're not the seed) and can therefore run
  properly.
- added mca_ns_base_open/close to ompi_rte_init/finalize

This commit was SVN r1621.
2004-07-11 04:34:47 +00:00
Ralph Castain
3dc6e1248c Fix location of class instance.
This commit was SVN r1620.
2004-07-11 02:31:30 +00:00
Ralph Castain
2f5e6c85d3 Update functions
This commit was SVN r1617.
2004-07-11 01:19:22 +00:00
Ralph Castain
8e1d0bccf2 Completing file moves...
This commit was SVN r1614.
2004-07-11 00:21:40 +00:00
Ralph Castain
96abd45aab Got to do some file moving - sorry about the multiple messages.
This commit was SVN r1613.
2004-07-11 00:10:52 +00:00
Ralph Castain
82d984c3f7 Instance the ompi_name_class.
This commit was SVN r1595.
2004-07-08 15:00:30 +00:00
Ralph Castain
670b8bf1c1 Begin installing functionality for the name server. Not ready for use at this time - just trying to keep the repository somewhere near where I am.
This commit was SVN r1589.
2004-07-08 12:43:30 +00:00
Ralph Castain
0f86a5f772 Add the base functions - and yes, they do compile :-)
Put a permanent fix into the include files to avoid the circular reference. You only need to include the "base.h" file now and it will pickup the ns.h file for you. Anyone working on components for the name server, however, should be warned that including the ns.h directly by itself (instead of going through base.h) will yield several unresolved errors.

Ignore the replica component - it is bogus at this time.

This commit was SVN r1537.
2004-07-02 01:24:53 +00:00