I am a novice user in Linux environment. I was compiling a series of codes while OpenSUSE was loaded as the operating system in the university. The university changed the OS to CentOS and old compilers were updated as well. Currently, I use "intel/2016.3.210-GCC-5.4.0-2.26" as the compiler, "impi/184.108.40.206" and "imkl/220.127.116.11" for mpi and mkl and I receive the error as shown below:
ld: cannot find -lfftw3f
ld: cannot find -lfftw3
I guess it is related to linking the source files in the makefile but I couldn't figure out the problem and its solution.
I use a Makefile platform and another makefile to compile the code I want to execute.
Both makefiles were attached.
This has nothing to do with compiling. ld is complaining that it doesn't know where to find the fftw libraries.
The include file says "Assume fftw package is installed at default system locations", so I'd guess that it isn't.