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

Ubuntu 9.10 + ICSPE + ??? -> mpif90

tlroche
Beginner
799 Views

I'm setting up an Intel 64 box running Ubuntu 9.10 for a class using MPI and OpenMP. The box (which is just vanilla multicore consumer-grade hardware) has ICPSE (Intel Compiler Suite Professional Edition) already installed, and

$ which icc
/opt/intel/Compiler/11.1/072/bin/intel64/icc
$ which ifort
/opt/intel/Compiler/11.1/072/bin/intel64/ifort

but

$ which mpif90
$ find /opt/intel/ | fgrep -ie 'mpif90' | wc -l
0

So I'm assuming I need to install MPI somehow: is that correct, or does that come with ICPSE?

If I must install MPI, should I do that with an Ubuntu package, or via another mechanism (e.g. download from Intel)?

If I should install MPI from an Ubuntu package, which one(s) should I use?

Thanks in advance. Feel free to forward or to point me to useful docs.

0 Kudos
1 Reply
TimP
Honored Contributor III
799 Views
The cluster compiler edition includes Intel MPI, which has a pre-built mpiifort driver. In the Intel MPI installation, mpif90 is built to use gfortran, not ifort, while mpif77 may require g77.
Otherwise, Intel MPI is an additional cost option (30-day free trial available). I haven't seen a writeup on use of Intel MPI with Ubuntu; it probably requires some extra configuration steps. So far, not many cluster computing users have made the extra effort to use Ubuntu. This article discussed installation of a past version of Intel MPI on Debian.
If you wish to use an open source MPI such as openmpi with ifort, you must build the mpif77 and mpif90 libraries with ifort. The gcc/g++ libraries should work OK along with ifort or icc.
I haven't tried either openmpi or Intel MPI myself with Ubuntu. I have to admit the choice of linux distros has become largely a matter of opinion lately, with the exceptional effort made recently by the compiler team to improve ease of use of ifort in Ubuntu overcoming the special obstacles set up by Ubuntu.
0 Kudos
Reply