<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>You might need to enable shared libraries explicitly when building FFTW3, at least if you are trying to enable the Gromacs libraries to be shared.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Cheers,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Erik</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Jan 19, 2006, at 12:46 PM, Dhananjay wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">*** Warning: This system can not link to static lib archive /usr/local/lib/libfftw3.la.<BR> *** I have the capability to make that library automatically link in when<BR> *** you link to this library. But I can only do this if you have a<BR> *** shared version of the library, which you do not appear to have.<BR> <BR> <BR> I hope this is the real error.<BR> <BR> Now please tell me what is wrong ? <BR><BR><DIV><SPAN class="gmail_quote">On 1/19/06, <B class="gmail_sendername">David van der Spoel</B> <<A href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</A>> wrote:</SPAN> <BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dhananjay wrote:<BR>> Well, I have Gromacs-3.3 with single precision.<BR>><BR>> lam-7.0.6 is alrady installed and fftw-3.0.1 with double precision is<BR>> also installed.<BR>> befire excuting following steps I have gone through following steps:<BR>><BR>> export CPPFLAGS=-I/usr/local/includ<BR>> export LDFLAGS=-L/usr/local/lib <BR>><BR>> then for Gromacs-3.3 with double precission I took following steps:<BR>><BR>> 1. make distclean<BR>> 2. ./configure --disable-float --enable-shared<BR>> 3. make<BR>><BR>> make has generated following error: <BR>><BR>> collect2: ld returned 1 exit status<BR>> make[3]: *** [grompp] Error 1<BR>> make[3]: Leaving directory<BR>> `/usr/data/dhananjay/Dhananjay_installation/Gromacs/gromacs-3.3/src/kernel'<BR>> make[2]: *** [all-recursive] Error 1 <BR>> make[2]: Leaving directory<BR>> `/usr/data/dhananjay/Dhananjay_installation/Gromacs/gromacs-3.3/src'<BR>> make[1]: *** [all] Error 2<BR>> make[1]: Leaving directory<BR>> `/usr/data/dhananjay/Dhananjay_installation/Gromacs/gromacs- 3.3/src'<BR>> make: *** [all-recursive] Error 1<BR>><BR>><BR>> What is wrong here ?<BR>You still don't print the real error.<BR><BR>><BR>><BR>> On 1/19/06, *David van der Spoel* <<A href="mailto:spoel@xray.bmc.uu.se"> spoel@xray.bmc.uu.se</A><BR>> <mailto:<A href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</A>>> wrote:<BR>><BR>> Dhananjay wrote:<BR>> > Hello all,<BR>> ><BR>> > I got error in installation of gromacs in double precision. The <BR>> error is<BR>> > as follows:<BR>> ><BR>> > collect2: ld returned 1 exit status<BR>> > make[3]: *** [grompp] Error 1<BR>> > make[3]: Leaving directory<BR>> > <BR>> `/usr/data/dhananjay/Dhananjay_installation/Gromacs/gromacs-3.3/src/kernel'<BR>> > make[2]: *** [all-recursive] Error 1<BR>> > make[2]: Leaving directory<BR>> > `/usr/data/dhananjay/Dhananjay_installation/Gromacs/gromacs- 3.3/src'<BR>> > make[1]: *** [all] Error 2<BR>> > make[1]: Leaving directory<BR>> > `/usr/data/dhananjay/Dhananjay_installation/Gromacs/gromacs-3.3/src'<BR>> > make: *** [all-recursive] Error 1 <BR>> ><BR>> > I have followed all the steps given on the web and still grtting<BR>> this error.<BR>> ><BR>> > Please tell me what is wrong here ?<BR>> you have not send the interesting bit of information, right before this, <BR>> i.e. the real error.<BR>> what platform is this?<BR>><BR>> ><BR>> > -- Dhananjay<BR>> ><BR>> ><BR>> ><BR>> ------------------------------------------------------------------------ <BR>> ><BR>> > _______________________________________________<BR>> > gmx-users mailing list<BR>> > <A href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</A> <mailto:<A href="mailto:gmx-users@gromacs.org"> gmx-users@gromacs.org</A>><BR>> > <A href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</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-users-request@gromacs.org">gmx-users-request@gromacs.org</A><BR>> <mailto:<A href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org </A>>.<BR>><BR>><BR>> --<BR>> David.<BR>> ________________________________________________________________________<BR>> David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group, <BR>> Dept. of Cell and Molecular Biology, Uppsala University.<BR>> Husargatan 3, Box 596, 75124 Uppsala, Sweden<BR>> phone: 46 18 471 4205 fax: 46 18 511 755<BR>> <A href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</A><BR>> <mailto:<A href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</A>> <A href="mailto:spoel@gromacs.org">spoel@gromacs.org </A><BR>> <mailto:<A href="mailto:spoel@gromacs.org">spoel@gromacs.org</A>> <A href="http://folding.bmc.uu.se">http://folding.bmc.uu.se</A><BR>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ <BR>> _______________________________________________<BR>> gmx-users mailing list<BR>> <A href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</A> <mailto:<A href="mailto:gmx-users@gromacs.org"> gmx-users@gromacs.org</A>><BR>> <A href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</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-users-request@gromacs.org">gmx-users-request@gromacs.org</A><BR>> <mailto:<A href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org </A>>.<BR>><BR>><BR>><BR>> ------------------------------------------------------------------------<BR>><BR>> _______________________________________________<BR>> gmx-users mailing list<BR>> <A href="mailto:gmx-users@gromacs.org"> gmx-users@gromacs.org</A><BR>> <A href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</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-users-request@gromacs.org">gmx-users-request@gromacs.org</A>.<BR><BR><BR>--<BR>David.<BR>________________________________________________________________________<BR>David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group, <BR>Dept. of Cell and Molecular Biology, Uppsala University.<BR>Husargatan 3, Box 596, 75124 Uppsala, Sweden<BR>phone: 46 18 471 4205 fax: 46 18 511 755<BR><A href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se </A> <A href="mailto:spoel@gromacs.org">spoel@gromacs.org</A> <A href="http://folding.bmc.uu.se">http://folding.bmc.uu.se</A><BR>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<BR>_______________________________________________ <BR>gmx-users mailing list<BR><A href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</A><BR><A href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</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-users-request@gromacs.org">gmx-users-request@gromacs.org</A>.<BR></BLOCKQUOTE></DIV><BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">gmx-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Please don't post (un)subscribe requests to the list. Use the<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">www interface or send it to <A href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</A>.</DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>-----------------------------------------------------------</DIV><DIV>Erik Lindahl <<A href="mailto:lindahl@sbc.su.se">lindahl@sbc.su.se</A>> Backup address: <<A href="mailto:erik.lindahl@gmail.com">erik.lindahl@gmail.com</A>></DIV><DIV>Assistant Professor, Computational Structural Biology</DIV><DIV>Stockholm Bioinformatics Center, Stockholm University, SE 106 91 Stockholm</DIV><DIV>Phone: +46 8 5537 8564 Fax: +46 8 5537 8214</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></DIV></BODY></HTML>