Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
10 Views

segmentation fault

I am installing the Intel C++ in Ubuntu 10.0.025 and I wrote down everything I did below. When I run "icc --version" I get "Segmentation fault". I get the same if I reboot. I don't find any logs that give the error.

from synaptic need alien, possibly glibc

go to /local/Intel_Compilers
tar -zxvf l_cc_c_10.0.025.tar.gz

go to /local/Intel_Compilers/l_cc_c_10.0.025/data
alien -cv intel-icce100025-10.0.025-1.em64t.rpm #for 64 bit system

then
dpkg -i intel-icce100025_10.0.025-2_amd64.deb

copy license to
/opt/intel/cce/10.0.025/licenses

go to /opt/intel/cce/10.0.025/bin

run
perl -pi -w -e 's//\/opt\/intel\/cce\/10.0.025/g;' *
perl -pi -w -e 's/bin\/sh/bin\/bash/g;' *
. ./iccvars.sh

add the following to /etc/profile
#-------------------------------------------------------------------
# Intel Compilers #
#-------------------------------------------------------------------
. /opt/intel/cce/10.0.025/bin/iccvars.sh
0 Kudos
4 Replies
Highlighted
10 Views

Quoting - vielmaj
I am installing the Intel C++ in Ubuntu 10.0.025 and I wrote down everything I did below. When I run "icc --version" I get "Segmentation fault". I get the same if I reboot. I don't find any logs that give the error.

from synaptic need alien, possibly glibc

go to /local/Intel_Compilers
tar -zxvf l_cc_c_10.0.025.tar.gz

go to /local/Intel_Compilers/l_cc_c_10.0.025/data
alien -cv intel-icce100025-10.0.025-1.em64t.rpm #for 64 bit system

then
dpkg -i intel-icce100025_10.0.025-2_amd64.deb

copy license to
/opt/intel/cce/10.0.025/licenses

go to /opt/intel/cce/10.0.025/bin

run
perl -pi -w -e 's///opt/intel/cce/10.0.025/g;' *
perl -pi -w -e 's/bin/sh/bin/bash/g;' *
. ./iccvars.sh

add the following to /etc/profile
#-------------------------------------------------------------------
# Intel Compilers #
#-------------------------------------------------------------------
. /opt/intel/cce/10.0.025/bin/iccvars.sh

On 10.0, "icc" was a script that set up some environment variables and called "iccbin". Open that "icc" script and make sure that all the paths and everything look ok and that the call to iccbin is working - you should be able to call iccbin directly like the script does - see if that direct call seg faults. I would encourage you to try 10.1 or above as well as that was when our Release Notes first started listing Ubuntu* as a supported flavor of Linux*.
0 Kudos
Highlighted
Beginner
10 Views

Quoting - vielmaj
add the following to /etc/profile
#-------------------------------------------------------------------
# Intel Compilers #
#-------------------------------------------------------------------
. /opt/intel/cce/10.0.025/bin/iccvars.sh
Could it be a typo in your profile where you should omit the initial dot?
. /opt/intel/cce/10.0.025/bin/iccvars.sh
and have just
/opt/intel/cce/10.0.025/bin/iccvars.sh

I use later versions of icc, combined by bash shell, so my .bashrc contains
source /opt/intel/Compiler/11.1/046/bin/iccvars.sh ia32
0 Kudos
Highlighted
Black Belt
10 Views

icc -V
is the nearest equivalent to gcc --version
Is your segfault associated with passing unsupported options to icc?
0 Kudos
Highlighted
Beginner
10 Views


On 10.0, "icc" was a script that set up some environment variables and called "iccbin". Open that "icc" script and make sure that all the paths and everything look ok and that the call to iccbin is working - you should be able to call iccbin directly like the script does - see if that direct call seg faults. I would encourage you to try 10.1 or above as well as that was when our Release Notes first started listing Ubuntu* as a supported flavor of Linux*.

I get the segmentation fault when I directly call iccbin.
0 Kudos