Commit a8f9ec3d authored by Georges Kunstler's avatar Georges Kunstler
Browse files

test directory issue with qsub 5

parent 09466cc1
......@@ -6,20 +6,19 @@ mkdir -p Rscript_temp
pwd
qsub pwd -l nodes=1:ppn=1,mem=8gb -cwd -N "gdata1$trait" -q opt32G -j oe
# for trait in "'SLA'" "'Leaf.N'" "'Wood.density'" "'Max.height'" "'Seed.mass'"; do
for trait in "'SLA'" "'Leaf.N'" "'Wood.density'" "'Max.height'" "'Seed.mass'"; do
# echo "/usr/local/R/R-3.1.1/bin/Rscript -e \"source('R/analysis/glmer.run.R'); print(getwd());print('done')\"" > Rscript_temp/gdata1$trait.sh
# qsub Rscript_temp/gdata1$trait.sh -l nodes=1:ppn=1,mem=8gb -N "gdata1$trait" -q opt32G -j oe
echo "/usr/local/R/R-3.1.1/bin/Rscript -e \"source('R/analysis/glmer.run.R'); print(getwd());print('done')\"" > Rscript_temp/gdata1$trait.sh
qsub Rscript_temp/gdata1$trait.sh -l -cwd nodes=1:ppn=1,mem=8gb -N "gdata1$trait" -q opt32G -j oe
# # # echo "/usr/local/R/R-3.0.1/bin/Rscript -e \"source('R/analysis/glmer.run.R'); load.and.save.data.for.glmer($trait, cat.TF=TRUE);print('done')\"" > Rscript_temp/gdata2$trait.sh
# # # qsub Rscript_temp/gdata2$trait.sh -l nodes=1:ppn=1,mem=8gb -N "gdata2$trait" -q opt32G -j oe
# # echo "/usr/local/R/R-3.0.1/bin/Rscript -e \"source('R/analysis/glmer.run.R'); load.and.save.data.for.glmer($trait, cat.TF=TRUE);print('done')\"" > Rscript_temp/gdata2$trait.sh
# # qsub Rscript_temp/gdata2$trait.sh -l nodes=1:ppn=1,mem=8gb -N "gdata2$trait" -q opt32G -j oe
# # echo "/usr/local/R/R-3.0.1/bin/Rscript -e \"source('R/analysis/glmer.run.R'); load.and.save.data.for.glmer($trait, fname = 'data.all.log.rds');print('done')\"" > Rscript_temp/gdata3$trait.sh
# # qsub Rscript_temp/gdata3$trait.sh -l nodes=1:ppn=1,mem=8gb -N "gdata3$trait" -q opt32G -j oe
# echo "/usr/local/R/R-3.0.1/bin/Rscript -e \"source('R/analysis/glmer.run.R'); load.and.save.data.for.glmer($trait, fname = 'data.all.log.rds');print('done')\"" > Rscript_temp/gdata3$trait.sh
# qsub Rscript_temp/gdata3$trait.sh -l nodes=1:ppn=1,mem=8gb -N "gdata3$trait" -q opt32G -j oe
# # # echo "/usr/local/R/R-3.0.1/bin/Rscript -e \"source('R/analysis/glmer.run.R'); load.and.save.data.for.glmer($trait, cat.TF=TRUE, fname = 'data.all.log.rds');print('done')\"" > Rscript_temp/gdata4$trait.sh
# # # qsub Rscript_temp/gdata4$trait.sh -l nodes=1:ppn=1,mem=8gb -N "gdata4$trait" -q opt32G -j oe
# # echo "/usr/local/R/R-3.0.1/bin/Rscript -e \"source('R/analysis/glmer.run.R'); load.and.save.data.for.glmer($trait, cat.TF=TRUE, fname = 'data.all.log.rds');print('done')\"" > Rscript_temp/gdata4$trait.sh
# # qsub Rscript_temp/gdata4$trait.sh -l nodes=1:ppn=1,mem=8gb -N "gdata4$trait" -q opt32G -j oe
# done
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment