Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: George Bosilca (bosilca_at_[hidden])
Date: 2006-02-24 15:48:48

On Feb 24, 2006, at 10:44 AM, Benoit Semelin wrote:

> Well I have actually tried with 2 different versions: 8.0.034 and
> 8.1.018. The config.log is attached (I hope this works on the
> mailing list...)

I'm using 3 version of the intel compiler. These 2 plus the latest
9.0 version and I was able to compile everything with any problems.
Open MPI provide a clean interface for f90 that is different from the
f77. We generate all possible functions (overloading them) depending
on the type of arguments. It's a big file, and when I say big ...
it's big. So it take a while to build and it take a while for the F90
codes to get compiled. But, it's a clean F90 code ...

> The compiler is not hanging it is completing the task, it just
> slows down very much for modules that contain MPI calls...
> But in between I found out that if I replace the proprer f90 "USE
> MPI" by the old " include 'mpif.h' ", it compiles at normal speed...

That's a solution that works but you will get some warnings. If you
want there is an option for configure which will decrease the maximum
dimension array for the F90 interface. By default is set to 4 but you
can move it down to 2. Please set --with-f90-max-array-dim=2 at
configure time, and the compilation of any F90 will be a lot faster,
while you will still have a clean F90 interface.

> Okay, I guess this is it. I am indeed using gcc, g++ and intel
> fortran. Then I should try with icc?

If you're not mixing F90 and C in the same program it will work
without problems. If you mix C and F90 it should work ...