April 20, 2011
Centos Install Seismic Unix
Seismic Unix is an open source seismic utilities package supported by the Center for Wave Phenomena (CWP) at the Colorado School of Mines (CSM). I use Centos 5.5 as my system operation. This is steps to install Seismic Unix in my computer :
- I want to install Seismic Unix at /opt/seisun. Copy Seismic Unix source at this directory (I use cwp_su_all_42.tgz). Extract this file with command : tar zxvf cwp_su_all_42.tgz.
- Export CWPROOT directory PATH. Use this command : export CWPROOT=/opt/seisun
- Edit Makefile.config file. Go to at src directory with command : cd src and edit Makefile.config file.
- make install (to install seismic unix the basic set of codes)
- make xtinstall (to install seismic unix the X-toolkit applications)
- make finstall (to install seismic unix the Fortran codes)
- make mglinstall (to install seismic unix the Mesa/ Open GL items)
- make utils (to install seismic unix libcwputils) (nonessential)
- make xminstall (to install seismic unix the Motif application)
- make sfinstall (to install seismic unix the SFIO version of SEGDREAD)
When I try to install X seismic unix application, I get this error message and how to solve that :
- Xlib.h : No such file or directory. Install libX11 and libX11-devel. Use command yum search libX11 to get other software version.
- Intrinsic.h : No such file or directory. Install libXt and libXt-devel. Use command yum search libXt to get other software version.
- Cannot find -lXmu. Install libXmu and libXmu-devel. Use command yum search libXmu to get other software version.
- Cannot find -lXext. Install libXext and libXext-devel. Use command yum search libXext to get other software version.
- Cannot find -lXi. Install libXi and libXi-devel. Use command yum search libXi to get other software version.
- Xm/Xm.h: No such file or directory. Install openmotif and openmotif-devel. Use command yum search openmotif to get other software version.
When you complete to install seismic unix, dont forget to edit your profile file. Edit /your_home/.bashrc file and add this text :
export CWPROOT=/opt/seisun export PATH=$PATH:$CWPROOT/binChange CWPROOT location with your seismic unix installed. Log off from your system and type seismic unix command at konsole (surange, suaddheader, etc) to check your seismic unix installed.
One Comment
Hey I liked this subject very much. It helped me a lot while installing seismic unix on Centos. But I have a problem, I modified the Makefile.config file as mentioned in the website:
http://www.seismicunix.com/w/Seismic_Unix_install_on_Linux
but it cannot continue installing and I recieved this error message:
cc: command not found
Could you tell me please what I should do?
Thank you very much