The basic steps for installing SU (Seismic Unix) on Ubuntu16.04 are ubuntu16.04seismic.
Seismic Unix (SU) is a source Seismic data processing software developed by the Wave Field Research Center (CWP) of the Colorado mining Institute, at present, many scholars use SU for seismic data processing and programming in Linux. I personally studied FWI and used SU programming for seismic exploration in Linux. I would like to share my experience in installing SU in Linux.
Operating System: 64-bit Ubuntu16.04.3; machine: workstation (DELL)
SU41R3: http://www.cwp.mines.edu/cwpcodes/
Basic installation steps:
(1) 8 software packages are pre-installed.
Enter the following command in the terminal in sequence:
Sudo apt-get install build-essential
Sudo apt-get install libx11-dev
Sudo apt-get install libxt-dev
Sudo apt-get install freeglut3
Sudo apt-get install freeglut3-dev
Sudo apt-get install libxmu-dev
Sudo apt-get install libxi-dev
Sudo apt-get install gfortran
(2) preparations.
① Add environment variables to the. bashrc file.
Export CWPROOT =/home/yourname/su
Export PATH = $ PATH:/home/yourname/su/bin
Note: Here/home/yourname/su is the directory where you download and decompress su. After saving and exiting, run the command: source. bashrc.
② My SU version is cwp_su_all_41R3. Copy the downloaded source file to/home/yourname/su. After decompression, a new folder "src" is displayed ".
Go to the folder, find the Makefile. config file, and modify it as follows:
A. Activate XDRFLAG = sentence (I .e. remove #).
B. Block the XDRFLAG =-DSUXDR-D_BSD_SOURCE sentence
C. Disable OPTF =-static-fno-automatic-fno-second-underscore.
D. Block FC = g77, FC = f77, FC = gfortran, activate and activate FC = ifort.
(3) Installation
Run the following commands in sequence on the terminal:
Make install
Make xtinstall
Make finstall
Make mglinstall
After installation, the bin, include, lib, and other folders will appear in the current directory.
(4) test. Test.
After the installation is complete, run suplane | suxwib &. The installation is successful.
The above is just a little personal experience, and I hope to help you.
View comments