[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] R and condor



Hello,
Thanks for this.   Sorry, I was a bit sloppy with my nomenclature.   Essentially, I can't get beyond the idling stage - jobs being rejected for "unknown" reasons.

I now have sample scripts that run on other condor setups, and assuming that I've correctly changed the path/to/R they are sufficiently simple I can't see why they won't run here.

Best

Paul

-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Jaime Frey
Sent: 25 April 2008 17:26
To: Condor-Users Mail List
Subject: Re: [Condor-users] R and condor

On Apr 25, 2008, at 1:36 AM, Paul Hewson wrote:

> I would be extremely grateful if anyone is able to provide any
> (rather obscure) advice on using R with Condor.    Essentially, it
> seems possible here to use condor with stand alone executables, but
> I'm getting stuck trying to submit batch jobs which software on the
> target machine.
>
> think I'm following  instructions (Xianhong Xie,R News 5(2) 13-15 http://cran.r-project.org/doc/Rnews/Rnews_2005-2.pdf)
>  correctly, but my job just stays held in the queue (for days /
> months).   I've checked condor_status to make sure there are plenty
> of machines available, but can't see any way to attack the problem
> of the non-running jobs.
>
> I did wonder whether I should compile some small stand-alone
> executable to make sure that runs OK, but even then I'm not sure
> where I would go next.   I have exhausted local advice on the matter.
>
> For what it's worth, the condor script (and the even simpler R
> script) I'm working with at the moment are here:
>
> Condor script file (submitted using condor_submit):
>
> ## condor script starts here:
> Universe = vanilla
> Executable = C:\Program Files\R\R-2.5.1\bin\Rterm.exe
> Getenv = true
> Arguments = vanilla
> Input = test0.R
> Error = test0.err
> Log = test0.log
>
> Output = test.out
> Queue
>
> ## R script file (test0.R)
> pdf("test1.pdf", width = 6, height = 6)
> plot(c(1:10), c(1:10))
> dev.off()
>
>
> I really would be grateful for any suggestions, hints, comments,
> sample working scripts etc.


You say that your job stays held in the queue. If it's in the Held
state, Condor won't try to run it. 'condor_q -hold' will tell you why
it's held and condor_release will tell Condor to try running it again.

If your job is not in the Held state, check the user log (test0.log)
to see if Condor has tried executing it. It's possible that Condor is
repeatedly failing to run it.

Thanks and regards,
Jaime Frey
UW-Madison Condor Team



_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/