Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
18 Views

Can't build with ifort19

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
Valued Contributor I
18 Views

You most likely have to

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
Highlighted
Beginner
18 Views

ifort2019 does not support

ifort2019 does not support xcode10


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

Thx!

 

0 Kudos