Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26747 Discussions

compilervars.sh doesn't work in macOS Mojave

heajzip
Beginner
161 Views

I'm trying to run the script compilervars.sh in order to export the paths but it doesn't work. What can I do?

I installed Intel Parallel Studio XE 2019 Update 3 Composer Edition for Fortran macOS in macOs Mojave with Xcode 10.2. 

0 Kudos
2 Replies
mecej4
Black Belt
161 Views

Rather than execute the script directly, you should source it (you may also use the command . compilervars.sh -- note the space between '.' and 'c'). See https://ss64.com/bash/source.html and https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/762803 .

heajzip
Beginner
161 Views
Thanks. That works.
Reply