Installation Intel® Fortran Compiler for Linux on KNOPPIX
1. Download
Intel® Fortran Compiler for Linux (non-commercial package) can be downloaded from Intel®. We are required to register by providing the email address to receive the instruction for downloading and a license file.
2. Extract and convert
l_fc_p_9.0.021.tar.gz is around 125 MB. After extraction, ifort (RPM-based) will be located in l_fc_p_9.0.021 directory. We can use alien to convert .rpm to .deb for installation on KNOPPIX.
$ tar -xvrf l_fc_p_9.0.021.tar.gz $ cd l_fc_p_9.0.021 $ alien intel-ifort9-9.0-021.i386.rpm |
3. Install
First of all, we have to login as root for installation. Then install the converted file, intel-ifort9_9.0-22_i386.deb. (Noted that its file name has been changed)
$ dpkg --install intel-ifort9_9.0-22_i386.deb
|
4. Post-install
ifort will be installed under /opt/intel/fc/9.0/bin/. We need to modify ifort, ifortvars.csh and ifortvars.sh by replacing <INSTALLDIR> with the full path "/opt/intel/fc/9.0" For example, we can modify ifort as following:
#!/bin/sh if [ -z "$INTEL_LICENSE_FILE" ] then
else
fi export INTEL_LICENSE_FILE; if [ -z "$LD_LIBRARY_PATH" ] then
else
fi export LD_LIBRARY_PATH; if [ -z "$PATH" ] then
else
fi export PATH; export -n IA32ROOT; unset IA32ROOT; if [ $# != 0 ] then
else
fi |
or declare INSTALLDIR=/opt/intel/fc/9.0 and replace <INSTALLDIR> with $INSTALLDIR
#!/bin/sh INSTALLDIR=/opt/intel/fc/9.0 if [ -z "$INTEL_LICENSE_FILE" ] then
else
fi export INTEL_LICENSE_FILE; if [ -z "$LD_LIBRARY_PATH" ] then
else
fi export LD_LIBRARY_PATH; if [ -z "$PATH" ] then
else
fi export PATH; export -n IA32ROOT; unset IA32ROOT; if [ $# != 0 ] then
else
fi |
Do not forget to modify ifortvars.csh and ifortvars.sh also. Finally, copy a license file, noncommercial_for_??????.lic, to /opt/intel/fc/9.0/licenses.
references:
http://cryoem.berkeley.edu/spider/ifort_inst.shtml
http://www.argv.org/~chome/intelcc/
Last update 30/08/05