Linux


Install intel fortran compiler on ubuntu

- First go to the intel web site "http://software.intel.com/", click on 'Downloads',
- click on 'Free Non-commercial Downloads',
- click on 'accept',
- click on 'intel fortran compiler professional edition for linux',
- provide an email address where you will receive the serial number,
- download the suitable file, for instance 'l_cprof_p_11.1.069-intel64.tgz'.

- sudo apt-get install gcc
- sudo apt-get install build-essential
- sudo apt-get  install g++
- sudo apt-get install libstdc++5  (Do not install, True Combat is 32-bit app/game. So you need to install the 32-bit version of libstdc++5 on your 64-bit system ) Continue next steps

- cd ~/Desktop
- wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb
- wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb
- sudo dpkg -i getlibs-all.deb
- getlibs -i libstdc++5_3.3.6-17ubuntu1_i386.deb

- sudo apt-get install ia32-libs                 (Probably installed before)
- sudo apt-get install lib32stdc++6          (Probably installed before)
- sudo apt-get install libc6-dev-i386
- sudo apt-get install gcc-multilib            (Probably installed before)

- sudo apt-get install g++-multilib
- tar -xvzf l_cprof_p_11.1.069-intel64.tgz
- cd l_cprof_p_11.0.081
- sudo ./install.sh

Open bashrc at home:
- vi .bashrc
Add installation path
- . /opt/intel/Compiler/11.1/069/bin/intel64/ifortvars_intel64.sh    (space after dot is important)
- wq!
- /opt/intel/Compiler/11.1/069/bin/intel64/ sudo chmod +x ifortvars_intel64.sh

Go to
 http://packages.debian.org/lenny/amd64/libstdc++5/download
 Click ftp.us.debian.org/debian
 Save file in Download
- cd ~/Download
- sudo dpkg -i libstdc++5_3.3.6-18_amd64.deb


Test : Type in Terminal
- which ifort

MKL installation
- First go to the intel web site "http://software.intel.com/", click on 'Downloads',

- click on 'Free Non-commercial Downloads',
- click on 'accept',
- click on 'intel fortran compiler professional edition for linux',
- provide an email address where you will receive the serial number,
- download the suitable file (Intel® Math Kernel Library (Intel® MKL) for Linux), for instance 'l_mkl_p_10.2.5.035.tar.gz'.

- tar -xvzf l_mkl_p_10.2.5.035.tar.gz
- cd l_mkl_p_10.2.5.035.tar.gz
- sudo ./install.sh




MPI installation

- Go to this link
- Download
- Source
- mpich2-1.2.1p1.tar.gz
- tar -xvzf  mpich2-1.2.1p1.tar.gz
- cd mpich2-1.2.1p1.tar.gz
- ./configure
- make
-sudo make install