centos6.0 intel��������װ��Ϊʲô���û�������ʱ������������⣿
bash: PROD_DIR=/opt/intel/composerxe-2011.4.191: û���Ǹ��ļ���Ŀ¼
[root@localhost bin]# source compilervars.csh
bash: PROD_DIR=/opt/intel/composerxe-2011.4.191: û���Ǹ��ļ���Ŀ¼
[root@localhost bin]# more compilervars.csh
#
# Copyright (C) 1985-2011 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.
#
#!/bin/tcsh
set PROD_DIR=/opt/intel/composerxe-2011.4.191
if ( "$1" != "ia32" && "$1" != "intel64" ) then
echo "ERROR: Unknown switch '$1'. Accepted values: ia32, intel64"
exit 1
endif
if ( -e $PROD_DIR/pkg_bin/idbvars.csh ) then
source $PROD_DIR/pkg_bin/idbvars.csh $1;
endif
if ( -e $PROD_DIR/tbb/bin/tbbvars.csh ) then
source $PROD_DIR/tbb/bin/tbbvars.csh $1;
endif
if ( -e $PROD_DIR/mkl/bin/mklvars.csh ) then
source $PROD_DIR/mkl/bin/mklvars.csh $1 $2;
endif
if ( -e $PROD_DIR/ipp/bin/ippvars.csh ) then
source $PROD_DIR/ipp/bin/ippvars.csh $1;
endif
if ( -e $PROD_DIR/pkg_bin/compilervars_arch.csh ) then
source $PROD_DIR/pkg_bin/compilervars_arch.csh $1;
endif
fi
fi
fi
fi
fi
fi
[root@localhost bin]# pwd
/opt/intel/composerxe-2011.4.191/bin
[root@localhost bin]#
alick �� 2011-09-27 10:29:05����:
ע��ű��� csh �ű������� bash �ű�������Ҫ�� tcsh ��������[code]tcsh compilervars.csh[/code]����ȷ�Ͻű����˿�ִ��λ��Ȼ��[code]./compilervars.csh[/code]�п���ϵͳ��û�а�װ tcsh����ô�� yum install tcsh