Skip to content

Fix severe bug in standard many_fft FFTXlib and reintroduction of OpenMP Tasks

Giacomo Rossi requested to merge (removed):develop into develop

In this PR there's a bugfix for a severe bug in fft_parallel.f90, found after some tests: the fft_scatter_many_xy and fft_scatter_many_yz calls must be inside a !$omp single region in order to avoid any error due to OpenMP thread parallelism.

Moreover, OpenMP Tasks have been reintroduced: the user can chose between the standard version and the OpenMP Tasks version just by defining the macro __OPENMP_TASKS in the make.inc file. The OpenMP Tasks have been tested using Intel MKL and both Intel and GCC (from version 9.3.0) compilers.

Merge request reports