1
1

29 Коммитов

Автор SHA1 Сообщение Дата
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
832f4b566c Add a new function to the name server that takes a base and offset and returns the corresponding vpid.
Fix the soh code.

This commit was SVN r3848.
2004-12-20 01:48:37 +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
Ralph Castain
bf4bfd7472 This will have zero impact on current operations. It adds some functionality for monitoring system state-of-health to support the Eclipse interface project. No use is made of that functionality in the system yet, but this will come along soon. I'll provide more info on exactly what information is now being stored later.
This commit was SVN r3672.
2004-11-30 16:27:32 +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
Ralph Castain
48b0b10464 For some unknowable reason, svn refused to pickup the ns subtree. Checked the whole thing out again, copied the correct files on top of the old ones, and now recommitting them.
This commit was SVN r3645.
2004-11-20 19:20:13 +00:00
Brian Barrett
23a6d5bb60 * roll back r3584 (gpr changes to reduce floods) as it appears to cause
some instability on Linux

This commit was SVN r3587.

The following SVN revision numbers were found above:
  r3584 --> open-mpi/ompi@52add381d0
2004-11-17 02:30:07 +00:00
Brian Barrett
52add381d0 * Merge over the gpr changes Ralph has made on the gpr-integration branch.
This may trigger a complete rebuild :(.  Short overview of changes:

  - reduce number of network slams at startup
  - prevent gpr from hanging when doing process death code
  - general gpr cleanups

This commit was SVN r3584.
2004-11-16 22:53:33 +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
Prabhanjan Kambadur
dac14aaf94 committing the header file fixes for protection against C++ name mangling. This is a hge commit. Please make sure that your files are protected right. There is some redundan protection in that the protection has been added right at teh beginning and at teh end ion some cases even thught typedefs are not requred to be protected. But this was done in order to have teh minimal change to the code base
This commit was SVN r3246.
2004-10-20 22:31:03 +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
55fa43dbcf Move the definition of the OMPI_NAME_ARGS macro to the name server for general use - great shorthand for obtaining the three components when outputing diagnostic info!
This commit was SVN r2899.
2004-09-30 21:34:29 +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
c79ecdbd8e Add a new function to the name server - assign_cellid_to_process - that looks up the cellid for a given process and inserts it into the provided process name.
Well....at least, that's what it will do eventually! For now, it just sticks a zero in the field.

Hey - at least it does *something*! :-)

This commit was SVN r2280.
2004-08-24 19:05:04 +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
Brian Barrett
567c777904 * reintroduce r1965, with change in ns_proxy_component so that functions
are in the right order in the process struct

This commit was SVN r2006.

The following SVN revision numbers were found above:
  r1965 --> open-mpi/ompi@48c8d55b6d
2004-08-10 17:58:23 +00:00
Brian Barrett
882c458534 * back out r1965 until we can figure out why it causes failures. Also edit
comm_join and comm_connect to #if 0 out the calls to the ns added in 
  r1965

This commit was SVN r1994.

The following SVN revision numbers were found above:
  r1965 --> open-mpi/ompi@48c8d55b6d
2004-08-10 02:36:49 +00:00
Ralph Castain
48c8d55b6d Update the name server functions. Added the converter from string to process name, fixed a few other things.
This commit was SVN r1965.
2004-08-08 17:29:45 +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
Brian Barrett
32264acd56 * rename ompi_process_t to mca_ns_{cellid, jobid, vpid}_t, both to fix the
confusion over the overused typedef and to conform to the naming MCA
  naming convention.

This commit was SVN r1815.
2004-07-27 23:49:08 +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
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
2f5e6c85d3 Update functions
This commit was SVN r1617.
2004-07-11 01:19:22 +00:00
Ralph Castain
dd38683d93 Cleanup base functions to compile.
This commit was SVN r1615.
2004-07-11 00:57: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
Tim Woodall
7d3037f796 All -- please confirm that code at least compiles
before checking in....

This commit was SVN r1533.
2004-07-01 19:41:25 +00:00
Ralph Castain
27e903626b This brings the name server documentation up-to-date and in some form of doxygen format. Still need to work on the base.h file, but the API definitions are in the ns/ns.h file anyway.
This commit was SVN r1532.
2004-07-01 19:21:56 +00:00
Ralph Castain
6eed97c7f9 Updated version of name server include files to mca format. Putting this in main branch since (I guess) we have abandoned the /tmp/rte safe zone. Sorry to anyone this 'breaks'.
This commit was SVN r1528.
2004-07-01 15:33:17 +00:00