- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I installed the evaluation version of Intel C++ Composer XE 2011 (l_ccompxe_2011.5.220_Release_Notes_en_US.pdf) for Intel C++ Compiler XE 12.0 Update 5.
In the final steps near installation completion, to set the environment variables for a terminal window using compilervars.csh for csh/tcsh and compilervars.sh for bash.
I use Korn shell (ksh) and there is no mention of which compilervars I need to use to set up the env.
Please advice asap.
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No harm is done if you make the wrong choice; you can go ahead and guess again. I haven't tried this in a long time. As ksh should support basic .sh scripts, you ought to be able to source the compilervars.sh intel64|ia32. I assume the "." abbreviation for "source" is the one to use:
. /opt/intel/..../compilervars.sh intel64
. /opt/intel/..../compilervars.sh intel64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. This is my first time (newbie), once i source the .sh, are there steps to verify to make all is well ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I executed
I executed the compilervars.sh intel64 and was able to do the following:
which icc
which icpc
env | grep -i compose
Anything else I need to verify before I step further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
that's all you need to do for the compiler. If you like to use Intel® MKL and/or Intel® IPP libraries as well you need to source their scripts, too ("mklvars.sh" & "ippvars.sh"). However, that's optional and not required for the compiler per se.
Best regards,
Georg Zitzlsberger
that's all you need to do for the compiler. If you like to use Intel® MKL and/or Intel® IPP libraries as well you need to source their scripts, too ("mklvars.sh" & "ippvars.sh"). However, that's optional and not required for the compiler per se.
Best regards,
Georg Zitzlsberger

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