
This file explains how to compile and install Mathematica 
interface to NetSolve.


1. Prerequisites

   a) you need to down load MathLink Developers Kit for your architecture 
      available from http://support.wolfram.com/MathLink/Updates/MLDK.html 
   
   b) you need to down load NetSolve client pack and compile the C interface.
   
   
2. Compilation

      You should set this variable:
      
      MLDK    - this is the directory where you have a subdirectory named 
                $(NETSOLVE_ARCH) where mathlink.h, libML.a and mprep 
                (from MathLink Developers Kit for your platform) are 
		copied.
		
      If you would like to compile NetSolve for several platforms you'd
      better create a directory (let's say MLDK). Put another directory
      in it with name $(NETSOLVE_ARCH) and copy (or make symbolic link)
      the files mathlink.h, libML.a and mprep there.
    
   c) Go into src subdirectory
   
      cd src

   c) Make dependencies
   
      make depend
      
   d) compile
   
      make
      
3. Installing NetSolve to Mathematica

   a) cd to NetSolve Math directory. Add the file init.m.add to the file 
    
      ~/.Mathematica/4.0/Kernel/init.m (for Mathematica version 4.0,similar for version
      3.0)
      by the command 
      
        cat init.m.add >> ~/.Mathematica/4.0/Kernel/init.m
      
      ~/init.m (for Mathematica 2.x)
      by the command
        
	cat init.m.add >> ~/init.m

   c) Launch your lovely mathematica client (math or mathematica)
      and you should see a message like this:
      
      NetSolve installed. Issue NetSolve[] to see the usage
      Portions copyright 1986 through 1996 by Wolfram Research, Inc.
   

        
   

      
