[gmx-developers] Minor CMAKE/fftw3 problem VS2010 x64 - finally solved
roland at utk.edu
Tue Feb 28 01:34:36 CET 2012
On Mon, Feb 27, 2012 at 7:17 PM, Mirco Wahab <
mirco.wahab at chemie.tu-freiberg.de> wrote:
> Am 28.02.2012 00:58, schrieb Roland Schulz:
> > I know almost nothing about Windows DLL linking. So I don't quite
> > understand what your saying and assume you're right. But somehow I got
> > it working without this FFTW_DLL. See here:
> > Thus I'm confused why you need it.
> Yes, this seems to work. But does anybody know where
> this very fftw3f lib comes from? Is the library a dll
> compiled with VS2010? Or mingw64-compiled and
> converted afterwards?
> The out-of-the-box header file [fftw3.h] states:
> 71 /* IMPORTANT: for Windows compilers, you should add a line
> 72 */
> 73 #define FFTW_DLL
> 74 /*
> 75 here and in kernel/ifftw.h if you are compiling/using FFTW as a
> 76 DLL, in order to do the proper importing/exporting, or
> 77 alternatively compile with -DFFTW_DLL or the equivalent
> 78 command-line flag. This is not necessary under MinGW/Cygwin, where
> 79 libtool does the imports/exports automatically. */
> I had once a mingw-fftw3 - but it was slow and I didn't manage
> to get it multithreaded, so I tried a native build (works faster).
OK. That explains it. I took the fftw precompiled from
http://www.fftw.org/install/windows.html and it has the #define FFTW_DLL
not commented out.
> Thanks and regards
> gmx-developers mailing list
> gmx-developers at gromacs.org
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-developers-request at gromacs.org.
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gromacs.org_gmx-developers