Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29251 Discussions

Intel Fortran Compiler 11.0--Installation configuration - Missing Critical Pre-requisite

Anonymous21
Beginner
2,559 Views

Intel Fortran Compiler 11.0 are being installed. However, thereis this problem, as follows,

Step no: 4 of 7 | Installation configuration - Missing Critical Pre-requisite
--------------------------------------------------------------------------------
The following required for installation commands are missing:
g++
--------------------------------------------------------------------------------
1. Finish with prerequisites and back to Critical Pre-requisites dialog
[default]
2. Back to Pre-requisite summary dialog

h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------

My operation system uses CentOS 5.
I also try to do following this command

[root@localhost l_cprof_p_11.0.074_ia32]# yum install g++
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* adobe-linux-i386: linuxdownload.adobe.com
* base: centos.mirror.cdnetworks.com
* updates: centos.mirror.cdnetworks.com
* addons: centos.mirror.cdnetworks.com
* extras: centos.mirror.cdnetworks.com
Setting up Install Process
Parsing package install arguments
No package g++ available.
Nothing to do
[root@localhost l_cprof_p_11.0.074_ia32]#

I do not know what to do to solve this problem. because I am beginner for Linux opration system.
Could you let me know how to do?

0 Kudos
1 Solution
TimP
Honored Contributor III
2,559 Views
If you haven't installed g++ development system, go to your CentOS software installation menu and correct that. You didn't say whether you are running 32- or 64-bit CentOS; I'm not sure CentOS x86_64 would have a menu installation for 32-bit g++.
Also, you didn't say if you are trying CentOS 5.0, which is inadvisable, and will make extra work, compared with an up to date version.

View solution in original post

0 Kudos
9 Replies
TimP
Honored Contributor III
2,560 Views
If you haven't installed g++ development system, go to your CentOS software installation menu and correct that. You didn't say whether you are running 32- or 64-bit CentOS; I'm not sure CentOS x86_64 would have a menu installation for 32-bit g++.
Also, you didn't say if you are trying CentOS 5.0, which is inadvisable, and will make extra work, compared with an up to date version.
0 Kudos
Anonymous21
Beginner
2,559 Views
Quoting - tim18
If you haven't installed g++ development system, go to your CentOS software installation menu and correct that. You didn't say whether you are running 32- or 64-bit CentOS; I'm not sure CentOS x86_64 would have a menu installation for 32-bit g++.
Also, you didn't say if you are trying CentOS 5.0, which is inadvisable, and will make extra work, compared with an up to date version.


Thanks for your reply... I also double-checked it.
0 Kudos
yjyincj
Beginner
2,559 Views
Quoting - hydrol88


Thanks for your reply... I also double-checked it.
I am having the same problem. My OS is Fedora 11. I installed gcc.i586 package by: yum install gcc.i586. What I got is :

Step no: 4 of 7 | Installation configuration - Missing Critical Pre-requisite
--------------------------------------------------------------------------------
The following required for installation commands are missing:
g++
--------------------------------------------------------------------------------
1. Finish with prerequisites and back to Critical Pre-requisites dialog
[default]
2. Back to Pre-requisite summary dialog

h. Help
b. Back to the previous menu
q. Quit


0 Kudos
Ron_Green
Moderator
2,559 Views
0 Kudos
yjyincj
Beginner
2,559 Views
Thanks. I've read this article before I got error. When I type : gcc --version I got:


gcc (GCC) 4.4.0 20090506 (Red Hat 4.4.0-4)
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

And When I type g++ --version I got:

bash: g++: command not found
Finally, I went by the silent install. This is what I got.

[root@yuejun l_cprof_p_11.1.046_ia32]# ./install.sh --silent ./intel_silent.ini
Warning: destination directory already exists. When installing C++ and Fortran
packages from the same package release into their default directories
(e.g. l_cproc_p_11.1.046 and l_cprof_p_11.1.046), you can ignore this warning.
[root@yuejun l_cprof_p_11.1.046_ia32]#

I think it is installed successfully. But I am confusing why it can not be installed in another way.

