示例#1
0
#include <stdio.h>
#include <string.h>
#include <assert.h>

#include "private.h"
#include "colls/colls.h"
#include "simgrid/sg_config.h"

XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_coll, smpi,
                                "Logging specific to SMPI (coll)");

s_mpi_coll_description_t mpi_coll_gather_description[] = {
  {"default",
   "gather default collective",
   smpi_mpi_gather},
COLL_GATHERS(COLL_DESCRIPTION, COLL_COMMA),
  {NULL, NULL, NULL}      /* this array must be NULL terminated */
};


s_mpi_coll_description_t mpi_coll_allgather_description[] = {
  {"default",
   "allgather default collective",
   smpi_mpi_allgather},
COLL_ALLGATHERS(COLL_DESCRIPTION, COLL_COMMA),
  {NULL, NULL, NULL}      /* this array must be NULL terminated */
};

s_mpi_coll_description_t mpi_coll_allgatherv_description[] = {
  {"default",
   "allgatherv default collective",
示例#2
0
/* This program is free software; you can redistribute it and/or modify it
 * under the terms of the license (GNU LGPL) which comes with this package. */

#include <stdio.h>
#include <string.h>
#include <assert.h>

#include "private.h"
#include "colls/colls.h"
#include "simgrid/sg_config.h"

XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_coll, smpi, "Logging specific to SMPI (coll)");

s_mpi_coll_description_t mpi_coll_gather_description[] = {
  {"default", "gather default collective", (void*)smpi_mpi_gather},
   COLL_GATHERS(COLL_DESCRIPTION, COLL_COMMA), {NULL, NULL, NULL}      /* this array must be NULL terminated */
};


s_mpi_coll_description_t mpi_coll_allgather_description[] = {
  {"default",
   "allgather default collective",
   (void*)smpi_mpi_allgather},
COLL_ALLGATHERS(COLL_DESCRIPTION, COLL_COMMA),
  {NULL, NULL, NULL}      /* this array must be NULL terminated */
};

s_mpi_coll_description_t mpi_coll_allgatherv_description[] = {
  {"default",
   "allgatherv default collective",
   (void*)smpi_mpi_allgatherv},