<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>trying coasters and sites1.xml</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Dear Swift People:<BR>
<BR>
I have a process, fun1.swift, which works just fine, as you can see:<BR>
<BR>
[erin@tp-login2 bin]$ swift -tc.file tc.data fun1.swift<BR>
Swift svn swift-r2950 cog-r2406<BR>
<BR>
RunID: 20090606-1836-j7rc2402<BR>
Progress:<BR>
Progress:  Selecting site:8  Active:1  Checking status:1<BR>
Progress:  Selecting site:6  Active:1  Checking status:1  Finished successfully:2<BR>
Progress:  Selecting site:4  Active:1  Checking status:1  Finished successfully:4<BR>
Progress:  Selecting site:2  Active:1  Checking status:1  Finished successfully:6<BR>
Progress:  Active:1  Checking status:1  Finished successfully:8<BR>
Final status:  Finished successfully:10<BR>
[erin@tp-login2 bin]$<BR>
<BR>
<BR>
However, if I run with a sites file, I get:<BR>
<BR>
[erin@tp-login2 bin]$ swift -tc.file tc.data -sites.file sites1.xml fun1.swift<BR>
Swift svn swift-r2950 cog-r2406<BR>
<BR>
RunID: 20090606-1837-xu7t94t5<BR>
Progress:<BR>
Execution failed:<BR>
        Could not find any valid host for task "Task(type=UNKNOWN, identity=urn:cog-1244331435263)" with constraints {tr=RInvoke, filenames=[Ljava.lang.String;@4b6218f9, trfqn=RInvoke, filecache=org.griphyn.vdl.karajan.lib.cache.CacheMapAdapter@1555aa19}<BR>
[erin@tp-login2 bin]$<BR>
<BR>
<BR>
here is the sites1 file:<BR>
<BR>
[erin@tp-login2 bin]$ cat sites1.xml<BR>
<config><BR>
<BR>
<pool handle="teraport" sysinfo="INTEL32::LINUX"><BR>
   <profile namespace="globus" key="queue">fast</profile><BR>
   <profile namespace="globus"<BR>
key="coasterWorkerMaxwalltime">00:30:00</profile><BR>
    <profile namespace="globus" key="coastersPerNode">2</profile><BR>
   <execution provider="coaster" url="none"  jobmanager="local:pbs" /><BR>
   <gridftp url="local://localhost" /><BR>
   <workdirectory >/home/erin/R-2.9.0/bin</workdirectory><BR>
 </pool><BR>
<BR>
[erin@tp-login2 bin]$<BR>
<BR>
Now there is one other thing.  The fun1.swift calls a program called R, which is not on all of the sites.  Could that be the problem, please?<BR>
<BR>
Here is the fun1.swift file:<BR>
[erin@tp-login2 bin]$ cat fun1.swift<BR>
type file{}<BR>
<BR>
(file rout) perm_r (file datfile, int pnum, file scriptname)<BR>
        {<BR>
        app<BR>
                {<BR>
                RInvoke @filename(scriptname) pnum @filename(datfile) ;<BR>
                }<BR>
        }<BR>
<BR>
<BR>
file r_script<single_file_mapper; file="ttest1.R">;<BR>
<BR>
file perm_matrix<single_file_mapper; file="fun.dat">;<BR>
<BR>
foreach i in [1:10]<BR>
        {<BR>
        file r_out <single_file_mapper; file=@strcat("results/",i,".NG-S.out")>;<BR>
        (r_out) = perm_r(perm_matrix, i, r_script);<BR>
        }<BR>
[erin@tp-login2 bin]$<BR>
<BR>
<BR>
All of this stuff is in /home/erin/R-2.9.0/bin directory.<BR>
<BR>
Thanks and keep warm!<BR>
<BR>
Erin<BR>
<BR>
<BR>
Erin M. Hodgess, PhD<BR>
Associate Professor<BR>
Department of Computer and Mathematical Sciences<BR>
University of Houston - Downtown<BR>
mailto: hodgesse@uhd.edu<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>