- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been trying to build a FOSS package with different compilers. It uses the FFTW2 libraries. So first step is building FFTW2.
FFTW2 builds okay with gcc gfortran (32 or 64-bit) using the -fno-second-underscore flag. This means a symbol containing underscores will get 1 underscore appended instead of 2. I believe the Intel equivalent of this is -assume no2underscores. I can compile FFTW2 with 64-bit version 11.1 of Intel C++ and Fortran compilers, and get 1 underscore at end of symbols. But if I compile with 32-bit version 9.1 or 10.0 and then try "nm librfftw.a", I see 2 underscores at the end of some symbols. If I look at the configure log for FFTW2, it appears to be using -assume no2underscores. I tried putting this compiler option into the ifort.cfg file to make sure, but still get two underscores.
Has anybody encountered this problem in the past?
Link Copied
- 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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page