#include <string.h>
#include "yac_mpi_internal.h"
#include "io_utils.h"
#include "math.h"
Go to the source code of this file.
|
static int | compare_int (const void *a, const void *b) |
|
static void | read_rank_list (char const *env_name, MPI_Comm comm, size_t *num_ranks_, int **ranks_) |
|
static void | read_io_rank_list (MPI_Comm comm, size_t *num_io_ranks, int **io_ranks) |
|
static void | check_io_max_num_ranks_per_node (MPI_Comm comm, size_t *num_io_ranks_, int **io_ranks_) |
|
static void | check_io_max_num_ranks (MPI_Comm comm, size_t *num_io_ranks, int **io_ranks) |
|
static void | check_io_rank_exclude_list (MPI_Comm comm, size_t *num_io_ranks, int **io_ranks) |
|
void | yac_get_io_ranks (MPI_Comm comm, int *local_is_io_, int **io_ranks_, int *num_io_ranks_) |
|
void | yac_nc_open (const char *path, int omode, int *ncidp) |
|
void | yac_nc_create (const char *path, int cmode, int *ncidp) |
|
void | yac_nc_inq_dimid (int ncid, char const *name, int *dimidp) |
|
void | yac_nc_inq_varid (int ncid, char const *name, int *varidp) |
|
◆ DEFAULT_MAX_NUM_IO_RANK_PER_NODE
#define DEFAULT_MAX_NUM_IO_RANK_PER_NODE (1); |
◆ IO_MAX_NUM_RANKS_PER_NODE
#define IO_MAX_NUM_RANKS_PER_NODE "YAC_IO_MAX_NUM_RANKS_PER_NODE" |
◆ IO_MAX_NUM_RANKS_STR
#define IO_MAX_NUM_RANKS_STR "YAC_IO_MAX_NUM_RANKS" |
◆ IO_RANK_EXCLUDE_LIST_STR
#define IO_RANK_EXCLUDE_LIST_STR "YAC_IO_RANK_EXCLUDE_LIST" |
◆ IO_RANK_LIST_STR
#define IO_RANK_LIST_STR "YAC_IO_RANK_LIST" |
◆ check_io_max_num_ranks()
static void check_io_max_num_ranks |
( |
MPI_Comm | comm, |
|
|
size_t * | num_io_ranks, |
|
|
int ** | io_ranks ) |
|
static |
◆ check_io_max_num_ranks_per_node()
static void check_io_max_num_ranks_per_node |
( |
MPI_Comm | comm, |
|
|
size_t * | num_io_ranks_, |
|
|
int ** | io_ranks_ ) |
|
static |
◆ check_io_rank_exclude_list()
static void check_io_rank_exclude_list |
( |
MPI_Comm | comm, |
|
|
size_t * | num_io_ranks, |
|
|
int ** | io_ranks ) |
|
static |
◆ compare_int()
static int compare_int |
( |
const void * | a, |
|
|
const void * | b ) |
|
inlinestatic |
◆ read_io_rank_list()
static void read_io_rank_list |
( |
MPI_Comm | comm, |
|
|
size_t * | num_io_ranks, |
|
|
int ** | io_ranks ) |
|
static |
◆ read_rank_list()
static void read_rank_list |
( |
char const * | env_name, |
|
|
MPI_Comm | comm, |
|
|
size_t * | num_ranks_, |
|
|
int ** | ranks_ ) |
|
static |
◆ yac_get_io_ranks()
void yac_get_io_ranks |
( |
MPI_Comm | comm, |
|
|
int * | local_is_io_, |
|
|
int ** | io_ranks_, |
|
|
int * | num_io_ranks_ ) |
◆ yac_nc_create()
void yac_nc_create |
( |
const char * | path, |
|
|
int | cmode, |
|
|
int * | ncidp ) |
◆ yac_nc_inq_dimid()
void yac_nc_inq_dimid |
( |
int | ncid, |
|
|
char const * | name, |
|
|
int * | dimidp ) |
◆ yac_nc_inq_varid()
void yac_nc_inq_varid |
( |
int | ncid, |
|
|
char const * | name, |
|
|
int * | varidp ) |
◆ yac_nc_open()
void yac_nc_open |
( |
const char * | path, |
|
|
int | omode, |
|
|
int * | ncidp ) |