IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 18, 2005, 11:43:28 AM (22 years ago)
Author:
desonia
Message:

Modified the Doxygen to reflect current information.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/mainpage.dox

    r3040 r3041  
    77psLib. The intended use is to provide a set of basic software functions in which
    88can be used throughout the Pan-STARRS project to simplify programming tasks. Among
    9 the benefits are: 
    10  - Reuse of code 
    11  - Simplification of testing 
    12  - Streamlining of code 
    13  - Isolation of functionality that may be subject to change     
     9the benefits are:
     10 - Reuse of code
     11 - Simplification of testing
     12 - Streamlining of code
     13 - Isolation of functionality that may be subject to change
    1414
    1515The capabilities provided by psLib are grouped into the following areas which are
     
    2121 - Astronomy
    2222
    23 This list is sorted in hierarchical order: The later entries depend on the functions and 
     23This list is sorted in hierarchical order: The later entries depend on the functions and
    2424data types of the earlier entries.
    2525
    26 The installed code for psLib consists of header files and binary libraries in 
    27 the form of static (libpslib.a) and shared (libpslib.so or libpslib.dylib, 
    28 depending on operating system.) Assuming these components have been built and 
    29 installed in the standard library path, psLib may be used within a program by 
     26The installed code for psLib consists of header files and binary libraries in
     27the form of static (libpslib.a) and shared (libpslib.so or libpslib.dylib,
     28depending on operating system.) Assuming these components have been built and
     29installed in the standard library path, psLib may be used within a program by
    3030including the line #include <pslib.h> and linking using the '-lpslib' option
    3131while linking.
     
    3434@section extinstall Required 3rd Party Libraries
    3535
    36 Before building psLib from source, several 3rd party software libraries must 
    37 be installed.  These include: 
     36Before building psLib from source, several 3rd party software libraries must
     37be installed.  These include:
    3838 - GNU Scientific Library (GSL)
    3939     - Available at http://www.gnu.org/software/gsl
    4040     - Compatibility tested with version is 1.4
    41  - Fastest Fourier Transform in the West (FFTW), version 3
     41 - Fastest Fourier Transform in the West (FFTW), version 3, with single-precison float support
    4242     - Available at http://www.fftw.org
    4343     - Compatibility tested with version is 3.0.1
     44     - The '--enable-float' option is required in the configure step to enable single-precision float support.  Use 'configure --help' for more information of the configuration options for this library.
    4445 - C Flexible Image Transport System Input output (CFITSIO), version 2.480 or later
    4546     - Available at http://heasarc.gsfc.nasa.gov/docs/software/fitsio
     
    5051     - Compatibility tested with version 1.3.6
    5152     - The optional companion package, GraphViz (a.k.a., the 'dot' command), is recommended to enable header-file dependency diagrams
    52  - SLALIB
     53 - SLALIB
     54     - Available at http://star-www.rl.ac.uk/
     55     - Compatibility tested with package version number 2.4-12
    5356     - We tested with the Fortran version of the library; this may cause an additional step to get things to link on untested systems/compilers, as there is no one standard for how the function-names appear in the library to C code.  The default way that psLib uses is all-lower case with a trailing '_', but one may need to add to CFLAGS in src/Makefile.Globals the following:
    5457         - '-DFORTRAN_UNDERSCORE_PREFIX' if a '_' needs to be prefixed to the function names,
    5558         - '-DFORTRAN_DOUBLE_UNDERSCORE_SUFFIX' if two the names needs two trailing '_'s., and/or
    5659         - '-DFORTRAN_UPPERCASE' if the names appear as uppercase.
    57      - Available at http://star-www.rl.ac.uk/
    58      - Compatibility tested with package version number 2.4-12
    5960 - Gnome XML C parser and toolkit (libxml2)
    6061     - Available at http://www.xmlsoft.org
    6162     - Compatibility tested with version 2-2.6.16-3
    6263
    63 We recommend using the particular versions listed as compatibility tested, as 
    64 that is the only versions of the external libraries tested to work well with psLib. 
    65 Though it is quite possible that later versions of the libraries listed will also 
     64We recommend using the particular versions listed as compatibility tested, as
     65that is the only versions of the external libraries tested to work well with psLib.
     66Though it is quite possible that later versions of the libraries listed will also
    6667work as well, care must be taken when upgrading these libraries to verify that its
    6768functionality is compatible with the tested version.
     
    7980https://mhpcc.pan-starrs.org/code/snapshots
    8081
    81 These snapshots represents development code as found in CVS on the day 
     82These snapshots represents development code as found in CVS on the day
    8283specified in the filename.  This code set may not be functional, vary in
    83 testing, etc.  Reasonable efforts are made to ensure that the code does 
    84 actually compile, but given the nature of code development, even that is not 
     84testing, etc.  Reasonable efforts are made to ensure that the code does
     85actually compile, but given the nature of code development, even that is not
    8586always the case.  Use snapshots with great caution.
    8687
    87 If one has a login account on mhpcc.pan-starrs.org, direct CVS access is 
     88If one has a login account on mhpcc.pan-starrs.org, direct CVS access is
    8889possible.  Example of the commands required for direct CVS retrieval are
    8990as follows:
     
    9394where:
    9495  - USERNAME is your login name on the server
    95   - RELEASEBRANCH is the desired release branch, e.g. rel1, rel2, etc.
    96    
     96  - RELEASEBRANCH is the desired release branch, e.g. rel1, rel2, rel3, or rel4.
     97
    9798
    9899@section build How to Build the psLib library
     100
    99101
    100102The source should build using the Makefile in the psLib/src directory.  The
     
    107109<i>This builds and installs files to psLib/lib and psLib/include.</i>
    108110
     111The make system of psLib allows users to specify specific locations for some of the
     112third party libraries (see "Required 3rd Party Libraries" for a list).  If
     113a location is not specified, the cooresponding library is assumed to be in
     114the standard library paths, e.g., /usr or /usr/local.  The following are the
     115environment variables that can be set before the make process above to force
     116the location of the third-party libraries:
     117  - sladir: Location of SLALIB
     118      - e.g., <pre>export sladir=/usr/local/star</pre>
     119  - xml2config: Location of the xml2-config configuration executable
     120      - e.g., <pre>export xml2config=/usr/bin/xml2-config</pre>
     121
     122Also, the installation location of the library can be set using environment
     123variables.  The following are the supported variables for installation:
     124  - prefix: the installation prefix (default: current psLib directory)
     125      - e.g., <pre>export prefix=/usr/local</pre>
     126  - mandir: The man page installation location (default: $prefix/man)
     127  - includedir: The installation location for the header files (default: $prefix/include)
     128  - testbindir: Location for the test executables (default: $prefix/testbin)
     129  - libexecdir: Location for the library files (default: $prefix/lib)
     130  - TIME_CONFIG_FILE: Location of the 'psTime.config' configuration file (default: $(prefix)/config/psTime.config)
    109131
    110132@section run How to Build and Run Tests
    111133
    112 Since psLib is a library, there is no executable, per se. However, to test the 
     134Since psLib is a library, there is no executable, per se. However, to test the
    113135installation, users may execute the unit test suite.  To build the unit test
    114136suite, do the following:
     
    141163@section doc How to Create Code Documentation
    142164
    143 Both HTML and man page documentation may be generated from the inline 
     165Both HTML and man page documentation may be generated from the inline
    144166documentation embedded in the code using the following commands:
    145167<pre>
     
    149171<i>This places documentation in psLib/docs.</i>
    150172
    151 Also, a prebuilt set of code documentation for both the releases and last 
     173Also, a prebuilt set of code documentation for both the releases and last
    152174CVS snapshot can be found at:
    153175
Note: See TracChangeset for help on using the changeset viewer.