Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-13-2009, 07:21 PM   #1
LQ Newbie
Registered: Aug 2009
Posts: 9

Rep: Reputation: 0
Question ifort 11.1 license error

I tried to install intel fortran compiler on a Fedora11 intel E7400 Duo system. After I set up license file I got from intel's email, there is still something wrong with flexlm license check:

[root@localhost /]# source /opt/intel/Compiler/11.0/074/bin/ ia32
[root@localhost /]# export INTEL_LICENSE_FILE=opt/intel/licenses/*.lic
[root@localhost /]# ifort -v

Error: A license for FCompL could not be obtained (-1,359,2).
Is your license file in the right location and readable?
The location of your license file should be specified via
the $INTEL_LICENSE_FILE environment variable.

License file(s) used were (in this order):
1. Trusted Storage
2. opt/intel/licenses/*.lic
3. /opt/intel/Compiler/11.1/046/Licenses
4. /root/intel/licenses
5. /opt/intel/licenses/*.lic
6. /Users/Shared/Library/Application Support/Intel/Licenses

Please visit if you require technical

ifort: error #10052: could not checkout FLEXlm license

All help is welcome!!Thanks!!
Best regards, limh
Old 09-13-2009, 08:45 PM   #2
LQ Newbie
Registered: Aug 2009
Posts: 9

Original Poster
Rep: Reputation: 0

I figured it out!!!
The error occured because I didn't give the full path of the license file.The full path is /opt/intel/licenses/licenses

This is the tricky point : the full path of a specific file in Linux is not so easily identified as in Windows. Here is a way to solve it : if you want to know the full path of a file, first look for it in the file browser, then drag it to the terminal window with your mouse. The full path of the wanted file would be shown in the terminal window . I used this method to solve this problem.

But I stumped into a new question:
I have to redo the "source /opt/intel/Compiler/11.1/046/bin/ ia32" and "export INTEL_LICENCE_PATH=/opt/intel/licenses/licenses" everytime I restart the terminal window, or it would report that no "ifort" command are found

The Installation Guide(
says that "The compiler installation program creates compiler environment script files ( that set these variables. It is strongly recommended that you add those script files into your login script (.login file). Once the variables are set in the ".login" file there is no need to run the script files for each session..."I locate the csh.login( not .login) in the /etc/... directory and open it , the content is :

# /etc/csh.login

# System wide environment and startup programs, for login setup

if ($?PATH) then
if ( "${path}" !~ */usr/X11R6/bin* ) then
setenv PATH "${PATH}:/usr/X11R6/bin"
if ( $uid == 0 ) then
setenv PATH "/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
setenv PATH "/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/X11R6/bin"

setenv HOSTNAME `/bin/hostname`
set history=1000

if ( -d /etc/profile.d ) then
set nonomatch
foreach i ( /etc/profile.d/*.csh )
if ( -r $i ) then
if ($?prompt) then
source $i
source $i >& /dev/null
unset i nonomatch

The question is : I don't know how to add those compiler environment script files ( the login script, anyone could help me ? Thanks !!!!
Best regards, a novice limh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
adding ifort to opensuse 11.0 hanamilani Linux - Software 1 04-01-2009 05:58 AM
ifort and gfortran hanamilani Linux - Software 1 02-15-2009 12:34 PM
License taints kernel error! raedbenz Linux - General 2 08-04-2008 04:34 AM
ifort: error: could not find directory in which g++ resides iandroul Linux - Software 0 02-27-2007 12:54 PM
ifort error pzanis Fedora 1 11-08-2006 06:18 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:31 PM.

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