Index: /trunk/psLib/psLib.kdevses
===================================================================
--- /trunk/psLib/psLib.kdevses	(revision 1371)
+++ /trunk/psLib/psLib.kdevses	(revision 1372)
@@ -3,12 +3,12 @@
 <KDevPrjSession>
  <DocsAndViews NumberOfDocuments="2" >
-  <Doc0 NumberOfViews="1" URL="file:/home/desonia/psLib/src/dataManip/psStats.c" >
-   <View0 line="1442" Type="???" >
-    <AdditionalSettings Top="2" Width="1104" Attach="1" Height="787" Left="2" MinMaxMode="0" />
+  <Doc0 NumberOfViews="1" URL="file:/home/desonia/psLib/src/mainpage.dox" >
+   <View0 line="46" Type="???" >
+    <AdditionalSettings Top="1" Width="1305" Attach="1" Height="750" Left="1" MinMaxMode="0" />
    </View0>
   </Doc0>
-  <Doc1 NumberOfViews="1" URL="file:/home/desonia/psLib/src/dataManip/psStats.h" >
-   <View0 line="0" Type="???" >
-    <AdditionalSettings Top="2" Width="1104" Attach="1" Height="787" Left="2" MinMaxMode="0" />
+  <Doc1 NumberOfViews="1" URL="file:/home/desonia/psLib/src/pslib.h" >
+   <View0 line="12" Type="???" >
+    <AdditionalSettings Top="1" Width="782" Attach="1" Height="583" Left="1" MinMaxMode="0" />
    </View0>
   </Doc1>
Index: /trunk/psLib/src/Makefile.Globals
===================================================================
--- /trunk/psLib/src/Makefile.Globals	(revision 1371)
+++ /trunk/psLib/src/Makefile.Globals	(revision 1372)
@@ -5,6 +5,6 @@
 ##  Assumptions:    Variable "prefix" already defined
 ##
-##  $Revision: 1.12 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-06-30 01:09:12 $
+##  $Revision: 1.13 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-08-03 20:42:30 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -29,5 +29,5 @@
 
 ifndef testbindir
-    export testbindir = $(prefix)/bin/test
+    export testbindir = $(prefix)/testbin
 endif
 
