* some more warning elimination
This commit was SVN r2493.
Этот коммит содержится в:
родитель
11ff71089f
Коммит
6fa0e03a4d
@ -24,8 +24,6 @@ mca_pcm_base_send_schedule(FILE *fp,
|
||||
int num_procs)
|
||||
{
|
||||
int i, envc;
|
||||
ompi_list_item_t *node_item;
|
||||
mca_llm_base_hostfile_data_t *node;
|
||||
|
||||
fprintf(fp, START_KEY);
|
||||
fprintf(fp, "%d\n", PROTOCOL_VERSION);
|
||||
|
@ -168,9 +168,11 @@ mca_pcm_rsh_init(int *priority,
|
||||
|
||||
/* copy over the function pointers */
|
||||
mca_pcm_rsh_1_0_0.pcm_allocate_resources =
|
||||
mca_pcm_rsh_llm.llm_allocate_resources;
|
||||
(mca_pcm_base_allocate_resources_fn_t)
|
||||
mca_pcm_rsh_llm.llm_allocate_resources;
|
||||
mca_pcm_rsh_1_0_0.pcm_deallocate_resources =
|
||||
mca_pcm_rsh_llm.llm_deallocate_resources;
|
||||
(mca_pcm_base_deallocate_resources_fn_t)
|
||||
mca_pcm_rsh_llm.llm_deallocate_resources;
|
||||
|
||||
/* DO SOME PARAM "FIXING" */
|
||||
/* BWB - remove param fixing before 1.0 */
|
||||
|
@ -61,7 +61,10 @@ mca_pcmclient_singleton_get_self(void)
|
||||
|
||||
if (NULL == mca_pcmclient_singleton_procs) {
|
||||
ret = init_proclist();
|
||||
if (OMPI_SUCCESS != ret) return ret;
|
||||
if (OMPI_SUCCESS != ret) {
|
||||
errno = ret;
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
return &mca_pcmclient_singleton_procs[0];
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user