Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: [Xgrid] copying files to agents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xgrid] copying files to agents



Hi Andrew,

The -in command will copy the *contents* of xgtest into the working directory on the agent. It won't copy the xgtest directory itself. Try instead

xgrid -job run -in xgtest/ helloworld

You could add lines like

/bin/echo `/bin/hostname`
/bin/echo `/bin/pwd`
/bin/ls -lh

to the start of helloworld to make the whole thing a bit clearer.  Cya,

Adam
--------
http://deltag5.lns.mit.edu/xgrid/


On Feb 5, 2007, at 6:45 PM, email@hidden wrote:

I wrote a simple hello world command line program that requires another file in the same folder to test copying a folder to the agent, and it only works when the agent is on the same computer as the client, which leads me to believe the program isn't being transfered correctly.

Is this the correct syntax for running the program? The program (helloworld) is in the same directory as the secondary app, and they are both in a folder called xgtest in my home folder.

cd ~
xgrid -job run -in xgtest/ xgtest/helloworld

When I run the above statement and it ends up running on an agent other than my computer, nothing gets printed, and I get my prompt back. What am I doing wrong?

Thanks,
Andrew Keller
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xgrid-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xgrid-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >[Xgrid] copying files to agents (From: email@hidden)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.