- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to install one application where it is giving error :
fftw_para.o: In function `exec_fftw_para_':
fftw_para.F:(.text+0x7b): undefined reference to `fftwnd_f77_mpi_'
fftw_para.F:(.text+0xb6): undefined reference to `fftwnd_f77_mpi_'
fftw_para.o: In function `init_fftw_para_':
fftw_para.F:(.text+0x101): undefined reference to `fftw3d_f77_mpi_create_plan_'
fftw_para.F:(.text+0x129): undefined reference to `fftw3d_f77_mpi_create_plan_'
fftw_para.F:(.text+0x14d): undefined reference to `fftwnd_f77_mpi_local_sizes_'
vi Makefile
RP_LIBS = -lmkl_lapack95_lp64 -lmkl_em64t -lguide -lmkl_scalapack -lmkl_blacs_lp64 -L/home/shraddha/FFTW/para/intel/mpich2-132p1/Intel-12-0-2/normal/fftw-2.1.5/lib -lfftw_mpi -lfftw -lguide
Where FFTW-2.1.5:
./configure --prefix=/home/shraddha/FFTW/para/intel/mpich2-132p1/Intel-12-0-2/normal/fftw-2.1.5 --enable-threads --enable-mpi CC=mpicc F77=mpif90
Can you please guide me to solve this error.
fftw_para.o: In function `exec_fftw_para_':
fftw_para.F:(.text+0x7b): undefined reference to `fftwnd_f77_mpi_'
fftw_para.F:(.text+0xb6): undefined reference to `fftwnd_f77_mpi_'
fftw_para.o: In function `init_fftw_para_':
fftw_para.F:(.text+0x101): undefined reference to `fftw3d_f77_mpi_create_plan_'
fftw_para.F:(.text+0x129): undefined reference to `fftw3d_f77_mpi_create_plan_'
fftw_para.F:(.text+0x14d): undefined reference to `fftwnd_f77_mpi_local_sizes_'
vi Makefile
RP_LIBS = -lmkl_lapack95_lp64 -lmkl_em64t -lguide -lmkl_scalapack -lmkl_blacs_lp64 -L/home/shraddha/FFTW/para/intel/mpich2-132p1/Intel-12-0-2/normal/fftw-2.1.5/lib -lfftw_mpi -lfftw -lguide
Where FFTW-2.1.5:
./configure --prefix=/home/shraddha/FFTW/para/intel/mpich2-132p1/Intel-12-0-2/normal/fftw-2.1.5 --enable-threads --enable-mpi CC=mpicc F77=mpif90
Can you please guide me to solve this error.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm no expert on the MKL ffts, but you appear to be using link instructions which belong to a version of MKL which went off support several years ago, while hinting that you may be using a recent Intel compiler release which would have provided a compatible MKL library. Please consult at least the link advisor tool posted at the top of the MKL forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have created the MKL wrapper library for interfaces/fftw2x_cdft module, and checked the created library libfftw2x_cdft_DOUBLE.a with nm utility,
~]$ nm /share/apps/intel/compiler/12.0.2/mkl/lib/intel64/libfftw2x_cdft_DOUBLE.a | awk '/fftwnd_f77_mpi_local_sizes/ {print $NF}'
fftwnd_f77_mpi_local_sizes
rfftwnd_f77_mpi_local_sizes
So all required funcitons are in this library.
Can you please guide me .
~]$ nm /share/apps/intel/compiler/12.0.2/mkl/lib/intel64/libfftw2x_cdft_DOUBLE.a | awk '/fftwnd_f77_mpi_local_sizes/ {print $NF}'
fftwnd_f77_mpi_local_sizes
rfftwnd_f77_mpi_local_sizes
So all required funcitons are in this library.
Can you please guide me .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page