<br><br><div class="gmail_quote">On Mon, Feb 27, 2012 at 7:17 PM, Mirco Wahab <span dir="ltr"><<a href="mailto:mirco.wahab@chemie.tu-freiberg.de">mirco.wahab@chemie.tu-freiberg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am 28.02.2012 00:58, schrieb Roland Schulz:<br>
<div class="im">> I know almost nothing about Windows DLL linking. So I don't quite<br>
> understand what your saying and assume you're right. But somehow I got<br>
> it working without this FFTW_DLL. See here:<br>
> <a href="http://jenkins.gromacs.org/job/Gromacs_Gerrit_4_6/405/OPTIONS=Compiler=msvc%20CompilerVersion=2010%20host=bs_Win7_64,label=bs_Win7_64/consoleFull" target="_blank">http://jenkins.gromacs.org/job/Gromacs_Gerrit_4_6/405/OPTIONS=Compiler=msvc%20CompilerVersion=2010%20host=bs_Win7_64,label=bs_Win7_64/consoleFull</a><br>
> Thus I'm confused why you need it.<br>
<br>
</div>Yes, this seems to work. But does anybody know where<br>
this very fftw3f lib comes from? Is the library a dll<br>
compiled with VS2010? Or mingw64-compiled and<br>
converted afterwards?<br>
<br>
The out-of-the-box header file [fftw3.h] states:<br>
...<br>
71 /* IMPORTANT: for Windows compilers, you should add a line<br>
72 */<br>
73 #define FFTW_DLL<br>
74 /*<br>
75 here and in kernel/ifftw.h if you are compiling/using FFTW as a<br>
76 DLL, in order to do the proper importing/exporting, or<br>
77 alternatively compile with -DFFTW_DLL or the equivalent<br>
78 command-line flag. This is not necessary under MinGW/Cygwin, where<br>
79 libtool does the imports/exports automatically. */<br>
...<br>
<br>
<br>
I had once a mingw-fftw3 - but it was slow and I didn't manage<br>
to get it multithreaded, so I tried a native build (works faster).<br></blockquote><div><br></div><div>OK. That explains it. I took the fftw precompiled from <a href="http://www.fftw.org/install/windows.html">http://www.fftw.org/install/windows.html</a> and it has the #define FFTW_DLL not commented out.</div>
<div><br></div><div>Roland</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks and regards<br>
<div class="HOEnZb"><div class="h5"><br>
M.<br>
<br>
--<br>
gmx-developers mailing list<br>
<a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
Please don't post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov">cmb.ornl.gov</a><br>865-241-1537, ORNL PO BOX 2008 MS6309<br>