#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <assert.h>
#include <string.h>
#include <unistd.h>
#include <mpi.h>
#include <yaxt.h>
#define VERBOSE
#include "tests.h"
static enum {
SMALL,
BIG,
} index_list_size = SMALL;
static void
parse_options(int *argc, char ***argv);
int main(int argc, char **argv) {
int my_rank;
parse_options(&argc, &argv);
{
src_stripe.
nstrides = (index_list_size == SMALL)?7:1023;
PUT_ERR("error in xt_xmap_get_num_destinations\n");
PUT_ERR("error in xt_xmap_get_num_destinations\n");
int rank;
if (rank != my_rank)
PUT_ERR("error in xt_xmap_get_destination_ranks\n");
if (rank != my_rank)
PUT_ERR("error in xt_xmap_get_source_ranks\n");
}
return TEST_EXIT_CODE;
}
static void
parse_options(int *argc, char ***argv)
{
int opt;
while ((opt = getopt(*argc, *argv, "s:")) != -1) {
switch (opt) {
case 's':
if (!strcmp(optarg, "small"))
index_list_size = SMALL;
else if (!strcmp(optarg, "big"))
index_list_size = BIG;
else
{
fprintf(stderr, "Unknown data size \"%s\"\n", optarg);
exit(EXIT_FAILURE);
}
}
}
}