Hello to everyone,
I spend a couple of hours the last days, to success a compilation of SEISAN
11.2 Alpha, running on my laptop, and I want to sharing my experience with
anyone that want to do the same thing on a similar environment.
Software:
Debian 10.10 Buster @ 64 bit
Compiler: gfortran (by default, Buster coming with version 8)
SEISAN 11.2 Alpha
Bash
1. Setup COM/SEISAN.bash
Additionally to standard setup, I do the following change:
#
# set up search PATH
#
export PATH="$SEISAN_TOP/PRO:$PATH"
the last line was changed by
export PATH="$SEISAN_TOP/PRO/$SEISARCH:$PATH"
2. Edit PRO/Makefile
2.1 Looking for the following lines:
##############################################
# COMPILERS
#
# fbounds-check gave too many problems, to be fixed
#
fc_linux64 = gfortran -I../INC -fdollar-ok -fno-automatic $(debug_flags)
-o $@
you should to change the last one by this other:
fc_linux64 = gfortran -std=legacy -I../INC -fdollar-ok -fno-automatic
$(debug_flags) -o $@
shortly, just add -std=legacy to the compilation chain. As was explained in
previous messages, this flag fixed some compatibility issues between
gfortran versions.
2.2. If you try to compile at this moment, you will see a strange message
related to plotphase, and the compilation looks to be uncomplete. If you
take the last compilation line displayed, and run it manually, you may find
that plotphase.for doesn't come with SEISAN 11.2 Alpha tarball.
Then just delete or comment the lines related to plotphase on the Makefile,
of course make a copy of the original before.
3. Ensure to be in PRO folder and just run: make all
At this point everything should work well . As last recommendation,
remember to add the .bash file to the ~/.bashrc file, I do it as follow:
# Load SEISAN paths and variables
if [ -f ~/seismo/COM/SEISAN.bash ]; then
. ~/seismo/COM/SEISAN.bash
fi
I hope that these short recommendations help some Debian or Linux users to
compile the latest version of SEISAN at the moment.
Best regards.
--
Sandra Inés Mercado Martínez
Volcán, Panamá
_______________________________________________
seisan mailing list
[email protected]
https://mailman.uib.no/listinfo/seisan