美文网首页
qsub and bash scripts

qsub and bash scripts

作者: 为了梦走一遭 | 来源:发表于2020-10-19 12:50 被阅读0次
#!/bin/bash 
#$ -l mem=10G,time=2::  -N Cindy 
#$ -cwd -V

/nfs/apps/matlab/2017a/bin/matlab -r 'run run_cindy.m'


reference: 
https://arc.leeds.ac.uk/using-the-systems/why-have-a-scheduler/qsub-qrsh-usage/
https://foundations-in-computational-skills.readthedocs.io/en/latest/content/workshops/06_cluster_computing/06_cluster_computing.html#:~:text=Shell%20scripts%20that%20are%20submitted%20as%20qsub%20script,hello_world.qsub%20%3A%20%23%21%2Fbin%2Fbash%20echo%20hello%20world%20cat%20nonexistent_file



~~~~submit a R script
#!/bin/bash 
#$ -l mem=20G,time=40::  -N Dist
#$ -cwd

Rscript modularity_run.R


Possibilities for Executing R Scripts
R console

source("my_script.R")
Command-line

Rscript my_script.R # or just ./myscript.R after making it executable
R CMD BATCH my_script.R # Alternative way 1
R --slave < my_script.R # Alternative way 2~~~

!/bin/bash

$ -l mem=100G,time=40::

$ -l h_vmem=70G

$-N peak_picking

$ -cwd

ulimit -t 36000 -v 102400000

Rscript ht294d_hpc.R

相关文章

网友评论

      本文标题:qsub and bash scripts

      本文链接:https://www.haomeiwen.com/subject/lxwcmktx.html