12-15-2011 10:02 AM
My Intel FORTRAN compiler (Composer XE 2011 SP1.7.246) works like a champ for basic programs using XCode4.1, but I can't figure out how to get the environment variables set so that I can link to MKL libraries. It appears as if the $MKLROOT environment variable isn't set because I'm getting 'file not found' errors when I attempt to build a project that utilizes MKL routines. Everything works fine when I compile my program using the terminal window - but I'd really like to use XCode during the write/debug phase. Any help would be greatly appreciated!
12-15-2011 08:11 PM
choose the script mklvars.sh or mklvars.csh ( see "bin" folder). These scripts accept parameters like Architecture. You need to specify it first. For example, the command
willsets environment variables for the Intel 64 architecture.