Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Hello! Condor users.
- Date: Wed, 14 Oct 2009 09:09:49 +0800
- From: <Greg.Hitchen@xxxxxxxx>
- Subject: Re: [Condor-users] Hello! Condor users.
We also use this method on windows, i.e. zip up R
and use a batch file as the executable to unzip it
and run it.
Cheers
Greg
-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Bill Taylor
Sent: Tuesday, 13 October 2009 10:10 PM
To: Condor-Users Mail List
Subject: Re: [Condor-users] Hello! Condor users.
An alternative for Windows and R is to transfer the R as a
zip and using a batch file unzip it on the execute machine and start
running it. If you have special libraries you then then use R to
install them before running your R program.
We do this because we have Condor on student lab machines and have
no shared drives. Works real well.
Bill Taylor 263-2656 (cell 219-4430)
Center for High Throughput Computing(CHTC)
Condor project
Computer Sciences
University of Wisconsin, Madison
Michael O'Donnell wrote:
> Hwanhee,
>
> 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
> popd
>
> 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.
> Mike
>
>
>
>
> - - - - - - - - - - - - - - - - - - - - - - - - - -
> 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 <mailto: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 <mailto:hwanhel@xxxxxxxxxxxxx>
> web: http://www.math.clemson.edu/grad_students/hwanhel.htm
> <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
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/
_______________________________________________
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/