LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Big Niewz about Intel Compilers in Slackware... anybody wanna try this... ? (https://www.linuxquestions.org/questions/slackware-14/big-niewz-about-intel-compilers-in-slackware-anybody-wanna-try-this-777069/)

Alexvader 12-20-2009 11:50 AM

Big Niewz about Intel Compilers in Slackware... anybody wanna try this... ?
 
Hi Forum

Google ir REALLY our friend...

Intel Compilers in Slackware ask for 32bit compatibility libs, so I enabled 32bit as by following Alien Bob's wiki.

... still the installer will say libstdc++5, glibc, and some more stuff which I do not recall by head is missing...


I think tha Intel can be installed regardless of all this fuss, according to :

Quote:

As of Mandriva 2009.1 and/or 11.1.038 changing 2009.1 to 2007.0 does not work. In order to install a silent install is recommended. run ./install for both packages to check to see if you have all the libraries. If the libraries are all there except for the 32 bit libraries quit the install program open up a text editor and create a file called silent.ini and paste the following.

ACTIVATION=exist_lic
CONTINUE_WITH_INSTALLDIR_OVERWRITE=yes
CONTINUE_WITH_OPTIONAL_ERROR=yes
PSET_INSTALL_DIR=/opt/intel/Compiler/11.1/038
INSTALL_MODE=RPM
ACCEPT_EULA=accept
and then run the installer with

./install.sh --silent /tmp/silent.iniyou may want to change

PSET_INSTALL_DIR=/opt/intel/Compiler/11.1/038 to match your version. For more information see http://software.intel.com/en-us/foru...x/topic/62126/

As soon as i get home I may give this a try... anybody wants to "play" with this...??

BRGDS

Alex

sahko 12-20-2009 12:11 PM

Quote:

Originally Posted by Alexvader (Post 3799049)
Google ir REALLY our friend...

No its not. At least not more than microsoft's bing or any other search engine.
Even as a company i dont consider google inc. my friend. Quite the contrary.

Alexvader 12-20-2009 12:19 PM

Hi Sahko

:) It was just a practical Joke...

We all know that they have their corporate agenda, they will try to seize everything they lay their hands on "Google Chrome" is probably the first step of this stratagy, "cloud computing" comes next, then Google OS probably...

... Yeah... we are probably witnessing the birth of GoogleSoft ( does this sound familiar...? well it should... :( )

But sometimes the info one gets from using Google Search engine comes out to be quite handy...

Like in this case... :)

BRGDS

Alex

Alexvader 12-20-2009 05:06 PM

Hi there ppl

Seem I am getting this to work...

Although this is a bit tricky:

One must start by installing in "normal" mode, and use tha activation code so that the installer script creates a license file... then it goes along, reports the missing libs, blablablah... and u must abort.

Second round : U install in silent mode using the silent.ini file, which tells the installer to use an existing license file ( which was created in Round one ), it goes happily ahead and installs the thing.

You have to source 3 environment files to be able to use icc, ifort and mkl in building uour apps.

I will post a more detailed HOWTO tomorrow, after checking up with the Intel ppl wether there is a more clever way of doing all this.

This time it will not complain about missing 32bit libs...

I will try to compile a huge app tomorrow, with icc/ifort/mkl, and I will report here wether all this effort was worth... :)

cya

BRGDS

Alex

Alexvader 12-21-2009 07:25 AM

Breaking Newz :

The Intel compilers installed according to this sequence work :

1#) Start the install procedure normally, for, say icc; You will get to a point where you are asked for an activation code ( the one you were given in the Download webpage pf Intel ), use it; this will create a valid license in /opt/intel/licenses.

2#) There comes a point where you will not be able to proceed, because the installer will report missing 32bit compatibility libraries, regardless of you having them or not AFAIK, quit.

"Do not fight a War which you cannot possibly win..." - Sun Tzu

3#( New try, create a file in the directory you are in, called silent.ini :

Code:

ACTIVATION=exist_lic
 CONTINUE_WITH_INSTALLDIR_OVERWRITE=yes
 CONTINUE_WITH_OPTIONAL_ERROR=yes
 PSET_INSTALL_DIR=/opt/intel/Compiler/11.1/038
 INSTALL_MODE=RPM
 ACCEPT_EULA=accept

Of course you should change your PSET_INSTALL_DIR to /opt/intel/Compiler/ab.c/de to match your release ...

:doh: Duh....

4#) finally run

Code:

./install.sh --silent silent.ini
5#) Repeat the procedure for Ifort, ( Intel Fortran Compiler ), and MKL ( Math kernel Libraries )

6#) To be able to use those components that you have just installed, you much source the environment scripts. I do this at .bashrc level... :

Code:

. /opt/intel/Compiler/11.1/059/bin/intel64/iccvars_intel64.sh
. /opt/intel/Compiler/11.1/059/bin/intel64/ifortvars_intel64.sh
. /opt/intel/mkl/10.2.2.025/tools/environment/mklvars64.sh

I have tried this setup to compile code aster with Intel compilers, and I have built a working version...

Have made some tests, and so far so good...

BRGDS

Alex

cmk77 12-22-2009 01:50 PM

I did NOT install multilib but I tried it out anyway and guess what? It works like a charm! Thanks a lot for sharing.

Alexvader 12-28-2009 05:30 PM

Hi Forum

After going through all the fuss I described, to Install Intel compilers, you can build a package of the whole stuff...

Installing this package in another machine yelds a successful and functional set of Intel Compilers...

I did so and tried out...

Built a big project with the compilers installed as package, successfully...

One remark though... it is a BIG package... 1.2GB size...

But it is more practical to run #installpkg Intel-Dev-Tuulz.tgz once and for all, than to just have to enter license codes, reinitiate installer in silent mode... etc, etc.

BRGDS

Alex


All times are GMT -5. The time now is 11:42 AM.