Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

FFTW 3.3.10 configure fails

bjwiley233
Beginner
408 Views

OS: MacOS Big Sur

$ icc --version

icc (ICC) 2021.4.0 20210910
Copyright (C) 1985-2021 Intel Corporation. All rights reserved.

 

This is the oneapi icc version...

When I run 

./configure CC="icc -no-gcc"

or 

./configure CC="icc -gcc-sys"

 

Checking the C compiler fails with below.  Can you try on Big Sur with latest version here https://www.fftw.org/

configure:4178: checking for gcc
configure:4205: result: icc -no-gcc
configure:4434: checking for C compiler version
configure:4443: icc -no-gcc --version >&5
icc (ICC) 2021.4.0 20210910
Copyright (C) 1985-2021 Intel Corporation.  All rights reserved.

configure:4454: $? = 0
configure:4443: icc -no-gcc -v >&5
icc version 2021.4.0 (gcc version 4.9.0 compatibility)
configure:4454: $? = 0
configure:4443: icc -no-gcc -V >&5
Intel(R) C Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.4.0 Build 20210910_000000
Copyright (C) 1985-2021 Intel Corporation.  All rights reserved.

configure:4454: $? = 0
configure:4443: icc -no-gcc -qversion >&5
icc: command line warning #10006: ignoring unknown option '-qversion'
icc: command line error: no files specified; for help type "icc -help"
configure:4454: $? = 1
configure:4474: checking whether the C compiler works
configure:4496: icc -no-gcc    conftest.c  >&5
ld: library not found for -lc++
configure:4500: $? = 1
configure:4538: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fftw"
| #define PACKAGE_TARNAME "fftw"
| #define PACKAGE_VERSION "3.3.10"
| #define PACKAGE_STRING "fftw 3.3.10"
| #define PACKAGE_BUGREPORT "fftw@fftw.org"
| #define PACKAGE_URL ""
| #define PACKAGE "fftw"
| #define VERSION "3.3.10"
| #define FFTW_ENABLE_ALLOCA 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:4543: error: in `/Users/brian/tools/fftw-3.3.10':
configure:4545: error: C compiler cannot create executables
See `config.log' for more details

 

0 Kudos
3 Replies
VarshaS_Intel
Moderator
357 Views

Hi,

 

Thanks for reaching out to us.

 

We can see that you are trying to configure FFTW using the option "-no-gcc" or "-gcc-sys", could you please let us know if there is any specific reason for that?

 

We have tried at our end using the below command and we are able to configure it. 

 

./configure CC="icc" CPPFLAGS=-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include DFLAGS=-Qoption,cpp,--gnu_version=40805

Could you please let us know if you are still facing any issues?

 

Thanks & Regards

Varsha

 

VarshaS_Intel
Moderator
326 Views

Hi,


We haven't heard back from you. Could you please provide an update on your issue?


Thanks & Regards,

Varsha


VarshaS_Intel
Moderator
311 Views

Hi,


We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.


Thanks & Regards,

Varsha


Reply