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

--
Lars Ottemøller
Associate Professor
Department of Earth Science
University of Bergen
Allegt. 41
5007 Bergen
NORWAY
Phone +47 5558 2616

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

Reply via email to