SIONlib
1.7.7
Scalable I/O library for parallel access to task-local files
|
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <time.h>
#include "mpi.h"
#include <sys/time.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include "sion.h"
#include "sion_debug.h"
#include "sion_error_handler.h"
#include "sion_internal.h"
#include "sion_fd.h"
#include "sion_filedesc.h"
#include "sion_printts.h"
#include "sion_mpi_internal_gen.h"
Go to the source code of this file.
Macros | |
#define | _XOPEN_SOURCE 700 |
Functions | |
int | _sion_errorprint_mpi (int rc, int level, const char *format,...) |
int | _sion_gen_info_from_gcomm_mpi (int numFiles, MPI_Comm gComm, int *filenumber, int *lrank, int *lsize) |
Splits a Communicator in numfiles different communicators. More... | |
int | _sion_get_info_from_splitted_comm_mpi (MPI_Comm gComm, MPI_Comm lComm, int *numComm, int *CommNumber, int *lrank, int *lsize) |
int | _sion_get_numfiles_from_file_mpi (char *fname) |
int | _sion_get_filenumber_from_files_mpi (char *fname, MPI_Comm gComm, int *numfiles, int *filenumber, int *lRank) |
int _sion_gen_info_from_gcomm_mpi | ( | int | numFiles, |
MPI_Comm | gComm, | ||
int * | filenumber, | ||
int * | lrank, | ||
int * | lsize | ||
) |
Splits a Communicator in numfiles different communicators.
[in] | numFiles | number of files |
[in] | gComm | global communicator |
[out] | filenumber | file number |
[out] | lrank | local rank |
[out] | lsize | local size |
Definition at line 73 of file sion_mpi_internal_gen.c.