-----------------------------------------------------------------------
Octave Client README
-----------------------------------------------------------------------

This directory contains a client interface for Octave.

This interface needs to be enabled at "configure" time, using the
--with-octave=OCTAVE_DIR to point to your installation of Octave.

The current implementation of Octave interface builds on the C
interface using the GridRPC API of GridSolve. It is developed using
Octave's support for Dynamically Linked Functions. On UNIX/Linux 
the installation will provide you with a collection of dynamically
loadable functions (built as .oct files). Once an Octave program 
makes a GridSolve call, the functions will be dynamically loaded 
at runtime.

The interface has been tested with Octave 2.9.9 on Linux x86 platforms.

-----------------------------------------------------------------------
Configure and test IDL
-----------------------------------------------------------------------

Specify the GridSolve agent
setenv GRIDSOLVE_AGENT hostname

Specify where the DLM libraries 'libgridsolve.so' 
and 'libgridsolve_infrastructure.so' are
setenv IDL_DLM_PATH ${IDL_DLM_PATH}:${GRIDSOLVE_ROOT}/lib

Specify the PATH variable to include the Octave binary directory
setenv PATH ${PATH}:${OCTAVE_DIR}/bin

Start Octave using 'octave', and run the test files
octave
gs_totaltest
sparse_test
file_test

*NOTE* Although all the test files end with the *.m extension, 
when ruuning them, use just the name without the .m extension
like what is shown above.
