From 00f7766805d12572677063dcfa2db8ead8ffca28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Fri, 25 Aug 2006 12:26:52 +0000 Subject: [PATCH] chmod +x na binarky --- org.glite.jp/examples/pch06/align.sh | 8 ++++- org.glite.jp/examples/pch06/convert.sh | 1 + org.glite.jp/examples/pch06/pch06.jdl-template | 49 +++++++++++++++++++++++--- org.glite.jp/examples/pch06/reslice.sh | 1 + org.glite.jp/examples/pch06/slicer.sh | 1 + org.glite.jp/examples/pch06/softmean.sh | 1 + org.glite.jp/examples/pch06/voce.conf | 12 ------- 7 files changed, 56 insertions(+), 17 deletions(-) delete mode 100644 org.glite.jp/examples/pch06/voce.conf diff --git a/org.glite.jp/examples/pch06/align.sh b/org.glite.jp/examples/pch06/align.sh index 1900174..5b6331b 100644 --- a/org.glite.jp/examples/pch06/align.sh +++ b/org.glite.jp/examples/pch06/align.sh @@ -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 diff --git a/org.glite.jp/examples/pch06/convert.sh b/org.glite.jp/examples/pch06/convert.sh index 0de6f5a..c3c8f75 100644 --- a/org.glite.jp/examples/pch06/convert.sh +++ b/org.glite.jp/examples/pch06/convert.sh @@ -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 diff --git a/org.glite.jp/examples/pch06/pch06.jdl-template b/org.glite.jp/examples/pch06/pch06.jdl-template index d644f28..87b4e25 100644 --- a/org.glite.jp/examples/pch06/pch06.jdl-template +++ b/org.glite.jp/examples/pch06/pch06.jdl-template @@ -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" }; ] ]; ]; diff --git a/org.glite.jp/examples/pch06/reslice.sh b/org.glite.jp/examples/pch06/reslice.sh index 4bdc3af..6bada59 100644 --- a/org.glite.jp/examples/pch06/reslice.sh +++ b/org.glite.jp/examples/pch06/reslice.sh @@ -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 diff --git a/org.glite.jp/examples/pch06/slicer.sh b/org.glite.jp/examples/pch06/slicer.sh index dc65b59..8232b2e 100644 --- a/org.glite.jp/examples/pch06/slicer.sh +++ b/org.glite.jp/examples/pch06/slicer.sh @@ -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 diff --git a/org.glite.jp/examples/pch06/softmean.sh b/org.glite.jp/examples/pch06/softmean.sh index 6fa3e68..5657f1f 100644 --- a/org.glite.jp/examples/pch06/softmean.sh +++ b/org.glite.jp/examples/pch06/softmean.sh @@ -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 index de74550..0000000 --- a/org.glite.jp/examples/pch06/voce.conf +++ /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"; -] -- 1.8.2.3