From: Ed on
Hello

On browsing www.g95.org, I have noticed that MATRAN is said to work
with g95. So I download the tar file and under msys, I issued the
command make (Of course I changed f95 to g95). The result was a
series of error messages.


Does anyone have the exact configuration to get MATRAN compiled under
g95?


Many thanks


Ed

From: paul.richard.thomas on

> Does anyone have the exact configuration to get MATRAN compiled under
> g95?

For gfortran it is -

FC = gfortran
PREC = dbl
LIB = lapack.a blas.a

..f95.o :
$(FC) -c -x f95-cpp-input -D$(PREC) $<

where the -x f95-cpp-input triggers macro processing. The
corresponding option for G95 is -cpp.

Paul
From: Ed on
On Jan 31, 9:26 am, paul.richard.tho...(a)gmail.com wrote:
> > Does anyone have the exact configuration to get MATRAN compiled under
> > g95?
>
> For gfortran it is -
>
> FC = gfortran
> PREC = dbl
> LIB = lapack.a blas.a
>
> .f95.o :
>         $(FC) -c -x f95-cpp-input -D$(PREC) $<
>
> where the -x f95-cpp-input triggers macro processing.  The
> corresponding option for G95 is -cpp.
>
> Paul

Hello

Many thanks. At least the compiled went fine for some sources but

g95 -c -cpp -Ddbl MatranRealCore.f95
In file MatranRealCore.f95:28

end module MatranRealCore_m
1
Error: Name 'minus' at (1) is an ambiguous reference to 'minus' from
module 'rmatsum_m'
In file MatranRealCore.f95:28

end module MatranRealCore_m
1
Error: Name 'plus' at (1) is an ambiguous reference to 'plus' from
module 'rmatsum_m'
In file MatranRealCore.f95:28

end module MatranRealCore_m
1


Would you know what is to be done next?

Many thanks

Ed