#include <mpi.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include "yac.h"
#include "yac_utils.h"
#include "toy_multi_common.h"
Go to the source code of this file.
◆ STR_USAGE
| #define STR_USAGE "Usage: %s -n cube edge length\n" |
◆ YAC_ASSERT
| #define YAC_ASSERT |
( |
| exp, |
|
|
| msg ) |
Value: { \
if(!((exp))) { \
fprintf(stderr,
"ERROR: %s\n" STR_USAGE, msg, argv[0]); \
exit(EXIT_FAILURE); \
} \
}
Definition at line 20 of file toy_multi_cube.c.
◆ parse_arguments()
| static void parse_arguments |
( |
int | argc, |
|
|
char ** | argv, |
|
|
size_t * | cube_n ) |
|
static |