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

Re: [Condor-users] Hello! Condor users.


I do not have a lot of experience with Condor, but I think I can help you with this. There are multiple ways of doing this, and we decided to install R on a shared drive. This allows us to install new libraries without having to push it out to local machines. Whether R is installed on each local daemon or on a shared drive, you need to follow the syntax for running R applications via commandline. For Windows, the syntax in a .bat would look something like this:

pushd <UNC Path>
"R.exe" --no-save -f  <UNC Path> \QRgrid.R --args %1

pushd/popd adds the UNC path to memory and allows you to access shared drives on remote machines. net use is supposed to work, but we could not get this to work. Because you are transfering your applications, you will not require paths.

Hopefully this will help.


- - - - - - - - - - - - - - - - - - - - - - - - - -
Michael O'Donnell
ADP Software Specialist, ASRC Management Services
USGS Fort Collins Science Center
2150 Centre Ave., Bldg C
Fort Collins, CO 80526

Phone: 970.226.9407
Fax: 970.226.9230
Email: odonnellm@xxxxxxxx

-----condor-users-bounces@xxxxxxxxxxx wrote: -----

To: Condor-Users Mail List <condor-users@xxxxxxxxxxx>
From: Hwanhee Lee <hwanhel@xxxxxxxxxxxxx>
Sent by: condor-users-bounces@xxxxxxxxxxx
Date: 10/10/2009 06:09AM
Subject: [Condor-users] Hello! Condor users.

Hello! Condor...
I am a beginner of condor.
I am trying to run R through condor.
I got a problem. I need specific package of R.
How can I install it through condor?
Here is my submit file.
universe = vanilla
requirements = OpSys == "WINNT60" && Arch == "INTEL" && HAS_R==TRUE && CCIT_LAB
should_transfer_files = YES
transfer_input_files = comBIC.R, caMassClass_1.6.zip, mvtnorm_0.9-7.zip
when_to_transfer_output = ON_EXIT
executable = batch.bat
arguments = BATCH comBIC.R
input = comBIC.R
Output = combic/out$(Process).txt
Log = combic/log$(Process).txt
Error = combic/err$(Process).txt
queue 2
And my batch file.
set path=c:\PROGRA~2\R\R-2.8.0\bin;%path%
Rcmd %*
Please help me.
Hwanhee Lee
Ph.D Student
Department of Mathematical Sciences
Clemson University

Office: 864  656 4571
Mobile : 864 314 6875
e-mail: hwanhel@xxxxxxxxxxxxx
web: http://www.math.clemson.edu/grad_students/hwanhel.htm
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: