1
1
This commit was SVN r7896.
Этот коммит содержится в:
Tim Woodall 2005-10-27 17:08:30 +00:00
родитель 4fc5b2105a
Коммит 7300112564

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

@ -293,13 +293,9 @@ static int orte_rmgr_urm_spawn(
{ {
int rc; int rc;
orte_process_name_t* name; orte_process_name_t* name;
struct timeval tv;
OPAL_TRACE(1); OPAL_TRACE(1);
gettimeofday(&tv, NULL);
fprintf(stderr, "orte_rmgr_urm_spawn: %lu:%lu - resource discovery\n", tv.tv_sec, tv.tv_usec);
/* /*
* Perform resource discovery. * Perform resource discovery.
*/ */
@ -311,9 +307,6 @@ static int orte_rmgr_urm_spawn(
mca_rmgr_urm_component.urm_rds = true; mca_rmgr_urm_component.urm_rds = true;
} }
gettimeofday(&tv, NULL);
fprintf(stderr, "orte_rmgr_urm_spawn: %lu:%lu - create job\n", tv.tv_sec, tv.tv_usec);
/* /*
* Initialize job segment and allocate resources * Initialize job segment and allocate resources
*/ /* JJH Insert C/N mapping stuff here */ */ /* JJH Insert C/N mapping stuff here */
@ -323,17 +316,11 @@ static int orte_rmgr_urm_spawn(
return rc; return rc;
} }
gettimeofday(&tv, NULL);
fprintf(stderr, "orte_rmgr_urm_spawn: %lu:%lu - allocate\n", tv.tv_sec, tv.tv_usec);
if (ORTE_SUCCESS != (rc = orte_rmgr_urm_allocate(*jobid))) { if (ORTE_SUCCESS != (rc = orte_rmgr_urm_allocate(*jobid))) {
ORTE_ERROR_LOG(rc); ORTE_ERROR_LOG(rc);
return rc; return rc;
} }
gettimeofday(&tv, NULL);
fprintf(stderr, "orte_rmgr_urm_spawn: %lu:%lu - map\n", tv.tv_sec, tv.tv_usec);
if (ORTE_SUCCESS != (rc = orte_rmgr_urm_map(*jobid))) { if (ORTE_SUCCESS != (rc = orte_rmgr_urm_map(*jobid))) {
ORTE_ERROR_LOG(rc); ORTE_ERROR_LOG(rc);
return rc; return rc;
@ -343,9 +330,6 @@ static int orte_rmgr_urm_spawn(
* setup I/O forwarding * setup I/O forwarding
*/ */
gettimeofday(&tv, NULL);
fprintf(stderr, "orte_rmgr_urm_spawn: %lu:%lu - I/O\n", tv.tv_sec, tv.tv_usec);
if (ORTE_SUCCESS != (rc = orte_ns.create_process_name(&name, 0, *jobid, 0))) { if (ORTE_SUCCESS != (rc = orte_ns.create_process_name(&name, 0, *jobid, 0))) {
ORTE_ERROR_LOG(rc); ORTE_ERROR_LOG(rc);
return rc; return rc;
@ -371,9 +355,6 @@ static int orte_rmgr_urm_spawn(
} }
} }
gettimeofday(&tv, NULL);
fprintf(stderr, "orte_rmgr_urm_spawn: %lu:%lu - launch\n", tv.tv_sec, tv.tv_usec);
/* /*
* launch the job * launch the job
*/ */
@ -382,9 +363,6 @@ static int orte_rmgr_urm_spawn(
return rc; return rc;
} }
gettimeofday(&tv, NULL);
fprintf(stderr, "orte_rmgr_urm_spawn: %lu:%lu - launch complete\n", tv.tv_sec, tv.tv_usec);
orte_ns.free_name(&name); orte_ns.free_name(&name);
return ORTE_SUCCESS; return ORTE_SUCCESS;
} }