FILE* debug = 0;
#endif
-#ifdef GMX_FFT_FFTW3
+#if GMX_FFT_FFTW3
+
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/mutex.h"
/* none of the fftw3 calls, except execute(), are thread-safe, so
fprintf(debug, "Running on %d threads\n", nthreads);
}
-#ifdef GMX_FFT_FFTW3
+#if GMX_FFT_FFTW3
/* Don't add more stuff here! We have already had at least one bug because we are reimplementing
* the low-level FFT interface instead of using the Gromacs FFT module. If we need more
* generic functionality it is far better to extend the interface so we can use it for
}
}
-#ifdef GMX_FFT_FFTW3
+#if GMX_FFT_FFTW3
}
#endif
if ((flags&FFT5D_ORDER_YZ)) /*plan->cart is in the order of transposes */
int s = 0, tstart, tend, bParallelDim;
-#ifdef GMX_FFT_FFTW3
+#if GMX_FFT_FFTW3
if (plan->p3d)
{
if (thread == 0)
plan->oNout[s] = 0;
}
}
-#ifdef GMX_FFT_FFTW3
+#if GMX_FFT_FFTW3
FFTW_LOCK;
#ifdef FFT5D_MPI_TRANSPOS
for (s = 0; s < 2; s++)