Next: User makefiles
Up: Using Sophya
Previous: Using Sophya
  Contents
  Index
Two environment variables DPCBASEREP and EROSCXX are used
to define the path where the Sophya libraries and executable are installed.
DPCBASEREP defines the base directory path and EROSCXX the
name of the C++ compiler. The complete path is built using DPCBASEREP,
the operating system name (as obtained by the uname command), and
the compiler name. In the example below, we show the complete path
for a Linux system, using the GNU g++ compiler:
- $DPCBASEREP/Include : Include (.h) files
- $DPCBASEREP/Linux-g++/Libs : Path for the archive libraries (.a)
- $DPCBASEREP/Linux-g++/ShLibs : Shared library path (.so)
- $DPCBASEREP/Linux-g++/Exec : Executable file path
In order to use the shared libraries, the LD_LIBRARY_PATH variable
should contain the Sophya shared library path
( $DPCBASEREP/Linux-g++/ShLibs when using g++ compiler on Linux)
For modules using external libraries, the EXTLIBDIR
environment variable should contain the path to these libraries
and corresponding include files.
C-FitsIO anf FFTW include files should be accessible through:
$EXTLIBDIR/Include/FitsIO
$EXTLIBDIR/Include/FFTW
The corresponding libraries are expected to be found in:
$EXTLIBDIR/Linux-g++/Libs
Next: User makefiles
Up: Using Sophya
Previous: Using Sophya
  Contents
  Index
Reza Ansari
2001-03-07