Ok. Now it did compile everything. 
So to use gfortran on Maverick 10.10 you need in your LIB/Makefile 
$(OUTPATH)/seed.$(osuf): seed.for $(INCS)
         $(fc) -fno-range-check seed.for

and in PRO/Makefile you need to comment the 
ONLY_gfortran64
part. 

Thank you.

Gregor

On Tue, 2010-10-26 at 14:53 +0200, Gregor Schweppe wrote:
> Ah sorry. I was in a hurry and overread the #. 
> I uncomment and recompile. 
> Sorry.
> 
> Gregor
> 
> 
> On Tue, 2010-10-26 at 14:38 +0200, Lars Ottemoller wrote:
> > In the LIB/Makefile you need to have
> > 
> > $(OUTPATH)/seed.$(osuf): seed.for $(INCS)
> >         $(fc) -fno-range-check seed.for
> > 
> > does that not work?
> > 
> > Lars
> > 
> > 
> > On 26/10/10 13:28, Gregor Schweppe wrote:
> > > Hello again,
> > > without 'ONLY_gfortran64 = $(OUTPATH)/bgisei' in PRO/Makefile I get this
> > > new error message:
> > >
> > > 'Error: Arithmetic overflow converting INTEGER(8) to INTEGER(4) at (1).
> > > This check can be disabled with the option -fno-range-check
> > > make[1]: *** [seed.o] Error 1
> > > make[1]: Leaving directory `/home/gschwepp/Seismo/seisan/LIB'
> > > --------------------------------------------------
> > > ---- COMPILING SEISAN 8 PROGRAMS -----------------
> > > --------------------------------------------------
> > > make: *** No rule to make target `../LIB/./seisan.a', needed by `ahsei'.
> > > Stop.'
> > >
> > > The error occurs even if I add -fno-range-check again.
> > >
> > > Best regards,
> > > Gregor
> > >
> > > On Tue, 2010-10-26 at 12:54 +0200, Lars Ottemoller wrote:
> > >> Hi Gregor,
> > >>
> > >> can you please try to remove bgisei from the ONLY_gfortran64 in the PRO
> > >> Makefile, and see if you can compile the rest with gfortran?
> > >>
> > >> My Ubuntu is not that uptodate, and I have not yet seen this problem.
> > >>
> > >> Regards,
> > >> Lars
> > >>
> > >>
> > >> On 26/10/10 11:49, Gregor Schweppe wrote:
> > >>> Hello,
> > >>>
> > >>> I tried to compile seisan with gfortran 4.4.5 on Ubuntu 10.10 Maverik. I
> > >>> set SEISARCH to 'gfortran64', goto PRO and start compilation with 'make
> > >>> all'. After a few lines I get the following error:
> > >>>
> > >>> 'Error: Arithmetic overflow converting INTEGER(8) to INTEGER(4) at
> > >>> (1). This check can be disabled with the option -fno-range-check
> > >>> make[1]: *** [seed.o] Error 1
> > >>> make[1]: Leaving directory `/home/gschwepp/Seismo/seisan/LIB'
> > >>> --------------------------------------------------
> > >>> ---- COMPILING SEISAN 8 PROGRAMS -----------------
> > >>> --------------------------------------------------
> > >>> make: *** No rule to make target `../LIB/./seisan.a', needed by
> > >>> `bgisei'.  Stop.'
> > >>>
> > >>> To check if the error is in my system I set SEISARCH to 'linux'. Typed
> > >>> 'make clean' in /PRO and /LIB and started compilation with g77. I got no
> > >>> error message, everything works fine.
> > >>>
> > >>> I changed '$(fc) bgisei.for' to '$(fc) -fno-range-check bgisei.for' in
> > >>> PRO/Makefile and tried to recompile it with gfortran. It did not work
> > >>> either (same error).
> > >>>
> > >>> I don't know how to fix it. But maybe someone else does.
> > >>>
> > >>> Best regards,
> > >>>
> > >>> Gregor
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> seisan mailing list
> > >>> [email protected]
> > >>> http://mailman.uib.no/listinfo/seisan
> > >>
> > >
> > >
> > >
> > > _______________________________________________
> > > seisan mailing list
> > > [email protected]
> > > http://mailman.uib.no/listinfo/seisan
> > 
> 
> 
> 
> _______________________________________________
> seisan mailing list
> [email protected]
> http://mailman.uib.no/listinfo/seisan



_______________________________________________
seisan mailing list
[email protected]
http://mailman.uib.no/listinfo/seisan

Reply via email to