Introduction
C user functions for performance tuning.
Several functions are present in the file, each specific to different performance tuning parameters.
Advanced mesh numbering
Advanced partitioning
Example 1
{
1,
false);
1,
false);
}
Example 2
Example 3
Example 4
{
int n_extra_partitions = 3;
int extra_partitions_list[] = {12, 24, 48};
}
Parallel IO
#if defined(HAVE_MPI_IO) && MPI_VERSION > 1
int block_rank_step = 8;
int block_min_size = 1024*1024*8;
MPI_Info_create(&hints);
MPI_Info_set(hints, "striping_factor", "8");
MPI_Info_set(hints, "striping_unit", "8388608");
MPI_Info_set(hints, "romio_cb_read", "automatic");
MPI_Info_set(hints, "romio_cb_write", "automatic");
MPI_Info_set(hints, "romio_ds_read", "automatic");
MPI_Info_set(hints, "romio_ds_write", "automatic");
MPI_Info_set(hints, "collective_buffering", "true");
MPI_Info_set(hints, "access_style", "read_once");
MPI_Info_free(&hints);
#endif
Matrix tuning