Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
公告
Important Update: Community Platform Migration​. Learn more​>

Fortran compiler does not provide iso_c_binding module. ?

Bachir__Abdelmalik
初學者
4,578 檢視

Hello,

I am trying to compile abinit-8.10 https://www.abinit.org/ using Intel® Parallel Studio XE Composer Edition for Fortran Linux update 4 - 2018. However, I am getting this error : 

"Checking whether the Fortran compiler provides the iso_c_binding module... configure: error: Fortran compiler does not provide iso_c_binding module. Use a more recent version or a different compiler"

 

Can you please help me to fix this problem ?
 

Regards

 

0 積分
1 解決方案
Steve_Lionel
榮譽貢獻者 III
4,578 檢視

Yes, the module is in that update. Perhaps you accidentally deleted it? Uninstall and reinstall the compiler and it should come back.

在原始文章中檢視解決方案

5 回應
Steve_Lionel
榮譽貢獻者 III
4,578 檢視

Yes, that module has been provided for many years. You should check that the INCLUDE environment variable is properly set. It is also possible that the script that gives that error is testing incorrectly.

Bachir__Abdelmalik
初學者
4,578 檢視

But this module is not provided in the release ; "Intel® Parallel Studio XE Composer Edition for Fortran Linux 2018 (update 4)".

While it is already exist the release : 2017 (update 8).

Regards.

 

 

Juergen_R_R
傑出貢獻者 II
4,578 檢視

I cannot reproduce this. Configure runs without failure with ifort v18 Update 4.

Steve_Lionel
榮譽貢獻者 III
4,579 檢視

Yes, the module is in that update. Perhaps you accidentally deleted it? Uninstall and reinstall the compiler and it should come back.

Bachir__Abdelmalik
初學者
4,578 檢視

Thank you for answer,

Yes,  I uninstalled and reinstalled the compiler and it fixed the problem.

Best regards.

回覆