Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xgrid] Batch jobs



Hello!

I'm a new user of Xgrid as well and am having problems with submitting a batch job. I'm using a compiled C code entitled test (that echos back the two variables given to it) and trying to submit it as multiple tasks. I can make the code submit a job by being in the appropriate directory and using the command

xgrid -job submit ./test 4 5
xgrid -job results id 6657 -o output/

My problem lies in sending out a batch command. I've been using the plist format given by the O'Rielly macdevcenter.com rather than the XML format. My batch file looks like this:

{
    jobSpecification = {
        applicationIdentifier = test;
        inputFiles = {
		test = {
			filedata = ./test>;
			isExecutable = YES;
		};
	};
        name = "test";
        submissionIdentifier = abc;
        taskSpecifications = {
            0 = {arguments = (3, 4); command = "test";};
	    1 = {arguments = (5, 6); command = "test";};
            };
    };
}

and I've been submitting the batch file with the command
xgrid -job batch ./batch.plist
xgrid -job results id 6657 -o output/

I'm sure my problem lies in the inputFiles part of the .plist file and particularly in the filedata section. Can anyone help me submit a complied C program to the Xgrid with a batch of tasks and be able to get the output files? I've used GridStuffer which is a great program, I'm just now trying to understand the command line approach.

Thank you so much for your help,

Arthur
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xgrid-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xgrid-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.