1
1

Replica functionality tested and now complete. Proxy functionality remains to be developed.

This commit was SVN r1630.
Этот коммит содержится в:
Ralph Castain 2004-07-12 14:14:13 +00:00
родитель d5a4bf5798
Коммит b1656d227f
4 изменённых файлов: 0 добавлений и 17 удалений

Просмотреть файл

@ -23,8 +23,6 @@ ompi_process_name_t* ns_base_create_process_name(ompi_process_id_t cell,
{
ompi_process_name_t *newname;
ompi_output(mca_ns_base_output, "create_process_name\n");
newname = OBJ_NEW(ompi_process_name_t);
if (NULL == newname) { /* got an error */
return(NULL);

Просмотреть файл

@ -44,7 +44,6 @@ int mca_ns_base_select(bool *allow_multi_user_threads,
/* Call the component's init function and see if it wants to be
selected */
ompi_output(mca_ns_base_output, "base_select: calling component init\n");
module = component->ns_init(&multi, &hidden, &priority);
/* If we got a non-NULL module back, then the component wants to
@ -52,7 +51,6 @@ int mca_ns_base_select(bool *allow_multi_user_threads,
module with the highest priority */
if (NULL != module) {
ompi_output(mca_ns_base_output, "base_select: got non-NULL module\n");
/* If this is the best one, save it */
if (priority > best_priority) {
@ -91,7 +89,6 @@ int mca_ns_base_select(bool *allow_multi_user_threads,
/* We have happiness -- save the component and module for later
usage */
ompi_output(mca_ns_base_output, "ns_select: best_pri %d\n", best_priority);
ompi_name_server = *best_module;
mca_ns_base_selected_component = *best_component;
mca_ns_base_selected = true;

Просмотреть файл

@ -22,11 +22,7 @@
ompi_process_id_t ns_replica_create_cellid(void)
{
ompi_output(mca_ns_base_output, "entered replica create cellid\n");
return(1);
if ((OMPI_NAME_SERVICE_MAX-1) >= mca_ns_replica_last_used_cellid) {
ompi_output(mca_ns_base_output, "create cellid: last_used %d\n", mca_ns_replica_last_used_cellid);
mca_ns_replica_last_used_cellid = mca_ns_replica_last_used_cellid + 1;
return(mca_ns_replica_last_used_cellid);
} else {

Просмотреть файл

@ -119,12 +119,8 @@ mca_ns_t* mca_ns_replica_init(bool *allow_multi_user_threads, bool *have_hidden_
/* If we're the seed, then we want to be selected, so do all the
setup and return the module */
ompi_output(mca_ns_base_output, "replica init called\n");
if (ompi_process_info.seed) {
ompi_output(mca_ns_base_output, "replica: am seed\n");
mca_ns_replica_last_used_cellid = 0;
mca_ns_replica_last_used_jobid = 0;
@ -137,15 +133,11 @@ mca_ns_t* mca_ns_replica_init(bool *allow_multi_user_threads, bool *have_hidden_
/* We allow multi user threads but don't have any hidden threads */
ompi_output(mca_ns_base_output, "replica: assign thread values\n");
*allow_multi_user_threads = true;
*have_hidden_threads = false;
/* initialize the name tracker */
ompi_output(mca_ns_base_output, "replica: construct name tracker");
OBJ_CONSTRUCT(&mca_ns_replica_name_tracker, ompi_list_t);
/* Return the module */