2DECOMP Logo Library for 2D pencil decomposition and distributed Fast Fourier Transform

Precision Guidelines

Following guidelines ensure that applications created using 2DECOMP&FFT can support single/double precision switch. Most of them are applicable to general Fortran programs.

If all the guidelines are properly followed, applications created will hopefully work for both single precision and double precision. Single precision is the default mode and switching to double can be done easily at compile time by passing the -DDOUBLE_PREC flag to the compiler.