Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Can't build with ifort19

仁义_许_
Beginner
539 Views

macosx10.14
xcode 9.4

/ifort-19_0_0_117:: error #10401: error running 'xcrun -find clang'
==============================
in the command line:
source <install_dir>/bin/compilervars.sh intel64

manpath: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'

manpath: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'

ifort **.f90
ifort: error #10401: error running 'xcrun -find ld'

 

 

0 Kudos
2 Replies
Juergen_R_R
Valued Contributor I
540 Views

You most likely have to upgrade to Xcode 10 and upgrade the command-line tools. If that doesn't help, try to execute open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg

This is because the system headers are no longer installed as default in Mojave (macOS 10.14)

 

0 Kudos
仁义_许_
Beginner
540 Views

ifort2019 does not support xcode10


I setup the command line tools for Xcode9 and then build it successfully

Thx!

 

0 Kudos
Reply