- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much for your reply.
I am now able to compile it!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page