[Pw_forum] Re: ld: cannot find -lfftw

Axel Kohlmeyer akohlmey at vitae.cmm.upenn.edu
Wed Mar 15 21:57:49 CET 2006


On Wed, 15 Mar 2006 stewart at cnf.cornell.edu wrote:

DS> Hi Anne, 
DS> 
DS>  Which compiler are you using for the installation?  If you are using the 
DS> intel compilers then it usually complains when linking to libraries that are 
DS> compiled with gnu compilers (gcc, g77).  One option would be to recompile 
DS> fftw with the intel compilers and link to that version of fftw.  Hopefully, 
DS> this will take care of your problem. 

nope. that cannot be it, in that case you get tons of
'undefined reference to...' warnings before the linker gives up.

regards,
    axel.

DS> 
DS> Regards, 
DS> 
DS> Derek 
DS> 
DS> 
DS> Anne P Shelton writes: 
DS> 
DS> > I am trying to install espresso-3.0 on an Intel server running Linux.
DS> > It seems to configure fine and find the necessary library but then I get
DS> > this error after I make all 
DS> > 
DS> > ld: skipping incompatible /usr/lib/libfftw.a when searching for -lfftw
DS> > ld: cannot find -lfftw
DS> > make[1]: *** [memory.x] Error 1 
DS> > 
DS> > I have installed the fftw 2.1.5 package. 
DS> > 
DS> > Any ideas. 
DS> > 
DS> > Thanks
DS> > _______________________________________________
DS> > Pw_forum mailing list
DS> > Pw_forum at pwscf.org
DS> > http://www.democritos.it/mailman/listinfo/pw_forum
DS>  
DS> 
DS> 
DS> ################################
DS> Derek Stewart, Ph. D.
DS> Scientific Computation Associate
DS> 250 Duffield Hall
DS> Cornell Nanoscale Facility (CNF)
DS> Ithaca, NY 14853
DS> stewart (at) cnf.cornell.edu
DS> (607) 255-2856 
DS> 
DS> _______________________________________________
DS> Pw_forum mailing list
DS> Pw_forum at pwscf.org
DS> http://www.democritos.it/mailman/listinfo/pw_forum
DS> 

-- 
=======================================================================
Axel Kohlmeyer   akohlmey at cmm.chem.upenn.edu   http://www.cmm.upenn.edu
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.




More information about the users mailing list