PDF Ebook Xgrid Programming Guide

Submitted by antoq on Sat, 07/18/2009 - 08:01

This document describes the programming interfaces to Xgrid, Apple’s technology or distributed multiprocessing using multiple computers and multiple processors. If you are writing an application that can benefit from being executed on multiple processors simultaneously, you should read this document.

Xgrid allows you to execute programs using multiple computers—and multiple processors on a single computer—to perform multiple calculations in parallel. Xgrid is a generalized system, capable of assembling clusters of processors on demand, detecting and correcting failures, and parceling out parallel tasks as needed for general-purpose parallel computing on multiple systems. The Xgrid controller is a feature of Mac OS X Server, but any computer with Mac OS X (version 10.4 and later) can submit jobs to Xgrid or act as an agent to carry out Xgrid computations.

Contents
Introduction
Organization of This Document
Chapter 1
Xgrid Overview

    How It Works
    Client Software
    Controller Software
    Agent Software
    Setting Up Xgrid
    Submitting Jobs to Xgrid

Chapter 2
Getting Started with Xgrid

    Before You Start
    Three Tasks With Different Requirements
    The Recommended Development Process

Chapter 3
Using the Xgrid Command-Line Client

    Basic xgrid Syntax
    Running a Job Synchronously
    Submitting a Job for Asynchronous Execution
    Submitting a Batch Job

Chapter 4
Building and Running GridSample

    The GridSample Targets
    The Xgrid Sample Target
    The GridFeeder Target
    Debugging and Monitoring Progress

Chapter 5
Overriding the Job Specification Function

    How the GridSample Code Is Organized
    Changing the Job Specification
    Step One: Create a New Job Submission UI
    Step Two: Add the Support Code
    Step Three: Create an Application Delegate
    Step Four: Change the Application Delegate’s Class in MainMenu.nib
    Summary

Chapter 6
Writing a Cocoa Xgrid Client

    Writing an Application in Six Steps
    Step One: Locate a Controller and Connect
    Step Two: Authenticate
    Step Three: Submit a Job
    Step Four: Retrieve Job ID
    Step Five: Register for Notifications
    Step Six: Data Collection
    Good Housekeeping

Document Revision History

Download
PDF Ebook Xgrid Programming Guide


Posted in :