You must source the environment script, not run it as a shell script. You shouldn't need to source all the individual scripts; they are meant to be run from the top level. If you're running under tcsh or some other cshell compatible shell, simply change to the compilervars.csh source /opt/intel/composerxe-2011/bin/compilervars.csh ia32 (or iccvars.csh, if that's what's present)
may be, should i something write in compilervars.sh ?
but i don't know what exactly
#!/bin/sh # # Copyright (C) 1985-2010 Intel Corporation. All rights reserved. # # The information and source code contained herein is the exclusive property # of Intel Corporation and may not be disclosed, examined, or reproduced in # whole or in part without explicit written authorization from the Company. #
if [ "$1" != "ia32" -a "$1" != "intel64" ]; then echo "ERROR: Unknown switch '$1'. Accepted values: ia32, intel64" return 1; fi
if [ -e $PROD_DIR/pkg_bin/idbvars.sh ]; then . $PROD_DIR/pkg_bin/idbvars.sh $1 fi if [ -e $PROD_DIR/tbb/bin/tbbvars.sh ]; then . $PROD_DIR/tbb/bin/tbbvars.sh $1 fi if [ -e $PROD_DIR/mkl/bin/mklvars.sh ]; then . $PROD_DIR/mkl/bin/mklvars.sh $1 $2 fi if [ -e $PROD_DIR/ipp/bin/ippvars.sh ]; then . $PROD_DIR/ipp/bin/ippvars.sh $1 fi if [ -e $PROD_DIR/pkg_bin/compilervars_arch.sh ]; then . $PROD_DIR/pkg_bin/compilervars_arch.sh $1 fi
Actually both iccvars.sh and compilervars.sh set the same environment variables. You should be able to set the environment variables by doing:
source /opt/intel/composerxe-2011/bin/iccvarsh.sh OR source /opt/intel/composerxe-2011/bin/compilervars.sh
Make sure the ttb and mkl directories referenced in the original errors you were getting do exist. They should not be needed if you are not going to use tbb andmkl libraries. So you should be able to use the compiler (e.g. icc -c file.c)after sourcing the above scripts even if you get errors abouttbb and mkl environmentsetting.
i don't know what i do wrong. i want to use intel compiler, but i can't solve this problem. my teachers in the university don't know anything about intel compiler. i don't know anybody who can help except this forum
Ubuntu has a Long Term Support version where they will support it for a
long time. This was 10.04. 10.10 is a update release and will not
have long term support, meaning it will be superceded by the next update or LTS
release and dropped.
Ive heard quite a few posts on the net about 10.10 problems and general
unhappiness with this release. Would not surprise me if something was
I am New in intel composer_xe, I have Install intelSDK and I am tring to set envornment vaiable of IntelSDK my installation path is :
when I am executing following command:
root@swapnil-lp:/opt/intel/composer_xe_2013/bin# ./compilervars.sh intel64
./compilervars.sh: 24: /opt/intel/composer_xe_2013/tbb/bin/tbbvars.sh: [[: not found
./compilervars.sh: 39: /opt/intel/composer_xe_2013/ipp/bin/ippvars.sh: [[: not found
I got such error I am using Ubuntu12.04 I have tried all above solution. But still iam facing this problem.
These environment scripts are to be sourced, not run as a script:
source /opt/intel/composer_xe_2013/bin/compilervars.sh intel64
The compilervars script sets up the tbb and ipp, if they were installed along with icc.
Hi TimP (Intel)
My Installation path is /opt/intel/
but still my problem waiting for solution:
swapnil@swapnil-lp:~$ /opt/intel/composer_xe_2013/bin/compilervars.sh intel64
/opt/intel/composer_xe_2013/bin/compilervars.sh: 24: /opt/intel/composer_xe_2013/tbb/bin/tbbvars.sh: [[: not found
/opt/intel/composer_xe_2013/bin/compilervars.sh: 39: /opt/intel/composer_xe_2013/ipp/bin/ippvars.sh: [[: not found
swapnil@swapnil-lp:~$ cd /opt/intel/composer_xe_2013/tbb/bin/
swapnil@swapnil-lp:/opt/intel/composer_xe_2013/tbb/bin$ cd /opt/intel/composer_xe_2013/ipp/bin/
intel64 ippvars.csh ippvars.sh
I have checked this two file they are present at specified location then why this happen.
What I have to do to set compilervar?
Is it file not found error or any thing else?