osg_tips_and_tricks
Table of Contents
OSG Tips and Tricks
Submitting a Job
mfenn@engage-submit:~$ cat script.sh #!/bin/sh echo "Hello, World!" mfenn@engage-submit:~$ globus-job-run osgce.cs.clemson.edu/jobmanager-fork /bin/sh -c 'echo $OSG_APP' /export/osg/app mfenn@engage-submit:~$ globus-job-run osgce.cs.clemson.edu/jobmanager-fork /bin/sh -c 'mkdir -p $OSG_APP/engage/mfenn' mfenn@engage-submit:~$ export MYDIR=/export/osg/app/engage/mfenn mfenn@engage-submit:~$ globus-url-copy file:///home/mfenn/script.sh gsiftp://osgce.cs.clemson.edu/$MYDIR/script.sh mfenn@engage-submit:~$ globus-job-run osgce.cs.clemson.edu/jobmanager-fork $MYDIR/script.sh GRAM Job failed because the executable file permissions do not allow execution (error code 72) mfenn@engage-submit:~$ globus-job-run osgce.cs.clemson.edu/jobmanager-fork /bin/ sh -c 'chmod +x $OSG_APP/engage/mfenn/script.sh' mfenn@engage-submit:~$ globus-job-run osgce.cs.clemson.edu/jobmanager-condor $MYDIR/script.sh Hello, World!
Condor-G Example
mfenn@engage-submit:~/osgce-test$ cat job.submit universe=grid executable=/bin/hostname grid_resource=gt2 osgce.cs.clemson.edu/jobmanager-condor notification=never transfer_executable=false output=out error=err log=job.log queue mfenn@engage-submit:~/osgce-test$ condor_submit job.submit Submitting job(s). Logging submit event(s). 1 job(s) submitted to cluster 182338.
Some time later…
mfenn@engage-submit:~/osgce-test$ cat out osg004
osg_tips_and_tricks.txt · Last modified: 2011/09/10 17:37 by 127.0.0.1