installing intel composer 2011

Code, algorithms, languages, construction...
Post Reply
quantum
Posts: 28
Joined: Mon Dec 19, 2011 12:19 am

installing intel composer 2011

Post by quantum » Thu Mar 15, 2012 3:12 pm

Hi,

I just finished installing parallel_studio_xe_2011_sp1_update2_intel64 on Ubuntu 11.10 without error.

I tried to compile stockfish and received the following.

Code: Select all

tobias@brutus:~$ cd Downloads/mcostalba-Stockfish-9934b8e/src/
tobias@brutus:~/Downloads/mcostalba-Stockfish-9934b8e/src$ make build ARCH=x86-64 COMP=icc
make ARCH=x86-64 COMP=icc config-sanity
make[1]: Entering directory `/home/tobias/Downloads/mcostalba-Stockfish-9934b8e/src'

Config:
debug: 'no'
optimize: 'yes'
arch: 'x86_64'
os: 'any'
bits: '64'
bigendian: 'no'
prefetch: 'yes'
bsfq: 'yes'
popcnt: 'no'

Flags:
CXX: icpc
CXXFLAGS: -g -Wall -Wcast-qual -fno-exceptions -fno-rtti  -wd383,981,1418,1419,10187,10188,11505,11503 -Wcheck -Wabi -Wdeprecated -strict-ansi -DNDEBUG -O3 -DIS_64BIT -msse -DUSE_BSFQ
LDFLAGS:  -lpthread

Testing config sanity. If this fails, try 'make help' ...

make[1]: Leaving directory `/home/tobias/Downloads/mcostalba-Stockfish-9934b8e/src'
make ARCH=x86-64 COMP=icc all
make[1]: Entering directory `/home/tobias/Downloads/mcostalba-Stockfish-9934b8e/src'
icpc -g -Wall -Wcast-qual -fno-exceptions -fno-rtti  -wd383,981,1418,1419,10187,10188,11505,11503 -Wcheck -Wabi -Wdeprecated -strict-ansi -DNDEBUG -O3 -DIS_64BIT -msse -DUSE_BSFQ   -c -o benchmark.o benchmark.cpp
make[1]: icpc: Command not found
make[1]: *** [benchmark.o] Error 127
make[1]: Leaving directory `/home/tobias/Downloads/mcostalba-Stockfish-9934b8e/src'
make: *** [build] Error 2
tobias@brutus:~/Downloads/mcostalba-Stockfish-9934b8e/src$ 
It tells me that icpc is not defined. So I read a bit further and found out that I have to set the environment variable by running a script.

However I fail at this point. I ran some script I found in /opt/intel/ but that didn't change anything.

Could anyone tell me the path to the script I have to run in order to get thing work?

Greetings,

quantum
Posts: 28
Joined: Mon Dec 19, 2011 12:19 am

Re: installing intel composer 2011

Post by quantum » Thu Mar 15, 2012 4:09 pm

After source /opt/intel/composer_xe_2011_sp1.9.293/bin/compilervars.sh intel64

things work fine for me ;)

User avatar
kingliveson
Posts: 1388
Joined: Thu Jun 10, 2010 1:22 am
Real Name: Franklin Titus
Location: 28°32'1"N 81°22'33"W

Re: installing intel composer 2011

Post by kingliveson » Fri Mar 16, 2012 4:43 am

For future reference for anyone else, my ~/.bashrc has the following:

Code: Select all

source /opt/intel/bin/compilervars.sh intel64

export VTune_Amplifier="/opt/intel/vtune_amplifier_xe"
export PATH="${VTune_Amplifier}/bin64:${PATH}"

export Inspector="/opt/intel/inspector_xe"
export PATH="${Inspector}/bin64:${PATH}"
PAWN : Knight >> Bishop >> Rook >>Queen

quantum
Posts: 28
Joined: Mon Dec 19, 2011 12:19 am

Re: installing intel composer 2011

Post by quantum » Sat Mar 17, 2012 1:37 am

I like your ~/.bashrc, especially the first line. I did edit this file as well but it did not work as properly as your solution :)

Post Reply