<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.StileMessaggioDiPostaElettronica17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=IT link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US>Hi!<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I’m learning how to configure swift,
developing swift workflows and I hope contribute to the development as soon.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I installed Swift on a machine at CI where
I have certificates in order to execute on two machine at my home University in
Naples.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>On this two machine is installed GT4.0.5
with the gatekeeper up and running.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I can run jobs from
floater-245.ci.uchicago.edu to data.uniparthenope.it using globus-job-run and
perform gridftp operations as here:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>infonav@floater-245:~/swift$
globus-url-copy file:////home/infonav/swift/hostname.swift
gsiftp://data.uniparthenope.it//tmp/hostname.swift<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>infonav@floater-245:~/swift$
globus-url-copy gsiftp://data.uniparthenope.it//tmp/hostname.swift
file:////tmp/hostname.swift<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>infonav@floater-245:~/swift$ ls /tmp<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>VMW hostname.swift
hsperfdata_globus hsperfdata_infonav mc-infonav swift.log
x509up_u1001<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>infonav@floater-245:~/swift$ globus-job-run
data.uniparthenope.it /bin/hostname<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>data.uniparthenope.it<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I configured my sites.xml in that way:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><config><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><!-- sites.xml specifies details of the
sites that Swift can run on.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>The first entry entry, for localhost,
should work on most linux-like systems<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>without any change.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>It may be necessary to change the two
occurences of /var/tmp to a different<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>working directory.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>--><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <pool
handle="localhost" sysinfo="INTEL32::LINUX"><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <gridftp
url="local://localhost" storage="/var/tmp"
major="1" minor="0" patch="0" /><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <execution
provider="local" url="none" /><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <workdirectory
>/var/tmp</workdirectory><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </pool><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <pool handle="data"
sysinfo="INTEL32::LINUX"><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <gridftp url="gsiftp://data.uniparthenope.it"
storage="/tmp" major="2" minor="2"
patch="4"><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </gridftp><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <jobmanager
universe="vanilla"
url="data.uniparthenope.it/jobmanager-fork" major="2"
minor="2" patch="4" /><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <workdirectory
>/tmp</workdirectory><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </pool><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <pool handle="dgbeobi"
sysinfo="INTEL32::LINUX"><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <gridftp
url="gsiftp://dgbeobi.uniparthenope.it" storage="/tmp"
major="2" minor="2" patch="4"><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </gridftp><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <jobmanager
universe="vanilla"
url="dgbeobi.uniparthenope.it/jobmanager-fork" major="2"
minor="2" patch="4" /><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <workdirectory
>/tmp</workdirectory><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </pool><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US></config><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>And my tc.data as the following:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#This is the transformation catalog.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#It comes pre-configured with a number of
simple transformations with<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#paths that are likely to work on a linux
box. However, on some systems,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#the paths to these executables will be
different (for example, sometimes<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#some of these programs are found in
/usr/bin rather than in /bin)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#NOTE WELL: fields in this file must be separated
by tabs, not spaces; and<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#there must be no trailing whitespace at
the end of each line.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># sitename transformation
path INSTALLED platform profiles<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>localhost
echo
/bin/echo
INSTALLED INTEL32::LINUX null<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>localhost
cat
/bin/cat
INSTALLED INTEL32::LINUX null<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>localhost
ls
/bin/ls
INSTALLED INTEL32::LINUX null<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>localhost
wc
/bin/wc
INSTALLED INTEL32::LINUX null<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>localhost
grep
/bin/grep
INSTALLED INTEL32::LINUX null<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>localhost
sort
/bin/sort
INSTALLED INTEL32::LINUX null<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>localhost
paste
/bin/paste
INSTALLED INTEL32::LINUX null<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>localhost
terrain /home/infonav/Germana/swift/do_terrain
INSTALLED INTEL32::LINUX null<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>data
hostname /bin/hostname
INSTALLED INTEL32::LINUX null<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>dgbeobi
date
/bin/date
INSTALLED INTEL32::LINUX null<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Using both the hostname.swift…<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>type file;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>(file ofile)hostname() {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> app { hostname; }<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>file ofile
<"hostname.txt">;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>ofile = hostname();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>…and date.swift code…<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>type file;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>(file ofile)date() {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> app { date; }<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>file ofile <"date.txt">;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>ofile = date();<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I receive the following error in job
cleanup:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Swift v0.3 r1319 (modified locally)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>RunID: 20071204-2116-xvhkcj88<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>hostname started<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Failed to clean up job<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>java.lang.IllegalStateException: No
registered callback handler for
org.globus.gsi.gssapi.GlobusGSSCredentialImpl@11b92ef<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.globus.cog.abstraction.impl.execution.gt2.CallbackHandlerManager.decreaseUsageCount(CallbackHandlerManager.java:33)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at
org.globus.cog.abstraction.impl.execution.gt2.JobSubmissionTaskHandler.cleanup(JobSubmissionTaskHandler.java:482)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.globus.cog.abstraction.impl.execution.gt2.JobSubmissionTaskHandler.statusChanged(JobSubmissionTaskHandler.java:475)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.globus.gram.GramJob.setStatus(GramJob.java:184)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.globus.gram.GramCallbackHandler.run(CallbackHandler.java:176)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at java.lang.Thread.run(Thread.java:619)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Failed to clean up job<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>java.lang.IllegalStateException: No
registered callback handler for
org.globus.gsi.gssapi.GlobusGSSCredentialImpl@11b92ef<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at
org.globus.cog.abstraction.impl.execution.gt2.CallbackHandlerManager.decreaseUsageCount(CallbackHandlerManager.java:33)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at
org.globus.cog.abstraction.impl.execution.gt2.JobSubmissionTaskHandler.cleanup(JobSubmissionTaskHandler.java:482)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at
org.globus.cog.abstraction.impl.execution.gt2.JobSubmissionTaskHandler.statusChanged(JobSubmissionTaskHandler.java:475)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.globus.gram.GramJob.setStatus(GramJob.java:184)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.globus.gram.GramCallbackHandler.run(CallbackHandler.java:176)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at java.lang.Thread.run(Thread.java:619)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Failed to clean up job<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>java.lang.IllegalStateException: No
registered callback handler for
org.globus.gsi.gssapi.GlobusGSSCredentialImpl@11b92ef<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at
org.globus.cog.abstraction.impl.execution.gt2.CallbackHandlerManager.decreaseUsageCount(CallbackHandlerManager.java:33)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> at
org.globus.cog.abstraction.impl.execution.gt2.JobSubmissionTaskHandler.cleanup(JobSubmissionTaskHandler.java:482)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at
org.globus.cog.abstraction.impl.execution.gt2.JobSubmissionTaskHandler.statusChanged(JobSubmissionTaskHandler.java:475)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> at
org.globus.gram.GramJob.setStatus(GramJob.java:184)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at org.globus.gram.GramCallbackHandler.run(CallbackHandler.java:176)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
at java.lang.Thread.run(Thread.java:619)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>hostname failed<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Execution failed:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
Exception in hostname:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Arguments: []<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Host: data<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Directory:
hostname-20071204-2116-xvhkcj88/hostname-vg2dq1li<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>stderr.txt:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>stdout.txt: data.uniparthenope.it<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>----<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Caused by:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
The following output files were not created by the application: hostname.txt<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>What do you think about it?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Do you have some suggestions?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I attached to this mail both files on floater-245
and data.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Thank you in advance.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> Raffaele<o:p></o:p></span></p>
</div>
</body>
</html>