Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
doku:matlab-save [2015/05/12 10:18] – ir | doku:matlab-save [2015/05/12 10:27] – [Example: Local Matlabpool] ir | ||
---|---|---|---|
Line 185: | Line 185: | ||
==== Example: Serial Matlab Task ==== | ==== Example: Serial Matlab Task ==== | ||
- | Analogously to VSC-2, we use the matlab m-file {{doku: | + | Analogously to VSC-2, we use the matlab m-file {{doku: |
< | < | ||
#!/bin/bash | #!/bin/bash | ||
# | # | ||
- | #SBATCH -J test | + | #SBATCH -J test # job name |
- | #SBATCH -N 1 | + | #SBATCH -N 1 # number of nodes |
- | #SBATCH --ntasks-per-node=1 | + | #SBATCH --ntasks-per-node=1 |
#SBATCH --ntasks-per-core=1 | #SBATCH --ntasks-per-core=1 | ||
#SBATCH --threads-per-core=1 | #SBATCH --threads-per-core=1 | ||
Line 201: | Line 201: | ||
</ | </ | ||
+ | < | ||
+ | [username@l32]$ sbatch jobSerial.sh | ||
+ | [username@l32]$ squeue -u username | ||
+ | </ | ||
+ | |||
+ | ==== Example: Local Matlabpool ==== | ||
+ | We use the same m-file '' |