Hi Christian, Thanks for your help. I added the lines and followed your guidance and it worked well. I didn't even recompile.
Regards Albert On Tue, Jan 3, 2023, 05:00 <seisan-requ...@geo.uib.no> wrote: > Today's Topics: > > 1. Re: Seisan installation on MacBook pro (Christian Joseph Clarito) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 2 Jan 2023 23:24:53 +0800 > From: Christian Joseph Clarito > <christian.clar...@phivolcs.dost.gov.ph> > Subject: Re: [seisan] Seisan installation on MacBook pro > To: seisan@geo.uib.no > > Hi Albert, > > For #5, add this in your .bash_profile (btw my setup currently is running > in Mojave). Make sure that you have these two lines: > > source /Users/albert/seismo/COM/SEISAN.bash > alias select="/Users/albert/seismo/PRO/select" > > Then, > source ~/.bash_profile > > After that, you can do the basic shortcuts like wo,re,pr etc. > You can also try and test eev: > eev 199606 TEST > > For #6, Seisan 12 is pre-compiled but if you want to recompile everything > then open a terminal and type in this order: > pr > make clean > make all > li > make all > da > remodl > setbrn > > Hope this helps and enjoy Seisan :) > > Cheers, > Christian > > On Mon, Jan 2, 2023 at 7:00 PM <seisan-requ...@geo.uib.no> wrote: > > > Today's Topics: > > > > 1. Seisan installation on MacBook pro (Albert Kabanda) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sun, 1 Jan 2023 15:17:26 -0600 > > From: Albert Kabanda <albertkabanda2...@u.northwestern.edu> > > Subject: [seisan] Seisan installation on MacBook pro > > To: seisan@geo.uib.no, seisan-ow...@geo.uib.no > > > > 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 > > -------------- next part -------------- > > A non-text attachment was scrubbed... > > Name: not available > > Type: text/html > > Size: 9722 bytes > > Desc: not available > > URL: < > > > https://mailman.uib.no/private/seisan/attachments/20230101/b3fddbaf/attachment.txt > > > > > > > ---------------------------------------------------------------------- > > Send seisan mailing list submissions to > > seisan@geo.uib.no > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://mailman.uib.no/listinfo/seisan > > or, via email, send a message with subject or body 'help' to > > seisan-requ...@geo.uib.no > > > > You can reach the person managing the list at > > seisan-ow...@geo.uib.no > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of seisan digest..." > > > > > > _______________________________________________ > > seisan mailing list > > seisan@geo.uib.no > > https://mailman.uib.no/listinfo/seisan > > > > > > End of seisan Digest, Vol 172, Issue 1 > > ************************************** > > > > > -- > Sa taong may hiya, salita'y panunumpa. > -Emilio Jacinto (Mga Aral ng Katipunan sa Kartilya) > > Stop making excuses, make improvements! > - FKArquiza (Math(er)OfAllTerrorProfs) > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: text/html > Size: 8746 bytes > Desc: not available > URL: < > https://mailman.uib.no/private/seisan/attachments/20230102/ca4e4fca/attachment.txt > > > > ---------------------------------------------------------------------- > Send seisan mailing list submissions to > seisan@geo.uib.no > > To subscribe or unsubscribe via the World Wide Web, visit > https://mailman.uib.no/listinfo/seisan > or, via email, send a message with subject or body 'help' to > seisan-requ...@geo.uib.no > > You can reach the person managing the list at > seisan-ow...@geo.uib.no > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of seisan digest..." > > > _______________________________________________ > seisan mailing list > seisan@geo.uib.no > https://mailman.uib.no/listinfo/seisan > > > End of seisan Digest, Vol 172, Issue 2 > ************************************** >
_______________________________________________ seisan mailing list seisan@geo.uib.no https://mailman.uib.no/listinfo/seisan