* move around some ints -> mca_ns_base_jobid_t and clean up some compiler
warnings This commit was SVN r2492.
Этот коммит содержится в:
родитель
36c6cf574e
Коммит
11ff71089f
@ -10,7 +10,7 @@
|
||||
|
||||
#include "mca/mca.h"
|
||||
#include "mca/llm/llm.h"
|
||||
|
||||
#include "mca/ns/ns.h"
|
||||
|
||||
/*
|
||||
* Globally exported variable
|
||||
@ -38,11 +38,11 @@ extern "C" {
|
||||
|
||||
int mca_llm_hostfile_component_finalize(void);
|
||||
|
||||
ompi_list_t* mca_llm_hostfile_allocate_resources(int jobid,
|
||||
ompi_list_t* mca_llm_hostfile_allocate_resources(mca_ns_base_jobid_t jobid,
|
||||
int nodes,
|
||||
int procs);
|
||||
|
||||
int mca_llm_hostfile_deallocate_resources(int jobid,
|
||||
int mca_llm_hostfile_deallocate_resources(mca_ns_base_jobid_t jobid,
|
||||
ompi_list_t *nodelist);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -9,17 +9,18 @@
|
||||
#include "mca/llm/llm.h"
|
||||
#include "mca/llm/base/base.h"
|
||||
#include "mca/llm/base/base_internal.h"
|
||||
#include "mca/ns/ns.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
extern char *mca_llm_hostfile_filename;
|
||||
|
||||
ompi_list_t*
|
||||
mca_llm_hostfile_allocate_resources(int jobid, int nodes, int procs)
|
||||
mca_llm_hostfile_allocate_resources(mca_ns_base_jobid_t jobid,
|
||||
int nodes, int procs)
|
||||
{
|
||||
ompi_list_t *hostlist = NULL;
|
||||
ompi_list_t *nodelist = NULL;
|
||||
ompi_list_item_t *nodeitem;
|
||||
int ret;
|
||||
|
||||
/* start by getting the full list of available resources */
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "mca/llm/base/base_internal.h"
|
||||
|
||||
int
|
||||
mca_llm_hostfile_deallocate_resources(int jobid,
|
||||
mca_llm_hostfile_deallocate_resources(mca_ns_base_jobid_t jobid,
|
||||
ompi_list_t *nodelist)
|
||||
{
|
||||
ompi_list_item_t *item;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user