<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Ben<br>
<br>
After I changed the definition of runam() function in the swift script,
it seem everything is working now.<br>
OLD:<br>
(amout ofile ) runam (string id, string xmin, string xinc, string xmax,<br>
string ymin, string yinc, string ymax,<br>
string delay)<br>
NEW:<br>
runam (string id, string xmin, string xinc, string xmax, string ymin,
string<br>
yinc, string ymax, string delay)<br>
<br>
since it is not asking for output file anymore. I could see that all
tasks are successful.<br>
<br>
<br>
Another Issue: Do you know where to set the path that swift is trying
to copy wrapper.sh from ? <br>
<br>
Thanks so much.<br>
zhao<br>
<br>
Ben Clifford wrote:
<blockquote
cite="mid:Pine.LNX.4.64.0803310423240.9854@dildano.hawaga.org.uk"
type="cite">
<pre wrap="">Those mkdir errors come from here in the runam6 application script.
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">stderr.txt: mkdir: cannot create directory `am.000000': File exists
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><!---->
The application script is trying to make its own working directory on
local filesystem, based on an identifier passed in as the first
commandline parameter. (The identifier in the above is 000000).
The identifier is read form column one of the input data file:
id xmin xinc xmax ymin yinc ymax delay
000000 0.200000 0.000391 0.204419 0.200000 0.000391 0.204419 10
000000 0.200000 0.000391 0.204419 0.200000 0.000391 0.204419 10
in which you should see two jobs with the same identifier. This is
probably an invalid parameter file because of that.
Try fixing that and see what happens.
This temporary directory handling is pretty ugly - it should be a couple
lines change to wrapper.sh to get similar functionality using the existing
swift temporary direcotry handling - change the path to /tmp and use cp
instead of ln -s. That way you can take advantage of Swift's existing
unique job IDs and error handling too.
</pre>
</blockquote>
</body>
</html>