[Swift-user] puzzled on error code

Hodgess, Erin HodgessE at uhd.edu
Fri Jun 12 16:58:29 CDT 2009


Here is some output with a definitely non-help error message:

[erin at tp-login2 bin]$ swift -tc.file tc.data perm1.swift
Swift svn swift-r2950 cog-r2406

RunID: 20090612-1653-55eg5dg9
Progress:
Progress:  Checking status:1
Progress:  Stage in:1
Progress: Failed but can retry:1
Execution failed:
	Exception in RPermInvoke:
Arguments: [permutations.R, 4, 1]
Host: localhost
Directory: perm1-20090612-1653-55eg5dg9/jobs/c/RPermInvoke-czu3f6cj
stderr.txt: 
stdout.txt: 
----

Caused by:
	Exit code 2
[erin at tp-login2 bin]$ cat perm1.swift
# for running the script permutations.R
# swift will give R the permutation number
# and the matrices for running the t-test
# and will produce a file results/<permnumber><study>.out

type file{}

(file rout) perm_r (file scriptname, int pnum, int pstart)
        {
        app
                {
                RPermInvoke @filename(scriptname) pnum pstart ;
                }
        }


file r_script<single_file_mapper; file="permutations.R">;

#file perm_matrix<single_file_mapper; file="kiddata_NG-S.txt">;

foreach i in [1:1]
        {
        file r_out <single_file_mapper; file=@strcat("results/",i,".NG-S.out")>;
        (r_out) = perm_r(r_script,4,i);
        }

[erin at tp-login2 bin]$ cat tc.data
#NOTE WELL: fields in this file must be separated by tabs, not spaces
#           and there must be no trailing whitespace at the end of each line.
#
# sitename      app     pathname        (ignored)       (ignored)       profiles
localhost       echo    /bin/echo       INSTALLED       INTEL32::LINUX  null
teraport        echo    /bin/echo       INSTALLED       INTEL32::LINUX  null
localhost	translate	/usr/bin/tr	INSTALLED	INTEL32::LINUX	null
localhost	R	/home/erin/R-2.9.0/bin/R	INSTALLED	INTEL32::LINUX	null
localhost       wc	/usr/bin/wc     INSTALLED       INTEL32::LINUX	null
localhost       convert	/usr/bin/convert	INSTALLED	INTEL32::LINUX	null
localhost	RInvoke	/home/erin/R-2.9.0/bin/RInvoke.sh	INSTALLED	INTEL32::LINUX	null
teraport	RInvoke /home/erin/R-2.9.0/bin/RInvoke.sh       INSTALLED	INTEL32::LINUX  null
localhost	RPermInvoke	/home/erin/R-2.9.0/bin/RPermInvoke.sh	INSTALLED	INTEL32::LINUX	null




Erin M. Hodgess, PhD
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgesse at uhd.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20090612/94ebe610/attachment.html>


More information about the Swift-user mailing list