- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I installed the Intel Compiler (icpc) 14.0.1 on Ubuntu 12.04 LTS. I'm using zsh. I included the folliwing lines to the file .zshrc:
source /opt/intel/bin/compilervars.sh intel64
export MKL_DYNAMIC=false
export MKL_NUM_THREADS=16
But each time I open a new terminal, I've got the following error:
/opt/intel/composer_xe_2013_sp1/tbb/bin/tbbvars.sh:45: = not found
How can I fix it?
Thanks,
Clèm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found a solution. Line 45 of the file
/opt/intel/composer_xe_2013_sp1/tbb/bin/tbbvars.sh
Change:
if [ $? == 0 ]; then
this way:
if [ $? '==' 0 ]; then
Clèm
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found a solution. Line 45 of the file
/opt/intel/composer_xe_2013_sp1/tbb/bin/tbbvars.sh
Change:
if [ $? == 0 ]; then
this way:
if [ $? '==' 0 ]; then
Clèm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try to change “if [ $? == 0 ]; then” to “if [[ $? == 0 ]]; then” in that line.
we are going to fix this.
--Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sergey Kostrov wrote:
For example, take a look at a bat file for a 64-bit Intel C++ compiler with Visual Studio 2010 integration ( it doesn't set environment at all ).
hello, where is this bat file? regular file sets the environment successfully:
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\bin>iclvars.bat intel64 vs2010
Intel(R) Parallel Studio XE 2013 SP1
Copyright (C) 1985-2013 Intel Corporation. All rights reserved.
Intel(R) Composer XE 2013 SP1 Update 1 (package 139)
Setting environment for using Microsoft Visual Studio 2010 x64 tools.
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\bin>icl
Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.1.139 Build 20131008
Copyright (C) 1985-2013 Intel Corporation. All rights reserved.
icl: command line error: no files specified; for help type "icl /help"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page