slightly better ..still not good enough
Some development :
Code:
my prog name is fourier_pc.c
1. the location of fftw-3.1.1 is : /compiler/fftw-3.1.1
the contents of the lib dir are : libfftw3.a libfftw3.la pkgconfig
the contents of the include dir are : fftw3.f fftw3.h
2.the location of the threaded version of fftw-3.1.1 is : /compiler/fftw-3.1.1-dp-threads
the contents of the lib dir are :
libfftw3l.a libfftw3l.la
libfftw3l_threads.a libfftw3l_threads.la
pkgconfig
the contents of the include dir are : fftw3.f fftw3.h
3. the location of ACML is : /compiler
THis is what i have done till noiw :
$> pathcc -c -I/compiler/fftw-3.1.1/include fourier_pc.c -L/compiler/fftw-3.1.1/lib -lfftw3
$> gcc fourier_pc.o -L/compiler/fftw-3.1.1/lib -L/compiler/fftw-3.1.1-dp-threads/lib -L/compiler/acml3.1.0/pathscale64/lib -L/compiler/pathscale/lib/2.4 -lpthread -lfftw3l_threads -lfftw3 -lacml -lacml_mv -lpathfortran -lm
and these are the error message si am getting :
fourier_pc.o(.text+0x38): In function `main':
: undefined reference to `fftw_init_threads'
fourier_pc.o(.text+0xb2): In function `main':
: undefined reference to `fftw_plan_with_nthreads'
fourier_pc.o(.text+0x189): In function `main':
: undefined reference to `fftw_cleanup_threads'
collect2: ld returned 1 exit status
I have tried all kinds of combinations with -lpthread -lfftw3l_threads -lfftw3 ...I still get the same set of messages..
I need help badly, with this