openmpi and gcc versions

Rainer Müller raimue at macports.org
Fri Sep 10 08:21:54 PDT 2010


On 2010-09-10 15:56 , Denis Buffenoir wrote:
> sudo port install openmpi +gcc44 

> [...]
> --->  Installing openmpi @1.4_0+gcc43
> --->  Activating openmpi @1.4_0+gcc43
> --->  Cleaning openmpi
> 
> First I don't understand why he use gcc43 ?
> But doesn't matter, I continu...

Your ports tree seems to be out of date. The current version would be
openmpi @1.4.2. This older version does not have a +gcc44 variant yet,
so it falls back to the default.

To switch to gcc44:
sudo port selfupdate
sudo port upgrade outdated
sudo port upgrade --enforce-variants openmpi -gcc43 +gcc44

> mpicc
> i686-apple-darwin10-gcc-4.2.1: no input files

openmpi installs /opt/local/bin/openmpicc, you are probably executing
/usr/bin/mpicc here.

Rainer


More information about the macports-users mailing list