0 Kudos
Ron_Green
Moderator
2,559 Views
Quoting - yjyincj
Thanks. I've read this article before I got error. When I type : gcc --version I got:


gcc (GCC) 4.4.0 20090506 (Red Hat 4.4.0-4)
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

And When I type g++ --version I got:

bash: g++: command not found
Finally, I went by the silent install. This is what I got.

[root@yuejun l_cprof_p_11.1.046_ia32]# ./install.sh --silent ./intel_silent.ini
Warning: destination directory already exists. When installing C++ and Fortran
packages from the same package release into their default directories
(e.g. l_cproc_p_11.1.046 and l_cprof_p_11.1.046), you can ignore this warning.
[root@yuejun l_cprof_p_11.1.046_ia32]#

I think it is installed successfully. But I am confusing why it can not be installed in another way.


It needs 32bit g++ also. There is a vague note on this that I'll fix in the document:
" yum install gcc

Likewise, go ahead and install g++ (this is not installed by default)"

so did you enter command: yum install g++

I will make this clear in the notes.

ron
0 Kudos
yjyincj
Beginner
2,559 Views

It needs 32bit g++ also. There is a vague note on this that I'll fix in the document:
" yum install gcc

Likewise, go ahead and install g++ (this is not installed by default)"

so did you enter command: yum install g++

I will make this clear in the notes.

ron
I thought g++ in part of gcc. This is what I got :

[root@yuejun IntelFortran]# yum install g++
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: astromirror.uchicago.edu
* rpmfusion-free: astromirror.uchicago.edu
* rpmfusion-free-rawhide: astromirror.uchicago.edu
* rpmfusion-free-updates: astromirror.uchicago.edu
* rpmfusion-nonfree: astromirror.uchicago.edu
* rpmfusion-nonfree-updates: astromirror.uchicago.edu
* updates: astromirror.uchicago.edu
Setting up Install Process
No package g++ available.
Nothing to do

hellow world program is compiled suceessfully. But when I do another one:

program main
implicit none
real(4)::i
i=3.0
write(*,*)'i= ',i
stop
end program

I got error:
ifort: error #10310: Failed to enable trusted storage check for licensing: WARNING: Enable Trusted Storage failed (flexnet error code 2). Trusted Storage based license could
0 Kudos
Ron_Green
Moderator
2,559 Views
Quoting - yjyincj
I thought g++ in part of gcc. This is what I got :

[root@yuejun IntelFortran]# yum install g++
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: astromirror.uchicago.edu
* rpmfusion-free: astromirror.uchicago.edu
* rpmfusion-free-rawhide: astromirror.uchicago.edu
* rpmfusion-free-updates: astromirror.uchicago.edu
* rpmfusion-nonfree: astromirror.uchicago.edu
* rpmfusion-nonfree-updates: astromirror.uchicago.edu
* updates: astromirror.uchicago.edu
Setting up Install Process
No package g++ available.
Nothing to do

hellow world program is compiled suceessfully. But when I do another one:

program main
implicit none
real(4)::i
i=3.0
write(*,*)'i= ',i
stop
end program

I got error:
ifort: error #10310: Failed to enable trusted storage check for licensing: WARNING: Enable Trusted Storage failed (flexnet error code 2). Trusted Storage based license could

opps, my mistake, the yum command is:

yum install gcc-c++

No, g++ is not installed with gcc.

Did you put your license file ( .lic ) in /opt/intel/licenses/ folder?

ron
0 Kudos
TimP
Honored Contributor III
2,559 Views

opps, my mistake, the yum command is:

yum install gcc-c++

No, g++ is not installed with gcc.

Well, that's a nice feature of certain other distros. Simply install C++ development system, get both gcc and g++. Select 32-bit option, automatically add 32-bit equivalents. But at some point, if installing other than default compilers, you do get into the requirement for gcc-c++, and Intel compilers do depend on the corresponding gcc and g++ both being present.
Install Intel C++, get both icc and icpc. Now at last we have also set environment variable for one Intel compiler, automatically get others of same version, if present, and also the performance libraries.
0 Kudos
Reply