Index: /trunk/psLib/src/mainpage.dox
===================================================================
--- /trunk/psLib/src/mainpage.dox	(revision 1371)
+++ /trunk/psLib/src/mainpage.dox	(revision 1372)
@@ -1,18 +1,20 @@
-/** @mainpage psLib Image Processing Library
-
+/** @mainpage psLib Image Processing Library - Release 2
 
 @section intro Introduction
 
-This library contains the Pan-STARRS Image Processing Pipeline (IPP) toolkit,
-psLib. The intended use is to provide a library of basic software functions which
+This library contains the Pan-STARRS Image Processing Pipeline (IPP) common library,
+psLib. The intended use is to provide a set of basic software functions in which
 can be used throughout the Pan-STARRS project to simplify programming tasks. Among
-the benefits are: reuse of code, simplification of testing, streamlining of code, 
-and isolation of functionality that may be subject to change.     
+the benefits are: 
+ - reuse of code, 
+ - simplification of testing, 
+ - streamlining of code, and 
+ - isolation of functionality that may be subject to change.     
 
 The capabilities provided by psLib are grouped into the following areas which are
 also reflected in the file system directory structure:
  - System Utilities
+ - Data Collections
  - Image Operations
- - Data Collections
  - Data Manipulation
  - Astronomy
@@ -21,39 +23,52 @@
 data types of the earlier entries.
 
-The installed code for psLib consists of header files and binary libraries in the form of static
-(libpslib.a) and shared (libpslib.so or libpslib.dylib for OX/X.) Assuming these components 
-have been built and installed in the standard library path, psLib may be used within a program by 
-including the line #include <pslib.h> and linking with -lpslib.
-
+The installed code for psLib consists of header files and binary libraries in 
+the form of static (libpslib.a) and shared (libpslib.so or libpslib.dylib, 
+depending on operating system.) Assuming these components have been built and 
+installed in the standard library path, psLib may be used within a program by 
+including the line #include <pslib.h> and linking using the '-lpslib' option
+while linking.
 
 
 @section extinstall Required 3rd Party Libraries
 
-Before building psLib from source, several 3rd party software libraries must be installed. 
-These include: 
- - GNU Scientific Library (GSL), Available at http://www.gnu.org/software/gsl
- - Fastest Fourier Transform in the West (FFTW), Available at http://www.fftw.org
- - C Flexible Image Transport System Input output (CFITSIO), Available at http://heasarc.gsfc.nasa.gov/docs/software/fitsio
+Before building psLib from source, several 3rd party software libraries must 
+be installed.  These include: 
+ - GNU Scientific Library (GSL)
+     - Compatibility tested with version is 1.4
+     - Available at http://www.gnu.org/software/gsl
+ - Fastest Fourier Transform in the West (FFTW), version 3
+     - Compatibility tested with version is 3.0.1
+     - Available at http://www.fftw.org
+ - C Flexible Image Transport System Input output (CFITSIO), version 2.480 or later
+     - Available at http://heasarc.gsfc.nasa.gov/docs/software/fitsio
+     - Compatibility tested with version is 2.490
+     - Versions earlier than 2.480 will not work as new functionality introduced in 2.480 is exercised
+ - Doxygen Documentation System
+     - Available at http://www.doxygen.org
+     - Compatibility tested with version 1.3.6
 
-If you use a Darwin (Mac OS X) system, a dlfcn compatability library needs to be
-installed on the system. This can be obtained from the Fink project on SourceForge 
-(the dlcompat package at http://www.sf.net/projects/fink). The Darwin 7.0 (OS X 10.3) 
-'devtools' package seems to also include dlfcn support, so explicit installation of a 
-dlfcn compatibility layer may not be required for this version of Darwin. 
-
+We recommend using the particular versions listed as compatibility tested, as 
+that is the only versions of the external libraries tested to work well with psLib.  
+Though it is quite possible that later versions of the libraries listed will also 
+work as well, care must be taken when upgrading these libraries to verify that its
+functionality is compatible with the tested version.
 
 @section install How to Build from Source
 
 The psLib code should to be downloaded from either the tar file posted on: 
-https://gforge.mhpcc.hawaii.edu/projects/panstarrs/ or directly from the CVS server 
-with the following command:
+
+https://mhpcc.pan-starrs.org/cgi-bin/viewcvs.cgi/releases/rel2
+
+or directly from the CVS server with the following command:
 <pre>
-$ cvs -d:ext:username@gforge.mhpcc.hawaii.edu:data/panstarrs/cvsroot co -P psLib
+$ cvs -d:ext:username@mhpcc.pan-starrs.org:/data/panstarrs/cvsroot co -r rel2_0 psLib
 </pre>
 
     
-The source should build from the Makefile in the psLib/src directory.  The
+The source should build using the Makefile in the psLib/src directory.  The
 recommended steps are:
 <pre>
+$ cd psLib/src
 $ make
 $ make install
@@ -62,20 +77,31 @@
 
 
-@section run How to Run Tests
+@section run How to Build and Run Tests
 
-Since psLib is a library, there is no executable, per se. However, to test the installation, users
-may execute the FullUnitTest script:
+Since psLib is a library, there is no executable, per se. However, to test the 
+installation, users may execute the the unit test suite.  To build the unit test
+suite, do the following:
 <pre>
 $ cd psLib/test
 $ make
 $ make install
-$ FullUnitTest
+$ make installtests
 </pre>
-<i>This builds and executes test files for each of the psLib functional areas.</i>
+<i>This builds and installs the unit test files to the psLib/testbin directory.</i>
 
+To run the unit test suite, do the following:
+<pre>
+$ cd psLib/testbin
+$ ./FullUnitTest
+</pre>
+or to run a particular test
+<pre>
+$ ./runTest testfilename
+</pre>
 
-@section doc How to Create Documentation
+@section doc How to Create Code Documentation
 
-Both HTML and man page documentation may also be generated:
+Both HTML and man page documentation may also be generated from the inline 
+documentation in the code using the following commands:
 <pre>
 $ cd psLib/src
@@ -84,3 +110,7 @@
 <i>This places documentation in psLib/docs.</i>
 
+Also, a prebuilt set of documentation can be found at:
+
+https://mhpcc.pan-starrs.org/docs/
+
 */
Index: /trunk/psLib/test/Makefile
===================================================================
--- /trunk/psLib/test/Makefile	(revision 1371)
+++ /trunk/psLib/test/Makefile	(revision 1372)
@@ -3,6 +3,6 @@
 ##  Makefile:   test
 ##
