1
1
Replace "ERROR" with "error".
Remove redefinitions of mca_sbgp_base_module_t.

This commit was SVN r27109.
Этот коммит содержится в:
Shiqing Fan 2012-08-22 14:53:46 +00:00
родитель 95b9552546
Коммит cc20409f60
7 изменённых файлов: 25 добавлений и 6 удалений

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

@ -139,7 +139,7 @@ static int ompi_sbgp_set_components_to_use(opal_list_t *sbgp_components_avail,
subgoups_requested[i]);
RELEASE_LIST_OF_STRINGS(sbgp_string);
rc = OMPI_ERROR;
goto ERROR;
goto error;
}
/* loop over discovered components */
for (item = opal_list_get_first(sbgp_components_avail) ;
@ -171,7 +171,7 @@ static int ompi_sbgp_set_components_to_use(opal_list_t *sbgp_components_avail,
if (NULL == clj) {
rc = OPAL_ERR_OUT_OF_RESOURCE;
RELEASE_LIST_OF_STRINGS(sbgp_string);
goto ERROR;
goto error;
}
/* fprintf(stderr,"sbgp selecting %s %s\n", sbgp_component, component_name); */
@ -195,7 +195,7 @@ static int ompi_sbgp_set_components_to_use(opal_list_t *sbgp_components_avail,
** release resources
** */
/* subgoups_requested */
ERROR:
error:
/* RELEASE_LIST_OF_STRINGS(subgoups_requested); */
return rc;

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

@ -15,7 +15,9 @@
#include "ompi_config.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
@ -53,7 +55,6 @@ const char *mca_sbgp_basesmsocket_component_version_string =
static int basesmsocket_open(void);
static int basesmsocket_close(void);
struct mca_sbgp_base_module_t;
static mca_sbgp_base_module_t *mca_sbgp_basesmsocket_select_procs(struct ompi_proc_t ** procs,
int n_procs_in,
struct ompi_communicator_t *comm,

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

@ -14,9 +14,13 @@
*/
#include "ompi_config.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include <errno.h>

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

@ -14,9 +14,13 @@
*/
#include "ompi_config.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include "ompi/constants.h"
@ -38,7 +42,6 @@ const char *mca_sbgp_basesmuma_component_version_string =
static int basesmuma_open(void);
static int basesmuma_close(void);
struct mca_sbgp_base_module_t;
static mca_sbgp_base_module_t *mca_sbgp_basesmuma_select_procs(struct ompi_proc_t ** procs,
int n_procs_in, struct ompi_communicator_t *comm, char *key, void *output_data);

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

@ -14,9 +14,13 @@
*/
#include "ompi_config.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include <errno.h>

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

@ -14,9 +14,13 @@
*/
#include "ompi_config.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include "ompi/constants.h"
@ -39,7 +43,6 @@ const char *mca_sbgp_p2p_component_version_string =
static int p2p_open(void);
static int p2p_close(void);
struct mca_sbgp_base_module_t;
static mca_sbgp_base_module_t * mca_sbgp_p2p_select_procs(struct ompi_proc_t ** procs,
int n_procs_in, struct ompi_communicator_t *comm, char *key, void *output_data);

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

@ -14,9 +14,13 @@
*/
#include "ompi_config.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include <errno.h>