Community
cancel
Showing results for 
Search instead for 
Did you mean: 
pivo12
Beginner
51 Views

extra slash in tbbvars.sh script - Linux

Hello,

I am encountering the following problem on tbbvars.sh script of Linux Composer XE

opt/intel/tbb/bin/tbbvars.sh :

[bash] get_intel64(){

echo /cc4.1.0_libc2.4_kernel2.6.16.21

}[/bash]

The leading slash gives an extra / in directory path:

opt/intel/composerxe-2011.4.191/tbb/lib/intel64//cc4.1.0_libc2.4_kernel2.6.16.21

Is this a typo?

Intel C++ Intel 64 Compiler XE for applications running on Intel 64, Version 12.0.4.191 Build 20110427
Copyright (C) 1985-2011 Intel Corporation.All rights reserved.
FOR NON-COMMERCIAL USE ONLY

Linux 64bit
Kernel version 2.6.37.6

Tamas I.

0 Kudos
1 Reply
Dale_S_Intel
Employee
51 Views

When you say it's a problem, what do you mean? It shouldn't be a problem on linux to have consecutive slashes in a path name. I suspect it's done for safety's sake, just in case someone else leaves the trailing slash off.
Dale