Changeset 1044
- Timestamp:
- Jun 15, 2004, 9:35:14 AM (22 years ago)
- File:
-
- 1 edited
-
branches/rel1/psLib/src/mainpage.dox (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/rel1/psLib/src/mainpage.dox
r1036 r1044 1 /** @mainpage psLib Image Processing Library 1 /** @mainpage psLib Image Processing Library - Release 1 2 2 3 3 4 4 @section intro Introduction 5 5 6 This library contains the Pan-STARRS Image Processing Pipeline (IPP) toolkit, 7 psLib. The intended use is to provide a library of basic software functions which 8 can be used throughout the Pan-STARRS project to simplify programming tasks. Among 9 the benefits are: reuse of code, simplification of testing, streamlining of code, 10 and isolation of functionality that may be subject to change. 6 This library contains the Pan-STARRS Library, "psLib". The intended use is to 7 provide a set of basic software functions which can be used throughout the 8 Pan-STARRS project to simplify programming tasks. Among the benefits are: 9 <ul> 10 <li>reuse of code</li> 11 <li>simplification of testing</li> 12 <li>streamlining of code, and</li> 13 <li>isolation of functionality that may be subject to change.</li> 14 </ul> 11 15 12 The capabilities provided by psLib are grouped into the following areas which are 13 also reflected in the file system directory structure: 14 - System Utilities 15 - Data Collections 16 - Data Manipulation 16 The capabilities provided by psLib are grouped into the following areas which 17 are also reflected in the source files' directory structure: 18 <ul> 19 <li>System Utilities</li> 20 <li>Data Collections</li> 21 <li>Data Manipulation</li> 22 </ul> 17 23 18 This list is sorted in hierarchical order: The later entries depend on the functions and19 data types of the earlier entries.24 This list is sorted in hierarchical order: The later entries depend on the 25 functions and data types of the earlier entries. 20 26 21 The installed code for psLib consists of header files and binary libraries in the form of static22 (libpslib.a) and shared (libpslib.so or libpslib.dylib for OX/X.) Assuming these components23 have been built and installed in the standard library path, psLib may be used within a program by 24 including the line #include <pslib.h> and linking with -lpslib. 25 27 The installed code for psLib consists of header files and binary libraries 28 in the form of static (libpslib.a) and shared (libpslib.so or libpslib.dylib 29 depending on the operating system). Assuming these components have been built 30 and installed in the standard library path, psLib may be used within a program 31 by including the pslib.h header in your C file and linking with -lpslib. 26 32 27 33 28 34 @section extinstall Required 3rd Party Libraries 29 35 30 Before building psLib from source, several 3rd party software libraries must be installed. 31 These include: 32 - GNU Scientific Library (GSL), Available at http://www.gnu.org/software/gsl 33 - Fastest Fourier Transform in the West (FFTW), Available at http://www.fftw.org 34 - C Flexible Image Transport System Input output (CFITSIO), Available at http://heasarc.gsfc.nasa.gov/docs/software/fitsio 36 Before building psLib from source, several 3rd party software libraries must 37 be installed. These include: 38 <ul> 39 <li>GNU Scientific Library (GSL), version 1.4</li> 40 <ul><li>Available at http://www.gnu.org/software/gsl</li></ul> 41 <li>Fastest Fourier Transform in the West (FFTW), version 3.0.1</li> 42 <ul><li>Available at http://www.fftw.org</li></ul> 43 <li>C Flexible Image Transport System Input output (CFITSIO), version 2.4.9 44 <ul><li>Available at http://heasarc.gsfc.nasa.gov/docs/software/fitsio</li></ul> 45 </ul> 35 46 36 If you use a Darwin (Mac OS X) system, a dlfcn compatability library needs to be 37 installed on the system. This can be obtained from the Fink project on SourceForge 38 (the dlcompat package at http://www.sf.net/projects/fink). The Darwin 7.0 (OS X 10.3) 39 'devtools' package seems to also include dlfcn support, so explicit installation of a 40 dlfcn compatibility layer may not be required for this version of Darwin. 47 If you use a Macintosh OS X 10.2 or earlier system, a dlfcn compatability 48 library may need to be installed on the system. This can be obtained from the 49 Fink project on SourceForge (the dlcompat package at http://www.sf.net/projects/fink). 50 The Darwin 7.0 (OS X 10.3) 'devtools' package includes dlfcn support, so 51 explicit installation of a dlfcn compatibility layer may not be required for 52 this version of Darwin with the devtools package installed. 41 53 42 54 43 @section install How to Build from Source55 @section obtain How to Obtain the Code 44 56 45 The psLib code should to be downloaded from either the tar file posted on: 46 https://gforge.mhpcc.hawaii.edu/projects/panstarrs/ or directly from the CVS server 47 with the following command: 57 The psLib code should to be downloaded from either the tar files posted the 58 MHPCC webserver or CVS. 59 60 61 https://mhpcc.pan-starrs.org/cgi-bin/viewcvs.cgi/releases/rel1 or CVS. 62 63 Via the web server, point your browser to https://mhpcc.pan-starrs.org/cgi-bin/viewcvs.cgi/releases/rel1. 64 There are two files available there: 65 <ul> 66 <li>pslib-rel1-src.tar.gz</li> 67 <ul><li>The source package - equivalent to getting the source from the CVS via export.</li></ul> 68 <li>pslib-rel1-linux-x86.tar.gz</li> 69 <ul><li>The binary package - precompiled for x86 Linux machines. Contains 70 prebuilt libraries, documentation, and test suite.</li></ul> 71 </ul> 72 73 Download the appropriate package for your needs and untar the files where 74 one sees fit. 75 76 To obtain the source directly from the CVS server with the following command: 48 77 <pre> 49 $ cvs -d:ext:username@gforge.mhpcc.hawaii.edu:data/panstarrs/cvsroot co -P psLib 78 $ export CVS_RSH=ssh 79 $ cvs -d:ext:username@mhpcc.pan-starrs.org:/data/panstarrs/cvsroot export -r rel1_1 psLib 50 80 </pre> 81 This requires having an SSH login account on mhpcc.pan-starrs.org. 51 82 52 53 The source should build from the Makefile in the psLib/src directory. The 54 recommended steps are: 83 84 @section build How to Build from Source Code 85 86 Once the release package is obtained, the library should build from the 87 Makefile in the psLib/src directory. The recommended steps are: 55 88 <pre> 89 $ cd psLib/src 56 90 $ make 57 91 $ make install 58 92 </pre> 59 <i>This builds and installs files to psLib/lib and psLib/include.</i> 93 This builds the library and installs files to psLib/lib and psLib/include. 60 94 61 95 62 @section run How to RunTests96 @section buildTests How to Build the Tests 63 97 64 Since psLib is a library, there is no executable, per se. However, to test the installation, users 65 may execute the FullUnitTest script: 98 Since psLib is a library, there is no executable, per se. However, to test 99 the installation and functionality, users may create a suite of unit tests 100 with the following steps: 66 101 <pre> 67 102 $ cd psLib/test 68 103 $ make 69 104 $ make install 70 $ FullUnitTest105 $ make installtests 71 106 </pre> 72 <i>This builds and executes test files for each of the psLib functional areas.</i> 107 This builds and installs test files for each of the psLib functional areas 108 into the psLib/bin/test directory. 73 109 110 111 @section runTests How to Run the Unit Tests 112 113 To execute the unit test suite, after building them, users may use the 114 following steps: 115 <pre> 116 $ cd psLib/bin/test 117 $ ./FullUnitTest 118 </pre> 119 One can also run individual test executables, which concentrate on a logical 120 set of functionality of the library, via the 'runTest' script in the bin/test 121 directory or by executing the test from the shell. If running the test directly 122 in the shell, make sure that the LD_LIBRARY_PATH (or DYLD_LIBRARY_PATH if on the 123 Macintosh) contains the path to the psLib/lib directory. 74 124 75 125 @section doc How to Create Documentation … … 80 130 $ make docs 81 131 </pre> 82 <i>This places documentation in psLib/docs.</i> 132 This places the Doxygen generated documentation in psLib/docs. 83 133 84 134 */
Note:
See TracChangeset
for help on using the changeset viewer.
