- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
How i can make the lib fftw2xf without the intel c compiler for the intel fortran compiler?
If i use the flag compiler=gnu (the only c compiler at the system) i cannot use the the lib with intel fortran.
With best regards
Axel
How i can make the lib fftw2xf without the intel c compiler for the intel fortran compiler?
If i use the flag compiler=gnu (the only c compiler at the system) i cannot use the the lib with intel fortran.
With best regards
Axel
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Axel,
The easiest way to fix the problem is to rebuild the libraries thus:
make libem64t compiler=gnu COPTS=-U_GNU
This will not add the second underscore.
Thanks
Dima
The easiest way to fix the problem is to rebuild the libraries thus:
make libem64t compiler=gnu COPTS=-U_GNU
This will not add the second underscore.
Thanks
Dima
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Axel,
I quite don't understand -What is the symptoms of the problem (I cannot use the lib with intel fortran)?
Did you were able to buildfftw2xf_intel.a by using gcc?
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please provide details on which versions of tools and sources you are using, and the OS.
The build on Suse 11.3 posed no problems, using the sources provided in the mkl sub-directory of the IFort installagion.
make lib64 compiler=gnu MKLROOT=/mkl/ # for 64 bit OS, IFORT and GCC
or
make lib32 compiler=gnu MKLROOT=/mkl/# for 32 bit OS, IFORT and GCC
will build the library.
If you want to develop the 32-bit library on a 64-bit OS, using IFORT and GCC, you need to add this line to the makefile:
_cflags_gnu_32 = -m32 # CNXS
I ran one of the examples provided with IFORT ( r2r_1d_redft00_single_ex.f ) with the libraries so produced, and the tests were passed.
The build on Suse 11.3 posed no problems, using the sources provided in the mkl sub-directory of the IFort installagion.
make lib64 compiler=gnu MKLROOT=
or
make lib32 compiler=gnu MKLROOT=
will build the library.
If you want to develop the 32-bit library on a 64-bit OS, using IFORT and GCC, you need to add this line to the makefile:
_cflags_gnu_32 = -m32 # CNXS
I ran one of the examples provided with IFORT ( r2r_1d_redft00_single_ex.f ) with the libraries so produced, and the tests were passed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I made the lib with make libem64t compiler=gnu
While linking the lib into the project i got the message:
ipo: warning #11020: unresolved fftwnd_f77_one_
The symbol is at libfftw2xf_gnu.a:
libfftw2xf_gnu.a:fftwnd_f77_one.o:0000000000000000 T fftwnd_f77_one__
But with 2 underscores, so i cannot really use it here (or don't know how with ifort)
With best regards
Axel
While linking the lib into the project i got the message:
ipo: warning #11020: unresolved fftwnd_f77_one_
The symbol is at libfftw2xf_gnu.a:
libfftw2xf_gnu.a:fftwnd_f77_one.o:0000000000000000 T fftwnd_f77_one__
But with 2 underscores, so i cannot really use it here (or don't know how with ifort)
With best regards
Axel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Axel,
The easiest way to fix the problem is to rebuild the libraries thus:
make libem64t compiler=gnu COPTS=-U_GNU
This will not add the second underscore.
Thanks
Dima
The easiest way to fix the problem is to rebuild the libraries thus:
make libem64t compiler=gnu COPTS=-U_GNU
This will not add the second underscore.
Thanks
Dima

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