Re: [R] To submit R jobs via SLURM

2016-10-04 Thread Sema Atasever
Thank you very much for your help. On Mon, Oct 3, 2016 at 10:35 PM, Erin Hodgess wrote: > Get a SLURM batch file from someone there and make the appropriate changes > to it. Best way to learn. > > > > On Mon, Oct 3, 2016 at 2:10 PM, Dominik Schneider > wrote: > >> I typically call Rscript insi

Re: [R] To submit R jobs via SLURM

2016-10-03 Thread Erin Hodgess
Get a SLURM batch file from someone there and make the appropriate changes to it. Best way to learn. On Mon, Oct 3, 2016 at 2:10 PM, Dominik Schneider wrote: > I typically call Rscript inside an sbatch file. > > *batch_r.sh* > #! /bin/bash > > cd /home//aso_regression_project #make sure you c

Re: [R] To submit R jobs via SLURM

2016-10-03 Thread Dominik Schneider
I typically call Rscript inside an sbatch file. *batch_r.sh* #! /bin/bash cd /home//aso_regression_project #make sure you change to your correct working directory Rscript scripts/run_splitsample-modeling.R and on the commandline of the login node: sbatch batch_r.sh There are lots of slurm con

[R] To submit R jobs via SLURM

2016-10-03 Thread Sema Atasever
Dear Authorized Sir / Madam, I have an R script file in which it includes this lines: How can i to submit this R jobs via SLURM? Thanks in advance. *testscript.R* data=read.table("seqDist.50", header=FALSE)[-1] attach(data) d=as.matrix(data) library(cluster) cluster.pam = pam(d,6) table(cluster.