Hi Seisan community,
Happy new year to you all. I am having trouble compiling seisan
(seisan_v12.0_macosx_64) on my laptop. I have all compilers and necessary
tools installed already using Homebrew. Below are the steps I did;

1. I downloaded the tar.gz file, unzipped it and created a seismo folder in
my home directory. (/Users/albert/seismo), all folders created WOR, PRO,
LIB, COM, REA,.... and contain files

2. Edited the makefile in PRO, LIB folders as shown below:
##..............................PRO makefile....................
ifeq ($(OS),Darwin)
   SEISARCH = macosx
   OUTPATH = .
else
   OUTPATH = $(SEISARCH)
endif
OUTPATH = .
debug_flags = -g -fcheck=all
debug_flags = -g

# PATH TO WHICH EXECUTABLES ARE INSTALLED
INSTALL_PRO_PATH = /Users/albert/seismo/pro
..................................this is it for PRO folder...............

##..............................LIB makefile....................
ifeq ($(OS),Darwin)
   SEISARCH = macosx
   OUTPATH = .
else
   OUTPATH = $(SEISARCH)
endif
OUTPATH = .
..................................this is it for LIB folder...............

3. Edited the SEISAN.bash from the COM folder, with SEISARCH= macosx, also
the bash_profile file on my computer and added export $PATH =
my_path_on_mycomputer/seismo/ :$PATH

##...........COM folder, SEISAN.bash edit........................
export SEISARCH="macosx"
#    set SEISAN top directory
export SEISAN_TOP="/Users/albert/seismo"

##...........COM folder, SEISAN.csh edit..................am i supposed to
edit it too??
setenv SEISARCH macosx
setenv SEISAN_TOP /Users/albert/seismo
..................................this is it for the COM
folder...............
4. I unzipped the source & dataselect-3.17 folders, dataselect containing
the libmseed folder and copied the two folders to the LIB folder (both? or
dataselect alone?), in these two folders there are makefiles but i did not
tamper with any.

5. Under the terminal, i edited the .bash_profile to add the path as below:


export PATH="./Users/albert/seismo/COM/SEISAN.bash:$PATH"

is this enough? or am missing other paths?


##.....that is it for the .bash_profile edit................


6. Now I thought, I was set to go! No, I was wrong. I then moved back to
the terminal, then to the LIB and later to the PRO directory, I ran the
"make all" command (in both directories, one at a go). In either the PRO or
LIB directory, I got an error message below:


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

---- COMPILING SEISAN LIBRARIES -----------------

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

abstim.for

make[1]: abstim.for: No such file or directory

make[1]: *** [abstim.o] Error 1

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

---- COMPILING SEISAN PROGRAMS -------------------

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

Questions:
1. How can I resolve the above error, did I miss anything? Can anyone guide
me consistently through the compilation process? Or was my step-by-step ok?
2. If I run eev, while in the seismo folder? Or WOR? Does it matter? eev or
eev 199606 doesn't run, command not found (ofcourse it wouldn't run since
compilation failed). When I am running eev, does it matter which directory?
I will have to go through the guides for this by myself.
3. If I run "which eev", no error is returned and still nothing
4. if i run: which **

/usr/local/bin/gfortran

/usr/local/bin/gcc

I would appreciate it if anyone can guide me on how to solve this. Thank
you for all your time, sorry for making it long but I wanted to make it
more explanatory as possible for easy support.

Regards
Albert,
PhD student
Northwestern University,
Evanston, IL USA
_______________________________________________
seisan mailing list
[email protected]
https://mailman.uib.no/listinfo/seisan

Reply via email to