[gmx-developers] Bug in src/mdlib/fft5d.c

Ake Sandgren ake.sandgren at hpc2n.umu.se
Tue Nov 15 19:05:22 CET 2011


Hi!

src/mdlib/fft5d.c line fft5d_plan_3d around line 430

--- site/src/mdlib/fft5d.c      2011-03-15 13:44:34.000000000 +0100
+++ fftwtest/src/mdlib/fft5d.c  2011-10-21 22:54:13.000000000 +0200
@@ -430,7 +430,7 @@
 #ifdef GMX_FFT_FFTW3  /*if not FFTW - then we don't do a 3d plan but
insead only 1D plans */
     if ((!(flags&FFT5D_INPLACE)) && (!(P[0]>1 || P[1]>1))) {  /*don't
do 3d plan in parallel or if in_place requested */  
             int fftwflags=FFTW_DESTROY_INPUT;
-            fftw_iodim dims[3];
+           FFTW(iodim) dims[3];
             int inNG=NG,outMG=MG,outKG=KG;
 
             FFTW_LOCK;

-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: ake at hpc2n.umu.se   Phone: +46 90 7866134 Fax: +46 90 7866126
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se




More information about the gromacs.org_gmx-developers mailing list