Getting Debian MPICH and icc/ifort ready on Core2Duo/amd64 port
Sorry, today’s post won’t be pretty and certainly not for people who are not familiar with Debian and installing. It’s basically just a short summary for me. But feel free to email me or post a comment if you need assistance.
Get the Intel Fortran and CC compiler. If you use them for non-commercial purposes it is free to download them.
http://registrationcenter.cps.intel.com/irc_nas/537/l_fc_c_9.1.036.tar.gz
http://registrationcenter.cps.intel.com/irc_nas/534/l_cc_c_9.1.042.tar.gz
Installing the stuff:
Make sure the ia32-libs package is installed, when running an amd64 port.
apt-get install ia32-libs
This is not the default on Debian!
Pointers on how to install the intel compilers:
http://ubuntuforums.org/showthread.php?t=149579
http://lunatics.at/index.php?op=Articles;article=2
Get MPICH2, unpack and configure it:
CC=icc CXX=icpc F77=ifort F90=ifort FFLAGS=’-fomit-frame-pointer -xT -O3 -ip’ CFLAGS=’-fomit-frame-pointer -xT -O3 -ip’ ./configure –prefix=/opt/mpich2 –with-device=ch3:shm –enable-fast –enable-f77
Make sure to include /opt/mpich2/bin in your path.
Get the fftw2, unpack and configure it:
CC=icc CXX=icpc F77=ifort F90=ifort FFLAGS=’-fomit-frame-pointer -xT -O3 -ip’ CFLAGS=’-fomit-frame-pointer -xT -O3 -ip’ ./configure –prefix=/opt/fftw-2.1.5 –enable-mpi –enable-sse2 –enable-i386-hacks
