Following the above procedure should install the core seplib libraries
and programs into the directory /usr/local/SEP.
My suggestion is to start from one of the files in doc/config_examples.
These provide a configuration and compile mechanism for several different
Here are some of the command line switches available.
[--prefix=/other/directory] Specify another directory to install SEPlib in
Location to put the binaries, manual pages, include files, and libraries.
If you are going to try to compile SEP reports, old SEPlib code, etc. it
is important that you set these rather than doing copy or mv commands.
See MAKERULES for more details. The directories default to
default to [prefix]/bin, [prefix]/include, [prefix]/man, [prefix]/lib
[--with-local] Install the less tested, newer portions of SEPlib
[--with-fftw] Compile with FFTW3.0 support
[--with-omp] Compile codes with OMP support
[--with-mpi] Compile with MPI support
[--with-su=/su/directory] Compile SU support
[--with-mansupport] some systems don't include the
packages neqn, tbl, etc. If your system
does, use this option
If you run into problems (for example you need to add an additional library
path when compiling programs) you can often solve your problem by setting
environmental variables that the configure script will then use. For example:
[FC] The Fortran compiler
[LDFLAGS] Directories and libraries to link when compiling C programs
[FCLDFLAGS] Directories and libraries to link when compiling Fortran programs
[CFLAGS] Flags to pass to the C compiler
[LIBS] C Libs to include by default
[FCLIBS] Fortran libs to include by default
[CPPFLAGS] C Processor flags
[PERL] Perl location(is /usr/bin isn't before /usr/sbin this is advisable)
[FFTW_FCLD] FFTW fortran linking flags
[OMP_FCFLAGS] Fortran OMP compile flags
[OMP_FCLD] Fortran OMP link flags
[MPI_FLAGS] Mpi compile flags
[MPI_LD] Mpi linking flags
[PPM_FLAGS] PPM compiling flags
[PPM_LD] PPM linking flags
SEPlib now uses a GNU-style configure mechanism for installation, this
includes the packages:
- Try removimg seplib_base/lib/corelibs/sep/sepgetpar_scan.c and
vplot/filters/loclib/getpar_scan.c if compiling
fails for one of these files. This seems particularly problematic on Solaris. You
will need to make sure you have flex or lex in your path before configuring
SEPlib for this to work.
- If using the Sun Fortran compiler also use the Sun C compiler (setenv CC /path/to/C)
- If Ricksep doesn't work you need to make sure Motif is installed on your
machine. Try setting MOTIF_LD and MOTIF_FLAGS to to correct library and include paths.
You can find an example in docs/config_examples.
- You often need to "setenv LIBS -L/usr/X11R6/lib64" on 64 bit LINUX systems to get
vplot to compile
- Remember to create your ~/.datapath file
- Remember to setenv VPLOTSPOOLDIR /tmp
- Email bob at sep.stanford.edu if you have any problems