Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
15 Views

I cannot compile with the same way I used to do

Hello everyone,

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/5.1.3.181" and "imkl/11.3.3.210" 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.

0 Kudos
2 Replies
Highlighted
Black Belt Retired Employee
15 Views

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.

0 Kudos
Highlighted
Beginner
15 Views

 

Thank you so much for your reply.

I am now able to compile it!

0 Kudos