Pre-requisites
--------------

1. Client machine: XP, Vista or 7 with the following software installed:
    - Microsoft HPC Pack 2008 R2 Client Utilities
    - Microsoft HPC Pack 2008 R2 SDK
    - Office 2007 SP1
    - Visual Studio 2008
    - Visual Studio Tools for Office (VSTO) 3.0


2. Server machine: Windows HPC Server 2008 R2

Steps
-----

1. You need Visual Studio 2008 to open the project solution file
2. Change the head node in the source code, Config.cs.  Find the following line:

     
        public static string headNode = "shpc-0042.fareast.corp.microsoft.com";

    Replace "shpc-0042.fareast.corp.microsoft.com" with the name of your head node.


3. Build the solution
   a. Launch Visual Studio 2008 and open the AsianOptions.sln file
   b. Build the solution by selecting Build->Rebuild Solution menu

4. Deploy the service

   a. Goto AsianOptions\AsianOptionsService\bin
   b. Copy AsianOptionsService.dll to C:\Services\AsianOptionService\ on each compute node
   c. Copy AsianOptionsService.config to c:\program files\Microsoft HPC Pack\ServiceRegistration on head node

5. From Visual Studio, select Debug -> Start without Debugging, an Excel Spreadsheet pops up,
   Click "Run" to run the Asian Options Pricing model

