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

compilervars.sh doesn't work in macOS Mojave

heajzip
Beginner
425 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
Honored Contributor III
425 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 .

0 Kudos
heajzip
Beginner
425 Views
Thanks. That works.
0 Kudos
Reply