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

installation ifort pre-requisite

aerospace-sms
Beginner
762 Views
Hi,

When I installed Fortran compiler ifort of V11.1, I ran in to an error,

--------------------------------------------------------------------------------
Congratulations! Your software has been activated. Please continue the
installation by choosing Typical Install (default installation options) or
Custom Install to change the default installation options.
--------------------------------------------------------------------------------
1. Typical Install (Recommended) [default]
2. Custom Install (For Advanced Users)

h. Help
b. Back to the previous menu
q. Quit
--------------------------------------------------------------------------------
Please type a selection or press "Enter" to accept default choice [1]:
--------------------------------------------------------------------------------
Checking the prerequisites. It can take several minutes. Please wait...
--------------------------------------------------------------------------------
Step no: 4 of 7 | Installation configuration - Missing Optional Pre-requisite
--------------------------------------------------------------------------------
There is one or more optional unresolved issues. It is highly recommended to fix
it all before you continue the installation. You can fix it without exiting from
the installation and re-check. Or you can quit from the installation, fix it and
run the installation again.
--------------------------------------------------------------------------------
Missing optional pre-requisite
-- No compatible Java* Runtime Environment (JRE) found
--------------------------------------------------------------------------------
1. Skip missing optional pre-requisites [default]
2. Show the detailed info about issue(s)
3. Re-check the pre-requisites

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

I went to down load Jre V1.6 and install the package. The package shows

$ rpm -qa | grep jre
jre-1.6.0_14-fcs

$ rpm -ql jre-1.6.0_14-fcs
/etc
/etc/.java
/etc/.java/.systemPrefs
/etc/.java/.systemPrefs/.system.lock
/etc/.java/.systemPrefs/.systemRootModFile
/etc/init.d/jexec
/usr
/usr/java
/usr/java/jre1.6.0_14
. . .

Then I went back to install ifort. I still got the same error. Though it is optional, we need this option particularly.

What's wrong or what'smissing? Need help.

Thanks,

0 Kudos
1 Solution
TimP
Honored Contributor III
762 Views
The JRE is required only for the idb (gui debugger) installation. For idb, it must be the x86_64 version if running that OS, or the 32-bit version, for a 32-bit i386 OS. 32-bit JRE will run on x86_64, but will not work for the ifort/idb (although it shouldn't interfere). Also, if your OS installed /usr/bin/java as a symlink to something other than Sun JRE, that symlink must be removed, and replaced with the symlink which Sun JRE would install, so that 'java -version' will show the correct Sun JRE.
If you are running a distro which will install Sun JRE via yum or YOU or the like, that option should be taken, otherwise you likely need the one from the Sun website. So it is fairly important to know something about your OS in order to deal with this. Certain versions of Red Hat 5 install a symlink to gcj which blocks the installer recognizing Sun JRE even when it is present, but Red Hat 6 announced removal of that compiler.
If you are running a 32-bit linux, the installation notes may be helpful. 64-bit customers are expected to get by on their own.
If you have jrockit installed, another post answered on this forum deals with selecting the Sun JRE in that case.

View solution in original post

0 Kudos
2 Replies
TimP
Honored Contributor III
763 Views
The JRE is required only for the idb (gui debugger) installation. For idb, it must be the x86_64 version if running that OS, or the 32-bit version, for a 32-bit i386 OS. 32-bit JRE will run on x86_64, but will not work for the ifort/idb (although it shouldn't interfere). Also, if your OS installed /usr/bin/java as a symlink to something other than Sun JRE, that symlink must be removed, and replaced with the symlink which Sun JRE would install, so that 'java -version' will show the correct Sun JRE.
If you are running a distro which will install Sun JRE via yum or YOU or the like, that option should be taken, otherwise you likely need the one from the Sun website. So it is fairly important to know something about your OS in order to deal with this. Certain versions of Red Hat 5 install a symlink to gcj which blocks the installer recognizing Sun JRE even when it is present, but Red Hat 6 announced removal of that compiler.
If you are running a 32-bit linux, the installation notes may be helpful. 64-bit customers are expected to get by on their own.
If you have jrockit installed, another post answered on this forum deals with selecting the Sun JRE in that case.
0 Kudos
aerospace-sms
Beginner
762 Views
Quoting - tim18
The JRE is required only for the idb (gui debugger) installation. For idb, it must be the x86_64 version if running that OS, or the 32-bit version, for a 32-bit i386 OS. 32-bit JRE will run on x86_64, but will not work for the ifort/idb (although it shouldn't interfere). Also, if your OS installed /usr/bin/java as a symlink to something other than Sun JRE, that symlink must be removed, and replaced with the symlink which Sun JRE would install, so that 'java -version' will show the correct Sun JRE.
If you are running a distro which will install Sun JRE via yum or YOU or the like, that option should be taken, otherwise you likely need the one from the Sun website. So it is fairly important to know something about your OS in order to deal with this. Certain versions of Red Hat 5 install a symlink to gcj which blocks the installer recognizing Sun JRE even when it is present, but Red Hat 6 announced removal of that compiler.
If you are running a 32-bit linux, the installation notes may be helpful. 64-bit customers are expected to get by on their own.
If you have jrockit installed, another post answered on this forum deals with selecting the Sun JRE in that case.

Excellent!
You solve my problem. /usr/bin/java is the key point.
Thanks a lot.
0 Kudos
Reply