Hi all,

I’ve been having problems compiling Seisan 9.0.1 on Fedora 15 64bit. I’ve been 
getting errors like the following:

Error: Return type mismatch of function 'is_1byte' at (1) 
(LOGICAL(1)/LOGICAL(4))
seed.for:3121.27:

         logical*1 is_1byte     ! auxiliary function

This same error has been posted to the maillist but none of the solutions 
seemed to work for me.

I took a look at seed.for and the last comment in the ‘changes history’ is

‘c  fen 24 11   jh: repace all logical*1 with logical f77’

but logical*1 still exists in the code. So I went ahead and did what the 
comment said had been done: replaced all logical*1 with logical and everything 
compiled. 

I do not know Fortran and I’m wondering if this will break anything?

Regards.

Machel Higgins


From: Billy edson Burgoa Rosso 
Sent: Tuesday, January 10, 2012 3:08 PM
To: [email protected] 
Subject: Re: [seisan] Install Seisan in Ubuntu 10.04

Dear Christian,

Iwould like to tell you what I use to do for setting the enviroment 
variables,compiling and Installing SeisAn. Please take into account that the 
SeisAn version that I have is 9.0.1

1) Copy the libmseed that is in the SUP directory (it's a gz file) and 
uncompress this in the LIB directory. You will get a directory called libmseed 
inside LIB.
 
In an Ubuntu terminal you can use this command:

tar -xvf libmseed-2.5.1.tar.gz 

2) Set the environment variables editing the SEISAN.bash file which is located 
in the COM directory. You have to specify the compiler in the SEISARCH variable 
and the seisan top directory SEISAN_TOP. The SEISARCH uses to be gfortran in 
general for 32 or 64 bits architecture.

For example I set in my SEISAN.bash file these lines:

export SEISARCH="gfortran"

export SEISAN_TOP="/home/billy/seismo"


3) Once the SEISAN.bash file has been edited you have to source this file with 
the "source" command (without quotes):

source /home/billy/seismo/COM/SEISAN.bash


4) Now you have to go to the library directory LIB/libmseed directory in order 
to compile the miniseed libraries. Just type "make" in the terminal in order to 
compile the miniseed libraries.

5) After compiling libmseed it is necessary to return to the seisan library LIB 
directory with the command "li". The execute this command:

make ./all

6) Finally It has to be compiled the seisan programs. Go to the PRO directory 
with the command "pr" then execute the command:

make ./all

That's all.

I suggest you to set automatically the environment variables putting into the 
hidden file .bashrc the linet that source the SEISAN.bash file. 

I hope this was helpful.

Regards,


Billy Edson Burgoa Rosso

De: "[email protected]" <[email protected]>
Para: [email protected] 
Enviado: Martes, enero 10, 2012 7:00 A.M.
Asunto: seisan Digest, Vol 47, Issue 10

Today's Topics:

  1. Re: Install Seisan in Ubuntu 10.04 (Christian Escudero)


----------------------------------------------------------------------

Message: 1
Date: Tue, 10 Jan 2012 01:20:13 +0000 (UTC)
From: Christian Escudero <[email protected]>
Subject: Re: [seisan] Install Seisan in Ubuntu 10.04
To: [email protected]

Hello
I had the same problem, then I did as you suggest in your post but then I get 
the following:


gfortran -g -c -I../INC -fdollar-ok -fno-automatic -o gfortran/seed.o -fno-
range-check seed.for
seed.for:2505.26:

          logical*1 isleap                                              
                          1
Error: Return type mismatch of function 'isleap' at (1) (LOGICAL(1)/LOGICAL(4))
seed.for:2676.28:

        logical*1 calc_rate  ! auxiliary function  





----------------------------------------------------------------------
Send seisan mailing list submissions to
    [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
    http://mailman.uib.no/listinfo/seisan
or, via email, send a message with subject or body 'help' to
    [email protected]

You can reach the person managing the list at
    [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of seisan digest..."


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


End of seisan Digest, Vol 47, Issue 10
**************************************





--------------------------------------------------------------------------------
_______________________________________________
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