This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
internal:start [2017/05/27 16:23] Maurits W. Haverkort |
internal:start [2018/06/13 16:17] (current) Maurits W. Haverkort [submit jobs to the cluster] |
||
---|---|---|---|
Line 46: | Line 46: | ||
==== submit jobs to the cluster ==== | ==== submit jobs to the cluster ==== | ||
+ | Save the following code in a text file and make it executable (chmod +x filename). You submit the script with the command | ||
+ | msub filename | ||
<code> | <code> | ||
#!/bin/bash | #!/bin/bash | ||
- | #MSUB -l nodes=1:ppn=16:best | + | #MSUB -l nodes=1:best:ppn=32 |
+ | #MOAB -A bw17e011 | ||
#MSUB -l walltime=5:00:00:00 | #MSUB -l walltime=5:00:00:00 | ||
#MSUB -N myjobname | #MSUB -N myjobname | ||
Line 59: | Line 62: | ||
cat $0 | cat $0 | ||
- | export OMP_NUM_THREADS=16 | + | export OMP_NUM_THREADS=32 |
echo "-----------------" | echo "-----------------" | ||
Line 78: | Line 81: | ||
echo "-----------------" | echo "-----------------" | ||
</code> | </code> | ||
- | |||
==== create new workspaces ==== | ==== create new workspaces ==== |