next up previous contents index
Next: User makefiles Up: Using Sophya Previous: Using Sophya   Contents   Index

Environment variables

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:

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 up previous contents index
Next: User makefiles Up: Using Sophya Previous: Using Sophya   Contents   Index
Reza Ansari
2001-03-07