Thread: problem with the library

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Eager young mind
    Join Date
    Jun 2006
    Posts
    342
    Actually,I am supposed to use FFTW in a parallel environment..I am using a hpc cluster to run my progs. I am using fftw-3.1.1 that has already ben installed. Will this work even for my parallel progs? Is there any version of FFTW that is meant particularly for parallel environment?

    And, if i have understood ur suggestion correctly is this right :
    1. the path to the lib files is
    Code:
               /compiler/fftw-3.1.1/lib
    This dir again contains three files :
    Code:
              libfftw3.a  libfftw3.la  pkgconfig
    so, does it suffice if the path to the lib points to this dir alone ?

    2. the path to my include files is :
    Code:
         /compiler/fftw-3.1.1/include
    this dir again contains fftw3.f and fftw3.h


    I did that and this is what i got afte r compilation :
    Code:
       
        /usr/bin/ld: cannot find -lfftw
        collect2: ld returned 1 exit status
    And if i removed "-lfftw" I got the same set of messages that i was getting initially..
    please help
    Last edited by kris.c; 07-03-2006 at 10:46 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. undefined Reference when linking a library
    By steve1_rm in forum C Programming
    Replies: 7
    Last Post: 03-12-2008, 05:34 PM
  2. Templates from DLL or static library problem
    By mikahell in forum C++ Programming
    Replies: 2
    Last Post: 01-01-2008, 01:49 AM
  3. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  4. Bin packing problem....
    By 81N4RY_DR460N in forum C++ Programming
    Replies: 0
    Last Post: 08-01-2005, 05:20 AM
  5. Problem With WinPcap library
    By DrMario in forum C Programming
    Replies: 0
    Last Post: 03-26-2005, 11:26 AM