/opt/intel/oneapi/mkl/latest/interfaces/fftw3xf$ make libintel64
make -f makefile lib _IA=intel64
make[1]: Entering directory '/opt/intel/oneapi/mkl/2023.1.0/interfaces/fftw3xf'
mkdir -p ./obj_intel
icc -Wall -Werror -I/opt/intel/oneapi/mkl/2023.1.0/include -I/opt/intel/oneapi/mkl/2023.1.0/include/fftw -c /opt/intel/oneapi/mkl/2023.1.0/interfaces/fftw3xf/wrappers/fftw_alignment_of.c -o obj_intel/fftw_alignment_of.o
icc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second half of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended compiler moving forward. Please transition to use this compiler. Use '-diag-disable=10441' to disable this message.
error: can't open file obj_intel/fftw_alignment_of.o for write
compilation aborted for /opt/intel/oneapi/mkl/2023.1.0/interfaces/fftw3xf/wrappers/fftw_alignment_of.c (code 1)
make[1]: *** [makefile:150: obj_intel/fftw_alignment_of.o] Error 1
make[1]: Leaving directory '/opt/intel/oneapi/mkl/2023.1.0/interfaces/fftw3xf'
make: *** [makefile:89: libintel64] Error 2
链接已复制
Hi,
Thanks for posting in Intel Communities.
Could you please try setting the installation path to other location during the 'make' step as shown below:
make libintel64 compiler=gnu/icc/icx INSTALL_DIR=<required-path>
Please find the below screenshot where we are able to get the file without any error:
Please find the below link for more details about building the fftw3 interface:
Could you please let us know if you are facing any errors while building fftw3? If your issue persists, could you elaborate and provide us with the OS details and steps you followed to investigate your issue?
Thanks & Regards,
Varsha