Changes between Version 4 and Version 5 of GridTutorial


Ignore:
Timestamp:
Mar 22, 2016 7:24:48 PM (6 years ago)
Author:
carlos
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GridTutorial

    v4 v5  
    3232}}}
    3333
     34{{{
     35cat hello.jdl
     36#: the name of the file which will be actually executed
     37Executable = "hello.sh" ;
     38
     39CpuNumber = 1;
     40
     41# the name of the file where standard output stream will be redirected
     42StdOutput = "stdout.txt";
     43
     44# the name of the file where standard error stream will be redirected
     45StdError = "stderr.txt";
     46
     47# list of local files which will be transferred to
     48# the remote resource before the execution
     49InputSandbox = {"hello.sh"};
     50
     51# list of remote files which will be transferred from the resource
     52# after the execution
     53OutputSandbox = {"stdout.txt", "stderr.txt"};
     54Requirements = ( other.GlueCEUniqueID == "ce.ceta-ciemat.es:8443/cream-sge-ibtut.cg" ||
     55               other.GlueCEUniqueID == "cream01-egi.bifi.unizar.es:8443/cream-slurm-tutiber" );
     56}}}
     57
     58
     59{{{
     60 cat hello.sh
     61#!/bin/sh
     62echo "Hello World - from $HOSTNAME"
     63echo -n "It's "
     64date
     65
     66}}}
    3467
    3568{{{