* use nameserver to get pids (not tested, does compile, still .ompi_ignored)
This commit was SVN r2537.
Этот коммит содержится в:
родитель
08f6491ae2
Коммит
f8a97cf51d
@ -21,6 +21,7 @@
|
|||||||
#include "util/argv.h"
|
#include "util/argv.h"
|
||||||
#include "util/numtostr.h"
|
#include "util/numtostr.h"
|
||||||
|
|
||||||
|
|
||||||
static mca_pcm_rms_job_item_t *
|
static mca_pcm_rms_job_item_t *
|
||||||
get_job_item(mca_ns_base_jobid_t jobid)
|
get_job_item(mca_ns_base_jobid_t jobid)
|
||||||
{
|
{
|
||||||
@ -54,7 +55,6 @@ get_pids_entry(mca_pcm_rms_job_item_t *job_item, mca_ns_base_vpid_t vpid)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
add_started_pids(mca_ns_base_jobid_t jobid, pid_t child_pid,
|
add_started_pids(mca_ns_base_jobid_t jobid, pid_t child_pid,
|
||||||
mca_ns_base_vpid_t lower, mca_ns_base_vpid_t upper)
|
mca_ns_base_vpid_t lower, mca_ns_base_vpid_t upper)
|
||||||
@ -147,9 +147,8 @@ mca_pcm_rms_allocate_resources(mca_ns_base_jobid_t jobid,
|
|||||||
|
|
||||||
/* For now, just punt on whether we can actually fullfill the request or not */
|
/* For now, just punt on whether we can actually fullfill the request or not */
|
||||||
total_procs = (nodes == 0) ? procs : nodes * procs;
|
total_procs = (nodes == 0) ? procs : nodes * procs;
|
||||||
#if 0 /* BWB - fix me */
|
node_alloc->start =
|
||||||
node_alloc->start = (int) ns_base_reserve_range(jobid, total_procs);
|
(int) ompi_name_server.reserve_range(jobid, total_procs);
|
||||||
#endif
|
|
||||||
node_alloc->nodes = nodes;
|
node_alloc->nodes = nodes;
|
||||||
node_alloc->count = procs;
|
node_alloc->count = procs;
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user