- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Swillmon,
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
mklvars.sh intel64
willsets environment variables for the Intel 64 architecture.
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Got it - but now I'm getting a build error: "unable to open 'lpthread'."
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page