-##  $Revision: 1.7 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-07-28 02:50:32 $
+##  $Revision: 1.8 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-08-03 20:42:30 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -62,4 +62,5 @@
 	$(MAKE) --directory=dataManip install
 	$(MAKE) --directory=sysUtils install
+	$(MAKE) --directory=astronomy install
 
 # Define PHONY target "distclean" which will cleanup the distribution
Index: /trunk/psLib/test/sysUtils/verified/tst_psMemory.stderr
===================================================================
--- /trunk/psLib/test/sysUtils/verified/tst_psMemory.stderr	(revision 1371)
+++ /trunk/psLib/test/sysUtils/verified/tst_psMemory.stderr	(revision 1372)
@@ -17,5 +17,5 @@
  <DATE> <TIME> |<HOST>|I|  TPOutOfMemory|Upon requesting more memory than is available, psalloc shall call the psMemExhaustedCallback.
  <DATE> <TIME> |<HOST>|I|TPOutOfMemoryEx|Custom MemExhaustedCallback was invoked.
- <DATE> <TIME> |<HOST>|A|      p_psAlloc|Failed to allocate 4294966295 bytes at tst_psMemory.c:206
+ <DATE> <TIME> |<HOST>|A|      p_psAlloc|Failed to allocate 4294966295 bytes at tst_psMemory.c:228
 
 ---> TESTPOINT PASSED (psMemory{outOfMemory} | tst_psMemory.c)
@@ -28,5 +28,5 @@
 
  <DATE> <TIME> |<HOST>|I|TPReallocOutOfM|Upon requesting more memory than is available, psRealloc shall call the psMemExhaustedCallback.
- <DATE> <TIME> |<HOST>|A|    p_psRealloc|Failed to reallocate -1001 bytes at tst_psMemory.c:171
+ <DATE> <TIME> |<HOST>|A|    p_psRealloc|Failed to reallocate -1001 bytes at tst_psMemory.c:193
 
 ---> TESTPOINT PASSED (psMemory{reallocOutOfMemory} | tst_psMemory.c)
@@ -70,14 +70,14 @@
  <DATE> <TIME> |<HOST>|I|   TPcheckLeaks|following psMemCheckLeaks call should produce one instance.
                    file:line ID
-         tst_psMemory.c:356  1
+         tst_psMemory.c:378  1
  <DATE> <TIME> |<HOST>|I|   TPcheckLeaks|Testing psMemCheckLeaks again with a different leak location
  <DATE> <TIME> |<HOST>|I|   TPcheckLeaks|following psMemCheckLeaks call should produce one error.
                    file:line ID
-         tst_psMemory.c:386  11
+         tst_psMemory.c:408  11
  <DATE> <TIME> |<HOST>|I|   TPcheckLeaks|Testing psMemCheckLeaks again with multiple leak locations.
  <DATE> <TIME> |<HOST>|I|   TPcheckLeaks|following psMemCheckLeaks call should produce two errors.
                    file:line ID
-         tst_psMemory.c:414  16
-         tst_psMemory.c:414  14
+         tst_psMemory.c:436  16
+         tst_psMemory.c:436  14
 
 ---> TESTPOINT PASSED (psMemory{checkLeaks} | tst_psMemory.c)
@@ -115,6 +115,6 @@
  <DATE> <TIME> |<HOST>|I| TPmultipleFree|Next should be an error about multiple freeing.
  <DATE> <TIME> |<HOST>|E|  checkMemBlock|Memory Corruption: memory block 1 was freed but still used.
- <DATE> <TIME> |<HOST>|E|memProblemCallb|Block 1 allocated at tst_psMemory.c:526 freed more than once at tst_psMemory.c:531
- <DATE> <TIME> |<HOST>|A|memProblemCallb|Detected a problem in the memory system at tst_psMemory.c:531
+ <DATE> <TIME> |<HOST>|E|memProblemCallb|Block 1 allocated at tst_psMemory.c:548 freed more than once at tst_psMemory.c:553
+ <DATE> <TIME> |<HOST>|A|memProblemCallb|Detected a problem in the memory system at tst_psMemory.c:553
 
 ---> TESTPOINT PASSED (psMemory{multipleFree} | tst_psMemory.c)
