libsc  2.8.7
The SC library provides support for parallel scientific applications.
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
sc_scda_params Struct Reference

A parameter struct for the functions sc_scda_fopen_write and sc_scda_fopen_read. More...

#include <sc_scda.h>

Data Fields

sc_MPI_Info info
 info that is passed to MPI_File_open
 
unsigned fuzzy_everyn
 In average every n-th possible error origin returns a fuzzy error. More...
 
sc_rand_state_t fuzzy_seed
 The seed for the fuzzy error return. More...
 
int log_level
 The log level for the scda functions. More...
 

Detailed Description

A parameter struct for the functions sc_scda_fopen_write and sc_scda_fopen_read.

The struct may be extended in the future.

The option struct is a collective structure. If the options structure that is passed to a function is not the same on all processes, the whole following scda workflow has undefined behavior.

Field Documentation

◆ fuzzy_everyn

unsigned sc_scda_params::fuzzy_everyn

In average every n-th possible error origin returns a fuzzy error.

There may be multiple possible error origins in one top-level scda function. We return for each possible error origin a random error with the empirical probability of 1 / fuzzy_everyn but only if the respective possible error origin did not already cause an error without the fuzzy error return. In such a case, the actual error is returned. 0 means that there are no fuzzy error returns.

◆ fuzzy_seed

sc_rand_state_t sc_scda_params::fuzzy_seed

The seed for the fuzzy error return.

This value is ignored if fuzzy_everyn == 0. When in doubt use fuzzy_seed = 0.

◆ log_level

int sc_scda_params::log_level

The log level for the scda functions.

The possible values are documented in sc.h; cf. SC_LP_* macros.


The documentation for this struct was generated from the following file: