SIONlib  1.7.7
Scalable I/O library for parallel access to task-local files
Macros | Functions
sion_mpi_internal_gen.c File Reference
#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"
Include dependency graph for sion_mpi_internal_gen.c:

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)
 

Function Documentation

◆ _sion_gen_info_from_gcomm_mpi()

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.

Parameters
[in]numFilesnumber of files
[in]gCommglobal communicator
[out]filenumberfile number
[out]lranklocal rank
[out]lsizelocal size

Definition at line 73 of file sion_mpi_internal_gen.c.