Testing myproxy on uibktest

The job


The job runs the following file (MyTest.sh):

#!/bin/sh
echo "Starting at" `date` "on" `hostname`
TMP=1
K=1
while [ $K -lt 40 ] ;
do
    J=1
    while [ $J -lt 3 ] ;
    do
      I=1
      while [ $I -lt 3840000 ] ;
      do
        TMP=$(( $TMP*$I))
        I=$(( $I + 1 ))
      done
      J=$(( $J + 1 ))
    done
    K=$(( $K + 1 ))
done
echo "Finished at" `date`



The JDL-file


The JDL has the following contents (test.jdl):

Executable = "MyTest.sh";
StdOutput = "MyTest.out";
StdError = "MyTest.err";
InputSandbox = {"MyTest.sh"};
OutputSandbox = {"MyTest.out", "MyTest.err"};
MyProxyServer = "agrid.uibk.ac.at";
Requirements = other.GlueCEUniqueID=="test-lcgCE.uibk.ac.at:2119/jobmanager-lcgpbs-uibktest";


Submitting the job


Create a myproxy on agrid.uibk.ac.at:

$ myproxy-init -s agrid.uibk.ac.at -d -t 2 -R grid-rb.uibk.ac.at

uibktest_01

The lifetime of the proxies delegated to grid-rb.uibk.ac.at is 2 hours instead of the default 12 hours.


Create a proxy with a lifetime of 2 hours:

$ grid-proxy-init -valid 02:00

uibktest_02


Submit the job:

$ glite-job-submit -vo uibktest -o joblist test.jdl

uibktest_03