next up previous contents index
Next: 3.9.2 Solaris Up: 3.9 Compiling SEISAN programs Previous: 3.9 Compiling SEISAN programs   Contents   Index

3.9.1 Linux

Compilers used for SEISAN (other version may also work):
Linux 64 bit: Gfortran 4.1.2
Linux 32 bit: Gfortran 4.3.2

Compiler installation:
For Linux/Unix, compilers are usually installed when the operating system is installed.

If graphics programs do no link on Linux/Unix systems, check that you have X11 libraries in
$LD_LIBRARY_PATH
You can check what is there by command
echo $LD_LIBRARY_PATH

SUSE
When compiling SEISAN on SUSE Linux it has been suggested to use the following compiler options `-malign-double -finit-local-zero' in addition to the ones already used. Testing this on Redhat Linux produced very large executables, but it may be worth trying on SUSE.

Ubuntu
On Ubuntu one might need to add these libraries in order to compile SEISAN:
sudo apt-get install gfortran
sudo apt-get install libgfortran3
sudo apt-get install libx11-dev

Seisan Explorer
The GUI Seisan Explorer can be compiled on Linux using Qt version 4.8 (version 5+ has NOT been tested yet).
The source code se-source.tar.gz is found in SUP directory.
To compile Seisan Explorer on a Linux system the Qt Library is needed, Qt Creator is optional. The QT framework can be downloaded from http://qt-project.org. Look for: "Qt libraries 4.8.5 for Linux/X11".

SEISAN must be installed on the computer before Seisan Explorer can be compiled. The Linux computer also needs to have fontconfig 2.4.2 (or newer) installed. To check you version of fontconfig type fc-cat -V.

These notes descrive how to install the Qt Library: http://qt-project.org/doc/qt-4.8/install-x11.html

Building Seisan Explorer:
1: Move into the directory containing the SE source code.
2: Copy the SEISAN library seisan.a from $SEISAN_TOP/LIB to the linux subfolder.
3: Run qmake se.pro to build the makefile.
4: Run make to build the executable named se.
5: Copy the se executable to the $SEISAN_TOP/PRO folder.

Step 3 and 4 is not needed if Qt Creator is used. The qmake program is a part of the QtSDK. You need qmake in your path. Alternatively, you can specify full path to qmake.


next up previous contents index
Next: 3.9.2 Solaris Up: 3.9 Compiling SEISAN programs Previous: 3.9 Compiling SEISAN programs   Contents   Index
Peter Voss : Wed Dec 13 12:53:26 UTC 2017