-----Original Message-----
From: Rich Naff <rlnaff_at_[hidden]>
To: General LAM/MPI mailing list <lam_at_[hidden]>
Date: Mon, 16 Apr 2007 09:13:33 -0600 (MDT)
Subject: Re: LAM: 2 question on lam
On Sat, 14 Apr 2007, Ruhollah Moussavi Baygi wrote:
..
..
..
> 1- By default, wrapper compiler mpif77 refers to g77 compiler. But, I want
> to use gfortran instead of g77 in parallel mode, .i.e. I want that mpif77
> uses gfortran while compiling a FORTRAN program. Please help me.
>
In the Linux world with the bash shell, you can temporarily change
compilers with the following unset and export commands:
unset LAMHF77
export LAMHF77=gfortran (or path to other compiler)
I recommend g95 over gfortran; I find gfortran to be a
little buggy.
_____________________________--
That's undeniably true of gfortran 4.0; there are plenty of sources for better up to date versions of gfortran. You also have several options for reporting any bugs you find in current versions; please don't call it buggy without providing specifics.
An earlier reply pointed out that lam f77 libraries must be rebuilt to match gfortran, unless you can somehow get by with g77 compatibility options. Don't you have the same issues with g95?
Tim Prince
|