LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-20-2009, 11:50 AM   #1
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
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
 
Old 12-20-2009, 12:11 PM   #2
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by Alexvader View Post
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.
 
1 members found this post helpful.
Old 12-20-2009, 12:19 PM   #3
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
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

Last edited by Alexvader; 12-20-2009 at 02:31 PM.
 
Old 12-20-2009, 05:06 PM   #4
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
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
 
Old 12-21-2009, 07:25 AM   #5
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
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 ...

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
 
Old 12-22-2009, 01:50 PM   #6
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: debian, rocky, slackware
Posts: 131

Rep: Reputation: 25
I did NOT install multilib but I tried it out anyway and guess what? It works like a charm! Thanks a lot for sharing.
 
1 members found this post helpful.
Old 12-28-2009, 05:30 PM   #7
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
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

Last edited by Alexvader; 12-28-2009 at 05:32 PM.
 
  


Reply

Tags
32bit, compilers, ifort, intel



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Noob attack time [continued] : Intel Compilers under Slackware :-) Alexvader Slackware 28 10-23-2009 04:15 PM
FREE Compilers and Cross-Compilers for LINUX and WINDOWS. Bernstein34 Linux - Software 1 05-05-2008 12:54 PM
Cross-Compilers for Slackware gnashley Slackware 14 11-25-2006 02:40 AM
updating compilers in slackware HKJGN Linux - Software 2 03-02-2005 11:03 AM
intel compilers on AMD swalexx Programming 4 02-16-2005 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration