- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am trying to run a fortran 90 program, using intel visual fortran, from intel parallel studio cluster edition 2018 for windows. The program comprises of a main program main.f90,others are module.f90, gfortran_random.f90 and others, there is also a makefile. The main file uses omp_lib and include fftw3.f03. However when I tried to compile the main.f90, using [IA-32 ]it gave me two errors:
1. error 5102: can not open include file 'fftw3.f03'
2. Compilation aborted for c:\users\abdulkadir\ Documents\visualstudio2015\Projecs\console9\console9\pic_1Dsrc\main.f90 (code1)
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pardon me if this seems obvious, but do you have a file called fftw3.f03 in one of the folders where the compiler looks for INCLUDE files? Judging by its name, it's part of a third-party library package called fftw. Typically you would need to add to the list of "Additional Include Directories" the folder containing this file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apparently, you attached the wrong build log -- it only says that it could not find a valid license for the compiler, and does not mention MKL at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The build log you attached shows an entirely different error (missing license).
For MKL linking issues, I'd recommend asking in the Intel Math Kernel Library forum. In Visual Studio, you can usually get by with selecting the "Use Intel Math Kernel Library" option under Fortran > Libraries.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page