Changeset 2437 in Sophya for trunk/SophyaLib/Manual
- Timestamp:
- Sep 17, 2003, 2:20:44 PM (22 years ago)
- Location:
- trunk/SophyaLib/Manual
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Manual/piapp.tex
r2384 r2437 85 85 a copy of the on-line help (accessible through the menu {\tt File/Help}). 86 86 Once the SOPHYA/piapp (or PEIDA++/piapp) environment 87 \footnote{ The environment variables {\tt DPCBASEREP} (or {\tt EROSBASEREP}),88 {\tt EROSCXX} (compiler selector), the shared library path87 \footnote{ The environment variables {\tt SOPHYABASEREP} (or {\tt EROSBASEREP}), 88 {\tt SOPHYACXX} (compiler selector), the shared library path 89 89 {\tt LD\_LIBRARY\_PATH} and the executable search path {\tt PATH} must 90 90 be defined} -
trunk/SophyaLib/Manual/sophya.tex
r2304 r2437 174 174 175 175 \subsection{Environment variables} 176 Two environment variables {\bf DPCBASEREP} and {\bf EROSCXX} are used176 Two environment variables {\bf SOPHYABASEREP} and {\bf SOPHYACXX} are used 177 177 to define the path where the Sophya libraries and executable are installed. 178 {\bf DPCBASEREP} defines the base directory path and {\bf EROSCXX} the179 name of the C++ compiler. The complete path is built using {\bf DPCBASEREP},178 {\bf SOPHYABASEREP} defines the base directory path and {\bf SOPHYACXX} the 179 name of the C++ compiler. The complete path is built using {\bf SOPHYABASEREP}, 180 180 the operating system name (as obtained by the {\tt uname} command), and 181 181 the compiler name. In the example below, we show the complete path … … 183 183 184 184 \begin{itemize} 185 \item \$ DPCBASEREP/Include : Include (.h) files186 \item \$ DPCBASEREP/Linux-g++/Libs : Path for the archive libraries (.a)187 \item \$ DPCBASEREP/Linux-g++/ShLibs : Shared library path (.so)188 \item \$ DPCBASEREP/Linux-g++/Exec : Executable file path185 \item \$SOPHYABASEREP/Include : Include (.h) files 186 \item \$SOPHYABASEREP/Linux-g++/Libs : Path for the archive libraries (.a) 187 \item \$SOPHYABASEREP/Linux-g++/ShLibs : Shared library path (.so) 188 \item \$SOPHYABASEREP/Linux-g++/Exec : Executable file path 189 189 \end{itemize} 190 190 191 191 In order to use the shared libraries, the {\bf LD\_LIBRARY\_PATH} variable 192 192 should contain the Sophya shared library path 193 ({\tt \$ DPCBASEREP/Linux-g++/ShLibs } when using g++ compiler on Linux)193 ({\tt \$SOPHYABASEREP/Linux-g++/ShLibs } when using g++ compiler on Linux) 194 194 195 195 For modules using external libraries, the {\bf EXTLIBDIR} … … 203 203 204 204 \subsection{User makefiles} 205 The file {\tt \$ DPCBASEREP/Include/MakefileUser.h} defines the compilation205 The file {\tt \$SOPHYABASEREP/Include/MakefileUser.h} defines the compilation 206 206 flags and the list of Sophya libraries. It should be included in the 207 207 user's makefile. The default compilation rules assumes that the object (.o) 208 208 and executable files would be put in the following directories: \\ 209 {\tt \$HOME/`uname`-\$ EROSCXX/Objs} \\210 {\tt \$HOME/`uname`-\$ EROSCXX/Exec}.209 {\tt \$HOME/`uname`-\$SOPHYACXX/Objs} \\ 210 {\tt \$HOME/`uname`-\$SOPHYACXX/Exec}. 211 211 In the case of a {\tt Linux} system and using {\tt g++} as the C++ compiler, 212 212 these two directories would be translated to \\ … … 1517 1517 The build procedure expects to find the include files and the libraries in: \\ 1518 1518 {\tt \$EXTLIBDIR/Include/FitsIO } \\ 1519 {\tt \$EXTLIBDIR/`uname`-\$ EROSCXX/Libs} \\1519 {\tt \$EXTLIBDIR/`uname`-\$SOPHYACXX/Libs} \\ 1520 1520 The complete directory tree content for the various external libraries used 1521 1521 by this version of SOPHYA is listed below: … … 1544 1544 grouped in ({\tt libPI.so}). 1545 1545 1546 The environment variables {\bf DPCDEVREP}, {\bf EXTLIBDIR} and {\bf EROSCXX}1546 The environment variables {\bf SOPHYADEVREP}, {\bf EXTLIBDIR} and {\bf SOPHYACXX} 1547 1547 must be defined in order to install the Sophya package. 1548 1548 In the example below, we assume that we want to install Sophya from a … … 1559 1559 \begin{verbatim} 1560 1560 # We select our C++ compiler 1561 csh> setenv EROSCXX g++1561 csh> setenv SOPHYACXX g++ 1562 1562 # Setup the build directory 1563 1563 csh> mkdir /usr/local/Sophya/ 1564 csh> setenv DPCDEVREP /usr/local/Sophya/1564 csh> setenv SOPHYADEVREP /usr/local/Sophya/ 1565 1565 csh> setenv EXTLIBDIR /usr/local/ExtLibs/ 1566 1566 # Use the top level makefile in Mgr/ … … 1620 1620 for the different compilers and systems. (to be included in makefiles) 1621 1621 \item {\bf crerep\_sophya} c-shell script for creating the directory tree 1622 under {\tt \$ DPCBASEREP} and {\tt \$DPCDEVREP}1622 under {\tt \$SOPHYABASEREP} and {\tt \$SOPHYADEVREP} 1623 1623 \item {\bf install\_sophya} c-shell script for installing the Sophya package. 1624 Usually from {\tt \$ DPCDEVREP} to {\tt \$DPCBASEREP}1624 Usually from {\tt \$SOPHYADEVREP} to {\tt \$SOPHYABASEREP} 1625 1625 \item {\bf mkmflien} c-shell script for making symbolic links or copying 1626 include files to {\tt \$ DPCDEVREP/Include} or {\tt \$DPCBASEREP/Include}1626 include files to {\tt \$SOPHYADEVREP/Include} or {\tt \$SOPHYABASEREP/Include} 1627 1627 \item {\bf mkmf} c-shell script for generating module makefiles and the 1628 1628 top level makefile (named GNUmakefile)
Note:
See TracChangeset
for help on using the changeset viewer.