[Swift-devel] remote file mapping
Mihael Hategan
hategan at mcs.anl.gov
Fri Jul 24 16:38:18 CDT 2009
Wait, wait. Slow down. One problem at a time.
On Fri, 2009-07-24 at 16:35 -0500, skenny at uchicago.edu wrote:
> i'm on sidgrid, trying to gftp a file from
> andrew.bsd.uchicago.edu to ranger.
>
> the script looks like this:
>
> file
> covMatrix<single_file_mapper;file="gsiftp:///andrew.ci.uchicago.edu/home/skenny/swift_runs/urltest/gestspeech.cov">;
Why "gsiftp:///" instead of "gsiftp://"?
> Rscript
> mxScript<single_file_mapper;file=@strcat("scripts/4reg_speech.R")>;
>
> int totalperms[] = [1:100];
> float initweight = .5;
> foreach perm in totalperms{
> mxModel modmin<single_file_mapper;
> file=@strcat("gsiftp:///andrew.ci.uchicago.edu/home/skenny/swift_runs/urltest/results/speech_",perm,".rdata")>;
> modmin = mxModelProcessor(covMatrix, mxScript, perm,
> initweight, "speech");
>
> but this is failing as well:
>
> [skenny at sidgrid urltest]$ globus-url-copy
> gsiftp://andrew.bsd.uchicago.edu/tmp/gestspeech.cov
> gsiftp://gridftp.ranger.tacc.teragrid.org:2811/guc.test
> GlobusUrlCopy error: UrlCopy third party transfer failed.
> [Caused by: Connection refused]
>
>
>
> ---- Original message ----
> >Date: Fri, 24 Jul 2009 16:10:55 -0500
> >From: Mihael Hategan <hategan at mcs.anl.gov>
> >Subject: Re: [Swift-devel] remote file mapping
> >To: skenny at uchicago.edu
> >Cc: swift-devel at ci.uchicago.edu
> >
> >On Fri, 2009-07-24 at 15:14 -0500, skenny at uchicago.edu wrote:
> >> thanks mihael!
> >>
> >> so, do you happen to know, would this mean that the gridftp
> >> server on the remote machine is configured to only accept
> >> requests from localhost?
> >
> >Are you submitting from sidgrid.ci.uchicago.edu to
> >sidgrid.ci.uchicago.edu?
> >
> >What does your script look like?
> >
> >>
> >> RunID: 20090724-1504-5khkoyd7
> >> Progress:
> >> Execution failed:
> >> java.lang.RuntimeException:
> >> java.lang.RuntimeException: Could not instantiate file resource
> >> Caused by:
> >> Error communicating with the GridFTP server
> >> Caused by:
> >> Authentication failed [Caused by: Operation
> >> unauthorized (Mechanism level: [JGLOBUS-56] Authorization
> >> failed. Expected "/CN=host/localhost.localdomain" target but
> >> received
> >>
> "/DC=edu/DC=uchicago/DC=ci/OU=hosts/CN=sidgrid.ci.uchicago.edu")]
> >> [skenny at sidgrid urltest]$
> >>
> >>
> >> ---- Original message ----
> >> >Date: Fri, 24 Jul 2009 13:47:58 -0500
> >> >From: Mihael Hategan <hategan at mcs.anl.gov>
> >> >Subject: Re: [Swift-devel] remote file mapping
> >> >To: skenny at uchicago.edu
> >> >Cc: swift-devel at ci.uchicago.edu
> >> >
> >> >On Fri, 2009-07-24 at 13:25 -0500, skenny at uchicago.edu wrote:
> >> >> does anyone know the syntax for mapping a file on a remote
> >> >> machine? i'm told it's possible but couldn't find it in the
> >> doc.
> >> >
> >> >You should be able to use a URL in any of the mappers. Like
> >> >"gsiftp://example.org/file".
> >> >
> >> >
> >
More information about the Swift-devel
mailing list