Index: /trunk/psLib/src/sys/psConfigure.c
===================================================================
--- /trunk/psLib/src/sys/psConfigure.c	(revision 2317)
+++ /trunk/psLib/src/sys/psConfigure.c	(revision 2317)
@@ -0,0 +1,47 @@
+/** @file  psConfigure.c
+ *
+ *  @brief Contains the declarations for initialization, memory finalization, and configuration.
+ *
+ *  These functions initalize psLib data before the beginning of a run and remove (finalize) the
+ *  same data after the run is complete. A function is also provided to return the current
+ *  psLib version.
+ *
+ *  @ingroup Configure
+ *
+ *  @author Ross Harman, MHPCC
+ *  @author George Gusciora, MHPCC
+ *  @author Robert DeSonia, MHPCC
+ *
+ *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-11-10 18:26:05 $
+ *
+ *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
+ */
+#include "psTime.h"
+#include "psError.h"
+#include "psConfigure.h"
+#include "psSysUtilsErrors.h"
+
+char* psLibVersion(void)
+{
+    // Please code me, Robert.
+}
+
+void psLibInit(bool predictable, const char* timeConfig)
+{
+    // Still needs error codes to be set
+    // Still needs random number generator initialization
+
+    if(!psTimeInit(timeConfig)) {
+        psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psConfigure_INITIALIZATION_FAILED, "psTime");
+        return;
+    }
+}
+
+void psLibFinalize(void)
+{
+    if(!psTimeFinalize()) {
+        psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psConfigure_FINALIZATION_FAILED, "psTime");
+        return;
+    }
+}
Index: /trunk/psLib/src/sys/psConfigure.h
===================================================================
--- /trunk/psLib/src/sys/psConfigure.h	(revision 2317)
+++ /trunk/psLib/src/sys/psConfigure.h	(revision 2317)
@@ -0,0 +1,64 @@
+/** @file  psConfigure.h
+ *
+ *  @brief Contains the declarations for initialization, memory finalization, and configuration.
+ *
+ *  These functions initalize psLib data before the beginning of a run and remove (finalize) the
+ *  same data after the run is complete. A function is also provided to return the current
+ *  psLib version.
+ *
+ *  @ingroup Configure
+ *
+ *  @author Ross Harman, MHPCC
+ *  @author George Gusciora, MHPCC
+ *  @author Robert DeSonia, MHPCC
+ *
+ *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-11-10 18:26:12 $
+ *
+ *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
+ */
+
+#ifndef PS_CONFIGURE_H
+#define PS_CONFIGURE_H
+
+
+/** @addtogroup Configure
+ *  @{
+ */
+
+/** Get current psLib version
+ *
+ *  Returns the current psLib version name as a string.
+ *
+ *  @return char*: String with version name.
+ */
+char* psLibVersion(
+    void
+);
+
+/** Get last error put on the error stack
+ *
+ *  The last error reported is available from psErrorLast; if no errors are
+ *  current, a non-NULL psErr is returned with code PS_ERR_NONE.
+ *
+ *  @return psErr*     Reference to last error message on error stack
+ */
+void psLibInit(
+    bool predictable,
+    const char* timeConfig
+);
+
+/** Removes persistant memory created with the psLibInit function.
+ *
+ *  The memory created but not freed by psLib modules should be freed within this
+ *  function at the end of a psLib execution cycle.
+ *
+ */
+void psLibFinalize(
+    void
+);
+
+
+/* @} */
+
+#endif
Index: /trunk/psLib/src/sysUtils/psConfigure.c
===================================================================
--- /trunk/psLib/src/sysUtils/psConfigure.c	(revision 2317)
+++ /trunk/psLib/src/sysUtils/psConfigure.c	(revision 2317)
@@ -0,0 +1,47 @@
+/** @file  psConfigure.c
+ *
+ *  @brief Contains the declarations for initialization, memory finalization, and configuration.
+ *
+ *  These functions initalize psLib data before the beginning of a run and remove (finalize) the
+ *  same data after the run is complete. A function is also provided to return the current
+ *  psLib version.
+ *
+ *  @ingroup Configure
+ *
+ *  @author Ross Harman, MHPCC
+ *  @author George Gusciora, MHPCC
+ *  @author Robert DeSonia, MHPCC
+ *
+ *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-11-10 18:26:05 $
+ *
+ *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
+ */
+#include "psTime.h"
+#include "psError.h"
+#include "psConfigure.h"
+#include "psSysUtilsErrors.h"
+
+char* psLibVersion(void)
+{
+    // Please code me, Robert.
+}
+
+void psLibInit(bool predictable, const char* timeConfig)
+{
+    // Still needs error codes to be set
+    // Still needs random number generator initialization
+
+    if(!psTimeInit(timeConfig)) {
+        psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psConfigure_INITIALIZATION_FAILED, "psTime");
+        return;
+    }
+}
+
+void psLibFinalize(void)
+{
+    if(!psTimeFinalize()) {
+        psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psConfigure_FINALIZATION_FAILED, "psTime");
+        return;
+    }
+}
Index: /trunk/psLib/src/sysUtils/psConfigure.h
===================================================================
--- /trunk/psLib/src/sysUtils/psConfigure.h	(revision 2317)
+++ /trunk/psLib/src/sysUtils/psConfigure.h	(revision 2317)
@@ -0,0 +1,64 @@
+/** @file  psConfigure.h
+ *
+ *  @brief Contains the declarations for initialization, memory finalization, and configuration.
+ *
+ *  These functions initalize psLib data before the beginning of a run and remove (finalize) the
+ *  same data after the run is complete. A function is also provided to return the current
+ *  psLib version.
+ *
+ *  @ingroup Configure
+ *
+ *  @author Ross Harman, MHPCC
+ *  @author George Gusciora, MHPCC
+ *  @author Robert DeSonia, MHPCC
+ *
+ *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-11-10 18:26:12 $
+ *
+ *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
+ */
+
+#ifndef PS_CONFIGURE_H
+#define PS_CONFIGURE_H
+
+
+/** @addtogroup Configure
+ *  @{
+ */
+
+/** Get current psLib version
+ *
+ *  Returns the current psLib version name as a string.
+ *
+ *  @return char*: String with version name.
+ */
+char* psLibVersion(
+    void
+);
+
+/** Get last error put on the error stack
+ *
+ *  The last error reported is available from psErrorLast; if no errors are
+ *  current, a non-NULL psErr is returned with code PS_ERR_NONE.
+ *
+ *  @return psErr*     Reference to last error message on error stack
+ */
+void psLibInit(
+    bool predictable,
+    const char* timeConfig
+);
+
+/** Removes persistant memory created with the psLibInit function.
+ *
+ *  The memory created but not freed by psLib modules should be freed within this
+ *  function at the end of a psLib execution cycle.
+ *
+ */
+void psLibFinalize(
+    void
+);
+
+
+/* @} */
+
+#endif
