chmod +x na binarky
authorAleš Křenek <ljocha@ics.muni.cz>
Fri, 25 Aug 2006 12:26:52 +0000 (12:26 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Fri, 25 Aug 2006 12:26:52 +0000 (12:26 +0000)
org.glite.jp/examples/pch06/align.sh
org.glite.jp/examples/pch06/convert.sh
org.glite.jp/examples/pch06/pch06.jdl-template
org.glite.jp/examples/pch06/reslice.sh
org.glite.jp/examples/pch06/slicer.sh
org.glite.jp/examples/pch06/softmean.sh
org.glite.jp/examples/pch06/voce.conf [deleted file]

index 1900174..5b6331b 100644 (file)
@@ -1,11 +1,15 @@
 #!/bin/sh
 
-set -ex
+exec 2>$$.err >&2
+set -x
+
 
 hostname -f
 date
 echo $0 $*
 
+chmod +x align_warp scanheader
+
 globus-url-copy $1.img file://$PWD/anatomy.img
 globus-url-copy $1.hdr file://$PWD/anatomy.hdr
 globus-url-copy $2.img file://$PWD/reference.img
@@ -15,3 +19,5 @@ globus-url-copy $2.hdr file://$PWD/reference.hdr
 echo GLOBAL_MAXIMUM=`./scanheader anatomy.img | grep '^global maximum=' | sed 's/global maximum=//'`
 
 globus-url-copy file://$PWD/warp $1.warp
+
+globus-url-copy file://$PWD/$$.err $1.align-err
index 0de6f5a..c3c8f75 100644 (file)
@@ -8,6 +8,7 @@ echo $0 $*
 
 globus-url-copy $1-$2.pgm atlas.pgm
 
+chmod +x convert
 ./convert atlas.pgm atlas.gif
 
 globus-url-copy atlas.gif $1-$2.gif
index d644f28..87b4e25 100644 (file)
@@ -5,30 +5,38 @@ type = "dag";
 Requirements = other.GlueCEInfoHostname=="skurut17.cesnet.cz";
 LBAddress = "skurut1.cesnet.cz:9000";
 
-stdoutput = "std.out";
-stderror = "std.err";
-outputsandbox = { "std.out", "std.err" };
-
 nodes = [
        align1 = [ description = [
                executable = "align.sh";
                arguments = "BASE1 REFERENCE";
                inputsandbox = { "align.sh", "align_warp", "scanheader" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
        align2 = [ description = [
                executable = "align.sh";
                arguments = "BASE2 REFERENCE";
                inputsandbox = { "align.sh", "align_warp" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
        align3 = [ description = [
                executable = "align.sh";
                arguments = "BASE3 REFERENCE";
                inputsandbox = { "align.sh", "align_warp" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
        align4 = [ description = [
                executable = "align.sh";
                arguments = "BASE4 REFERENCE";
                inputsandbox = { "align.sh", "align_warp" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
 
 
@@ -36,59 +44,92 @@ nodes = [
                executable = "reslice.sh";
                arguments = "BASE1"; 
                inputsandbox = { "reslice.sh", "reslice" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
        reslice2 = [ description = [
                executable = "reslice.sh";
                arguments = "BASE2"; 
                inputsandbox = { "reslice.sh", "reslice" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
        reslice3 = [ description = [
                executable = "reslice.sh";
                arguments = "BASE3"; 
                inputsandbox = { "reslice.sh", "reslice" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
        reslice4 = [ description = [
                executable = "reslice.sh";
                arguments = "BASE4"; 
                inputsandbox = { "reslice.sh", "reslice" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
 
        softmean = [ description = [
                executable = "softmean.sh";
                arguments = "BASE1 BASE2 BASE3 BASE4 ATLAS";
                inputsandbox = { "softmean.sh", "softmean" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
 
        slicerx = [ description = [
                executable = "slicer.sh";
                arguments = "ATLAS x";
                inputsandbox = { "slicer.sh", "slicer" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
        slicery = [ description = [
                executable = "slicer.sh";
                arguments = "ATLAS y";
                inputsandbox = { "slicer.sh", "slicer" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
        slicerz = [ description = [
                executable = "slicer.sh";
                arguments = "ATLAS z";
                inputsandbox = { "slicer.sh", "slicer" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
 
        convertx = [ description = [
                executable = "convert.sh"; 
                arguments = "ATLAS x";
                inputsandbox = { "convert.sh", "convert", "delegates.xml" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
        converty = [ description = [
                executable = "convert.sh"; 
                arguments = "ATLAS y";
                inputsandbox = { "convert.sh", "convert", "delegates.xml" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
        convertz = [ description = [
                executable = "convert.sh"; 
                arguments = "ATLAS z";
                inputsandbox = { "convert.sh", "convert", "delegates.xml" };
+               stdoutput = "std.out";
+               stderror = "std.err";
+               outputsandbox = { "std.out", "std.err" };
        ] ];
 
 ];
index 4bdc3af..6bada59 100644 (file)
@@ -10,6 +10,7 @@ globus-url-copy $1.warp file://$PWD/warp
 globus-url-copy $1.img file://$PWD/anatomy.img
 globus-url-copy $1.hdr file://$PWD/anatomy.hdr
 
+chmod +x reslice
 ./reslice warp resliced
 
 globus-url-copy file://$PWD/resliced.img $1-resliced.img
index dc65b59..8232b2e 100644 (file)
@@ -9,6 +9,7 @@ echo $0 $*
 globus-url-copy $1.hdr file://$PWD/atlas.hdr
 globus-url-copy $1.img file://$PWD/atlas.img
 
+chmod +x slicer
 ./slicer atlas.hdr -$2 .5 atlas-$2.pgm
 
 globus-url-copy file://$PWD/atlas-$2.pgm $1-$2.pgm
index 6fa3e68..5657f1f 100644 (file)
@@ -15,6 +15,7 @@ globus-url-copy $3-resliced.hdr file://$PWD/resliced3.hdr
 globus-url-copy $4-resliced.img file://$PWD/resliced4.img
 globus-url-copy $4-resliced.hdr file://$PWD/resliced4.hdr
 
+chmod +x softmean
 ./softmean atlas.hdr y null resliced1.img resliced2.img resliced3.img resliced4.img
 
 globus-url-copy file://$PWD/atlas.img $5.img
diff --git a/org.glite.jp/examples/pch06/voce.conf b/org.glite.jp/examples/pch06/voce.conf
deleted file mode 100644 (file)
index de74550..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-[
-        VirtualOrganisation = "voce";
-        HLRLocation = "";
-        NSAddresses = {
-#            "egee-rb-05.cnaf.infn.it"
-            "skurut2.cesnet.cz"
-        };
-        LBAddresses = {
-            {"skurut1.cesnet.cz"}
-        };
-        MyProxyServer = "myproxy.cern.ch";
-]