DistDir
Functions
Setting

Functions

void distdir_initialize ()
 Initialize the library. More...
 
void distdir_finalize ()
 Finalize the library. More...
 
void set_config_exchanger (int exchanger_type)
 Set library exchanger type. More...
 
void set_config_verbose (int verbose_type)
 Set library verbosity. More...
 
void set_config_sort (int sort_type)
 Set library sort algorithm. More...
 
int get_config_exchanger ()
 get current exchanger configuration More...
 
int get_config_verbose ()
 get current verbose configuration More...
 
int get_config_sort ()
 get current sert algorithm configuration More...
 

Detailed Description

User interface to setup the library

Function Documentation

◆ distdir_finalize()

void distdir_finalize ( )

Finalize the library.

Finalize MPI and the library configuration

◆ distdir_initialize()

void distdir_initialize ( )

Initialize the library.

Initialize MPI if not already done and the library configuration

◆ get_config_exchanger()

int get_config_exchanger ( )

get current exchanger configuration

Return a value of the distdir_exchanger enum.

Returns
value of the distdir_exchanger enum

◆ get_config_sort()

int get_config_sort ( )

get current sert algorithm configuration

Return a value of the distdir_sort enum.

Returns
value of the distdir_sort enum

◆ get_config_verbose()

int get_config_verbose ( )

get current verbose configuration

Return a value of the distdir_verbose enum.

Returns
value of the distdir_verbose enum

◆ set_config_exchanger()

void set_config_exchanger ( int  exchanger_type)

Set library exchanger type.

It can also be set up with environment variable DISTDIR_EXCHANGER. The function should be called before a call to new_exchanger.

Parameters
[in]exchanger_typeexchanger type using values of distdir_exchanger enum

◆ set_config_sort()

void set_config_sort ( int  sort_type)

Set library sort algorithm.

It can also be set up with environment variable DISTDIR_SORT. The function should be called before a call to new_map.

Parameters
[in]sort_typesort algorithm type using values of distdir_sort enum

◆ set_config_verbose()

void set_config_verbose ( int  verbose_type)

Set library verbosity.

It can also be set up with environment variable DISTDIR_VERBOSE.

Parameters
[in]verbose_typeverbose type using values of distdir_verbose enum