Difference between revisions of "Minnesota Supercomputing Institute"
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
Best Partition: mesabipar | Best Partition: mesabipar | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | To check status use <code>qstat</code>: | ||
+ | |||
+ | <syntaxhighlight lang="bash"> | ||
+ | [ln0006:hyoung] qstat | ||
+ | Job ID Name User Time Use S Queue | ||
+ | ------------------------- ---------------- --------------- -------- - ----- | ||
+ | 4560955.mesabim3.msi.umn.edu kinship.sh vrie0006 01:02:54 R small | ||
+ | [ln0006:hyoung] | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 04:01, 30 November 2017
MSI uses a PBS scheduler. It's easy to find a lot of information online about how to use PBS, but here are some commonly used functions
First, submitting a job is easiest with a PBS batch script. The following script, called kinship.sh
, runs a program called vcf2kinship to create a kinship matrix on MCTFR genotypes. It requests a single node and 12 processors on that node. It requests 25 GB of memory.
#!/bin/bash -l
#PBS -l walltime=10:00:00,nodes=1:ppn=12,mem=25gb
/home/vrie0006/hyoung/software/rvtests/executable/vcf2kinship --inVcf /home/vrie0006/hyoung/gedi5-660WQuad-b37-forwardstrand-correctreferenceallele-final-vcf.vcf.gz --bn -\
-thread 10 --out MCTFR
That script can then be submitted for scheduling to the mesabi short queue on msi (MSI list of queues) as follows:
qsub -t short kinship.sh
You can then check the status of this job by running various commands.
To see when your job might start running use showstart <jobid>
like this:
[ln0006:hyoung] showstart 4560951
job 4560951 requires 10 procs for 10:00:00
Estimated Rsv based start in 2:10:44 on Wed Nov 29 23:58:00
Estimated Rsv based completion in 12:10:44 on Thu Nov 30 09:58:00
Best Partition: mesabipar
To check status use qstat
:
[ln0006:hyoung] qstat
Job ID Name User Time Use S Queue
------------------------- ---------------- --------------- -------- - -----
4560955.mesabim3.msi.umn.edu kinship.sh vrie0006 01:02:54 R small
[ln0006:hyoung]