This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
biac:cluster:submit [2019/02/15 17:54] cmp12 [Job restrictions] |
biac:cluster:submit [2023/02/23 18:43] (current) |
||
---|---|---|---|
Line 20: | Line 20: | ||
- | ====== Job restrictions ====== | + | ====== Job restrictions ==== |
- | Each node has a finite amount of memory installed and due to the disk-less nature of the nodes there are restrictions set on the amount of ram used. Currently, the default is to assign | + | == |
+ | Each node has a finite amount of memory installed and due to the disk-less nature of the nodes there are restrictions set on the amount of ram used. Currently, the default is to assign | ||
- | > qsub -N run_script.1 -l h_vmem=10G,vf=10G script.sh run1 | + | > qsub -N run_script.1 -l h_vmem=12G,vf=12G script.sh run1 |
- | The above example will request/ | + | The above example will request/ |
You can also get it from previous jobs if you have the job number with qacct ( there will be a resulting entry for " | You can also get it from previous jobs if you have the job number with qacct ( there will be a resulting entry for " | ||
Line 44: | Line 45: | ||
====== Job status ====== | ====== Job status ====== | ||
- | The current | + | The current |
+ | s of a job can be checked with **qstat**. This will return the current list of jobs owned by the user. | ||
> qstat | > qstat | ||
job-ID | job-ID | ||
Line 85: | Line 87: | ||
> qdel -U username | > qdel -U username | ||
====== Template Script ====== | ====== Template Script ====== | ||
- | Jobs are usually written in bash. They are similar to local bash scripts in syntax and usage. In addition, they contain cluster related directives identified by lines starting with " #$ ". These are used to send job related setup information to the cluster. Scripts also contain requests for access to experiment data. The BIAC template script is a good starting point for testing job submission and as a base script for all jobs. Begin, by making a copy of the template script. | + | Jobs are usually written in bash. They are similar to local bash scripts in syntax and usage. In addition, they contain cluster related directives identified by lines starting with " #$ ". These are used to send job related setup information to the cluster. Scripts also contain requests for access to experiment data. The BIAC template script is a good starting point for testing job submission and as a base script for all jobs. Begin, by making a copy of the template script |
- | + | ||
- | cp / | + | |
The template script requests access to an experiment folder and lists its contents. It needs a valid BIAC Experiment Name (case-sensitive) that is accessible by the user. Submit myscript.sh using qsub . | The template script requests access to an experiment folder and lists its contents. It needs a valid BIAC Experiment Name (case-sensitive) that is accessible by the user. Submit myscript.sh using qsub . |