Community
cancel
Showing results for 
Search instead for 
Did you mean: 
natman
Beginner
36 Views

how to get started

Hi,
I have a Hp laptop, intel core2 duo and running kubuntu linux, and have a C++ program thats taking 4+ hours, when i do
gcc ./program -o program
./program

Am i right to assume that im not using both cores?
I have also downloaded the intel C 10.0 compiler, http://www.intel.com/cd/software/products/asmo-na/eng/compilers/clin/277618.htm

Am i taking the right steps? I downloaded the intel64 version ( kubuntu is 64 bit for me ) and i ran the install script, it said it completed but when i went to /opt/intel all that was there was a lience folder, plus when i ran "icc program" = unknow command.
What did i do wrong?

Thank You:
0 Kudos
2 Replies
TimP
Black Belt
36 Views

You could use the top command to check CPU usage.
I have no idea whether the efforts the compiler team has made to accommodate ubuntu would work for kubuntu. When you use distros which don't support normal installation methods, it's up to you to dig more deeply into such problems.
If you had succeeded in installing icc, you would need to run one of the iccvars scripts in your installation to set up PATH and LD_LIBRARY_PATH.
icc includes an auto-parallelization option, along with OpenMP, which also is supported by the current gcc release. You would likely need to read some documentation to make progress.

michaelsuess
Beginner
36 Views

Kubuntu or Ubuntu does not make a difference as far as I know for the Intel compiler...