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

Re: [Condor-users] R & Condor



Hi,

Try something like this it works for me.

Here is the simple R job submission.

 

universe = vanilla

Executable =  Rscript.sh

requirements   = HasR == TRUE

should_transfer_files = YES

when_to_transfer_output = ON_EXIT

arguments = a0

input = a0

log = a0.log

error = a0.error

queue

 

Rscript.sh

********

#! /bin/sh

export PATH=/u/R/bin:/usr/Grid/R/bin:$PATH

R CMD BATCH --vanilla $1

 

From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of mathias lambeau
Sent: Wednesday, January 16, 2008 9:21 AM
To: condor-users@xxxxxxxxxxx
Subject: [Condor-users] R & Condor

 

Bonjour,

I try to run a condor job doing R without success.
I have installed R on several nodes.
My condor job is :

------------------------------------
Universe        = vanilla
Executable      = /usr/bin/R
Getenv = TRUE
+RJob = TRUE
Arguments       = --vanilla --no-readline
Input           = Rate_batch_toy.R
Output          = Rate_batch_toy.Rout
Error           = Rate_batch_toy.Rerror
Rank = (Machine == "xxxx.univ-orleans.fr" || Machine == "xxxx.univ-orleans.fr" || etc... )
Log            = foo.log
Notification = always
Queue
--------------------------------------

but it doesnt work.
Have you an idee?

Cordialement,
Mathias Lambeau