Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 58efc48

Browse files
author
Matthias Bussonnier
authoredApr 25, 2020
Update documentation on features.
1 parent fd06234 commit 58efc48

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed
 

‎sample.sub

+23-2
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,40 @@
11
# copy that in your home folder and remove this first line
2-
#! /bin/bash -l
2+
#!/bin/bash -l
33

4+
## Bellow we ask for :
5+
# - only 1 machines (machies have at least 20 CPUs)
6+
# - only one task (you rarely need more than one task when not doing many machines)
7+
# - we indicate we plan on using at max a single CPU, and 1G of Ram.
48
#SBATCH --nodes=1
59
#SBATCH --ntasks=1
610
#SBATCH --cpus-per-task=1
711
#SBATCH --mem-per-cpu=1G
812
#
13+
914
#SBATCH --partition fast.q
10-
#SBATCH --time=0-00:15:00 # 0days 15 minutes
15+
#(You can use multiple partition comma separated)
16+
17+
#SBATCH --time=0-00:15:00 # 0 days 00 hours, 15 minutes, 00 seconds
1118
#
1219
#SBATCH --output=myjob_%j.stdout
1320
#
1421
#SBATCH --job-name=test
1522
#SBATCH --export=ALL
1623

24+
## Constraints and Features (advanced users),
25+
# Many of the Merced's nodes have features that other nodes do not have; for example, GPUs
26+
# or infiniband interconnect for MPI jobs.
27+
#
28+
# You may want to requests nodes with only these features using the --constraint
29+
# option and specifying a list of what you wish to request. Use `sinfo -o "%20N %10c %10m %25f"`
30+
# to see which features are availlable. Currently:
31+
# ib: infiniband (for fast, low latency IO or MPI jobs)
32+
# gpu: Graphical Process Units , separated in K20m, P100 if you need to be more specific.
33+
# Examples of requesting features:
34+
# #SBATCH --constraint=ib
35+
# #SBATCH --constraint=K20m,ib (infiniband and k20 GPU)
36+
#
37+
1738
# This submission file will run a simple set of commands. All stdout will be
1839
# captured in mmyjob_XXXX.stdout (as specified in the Slurm command above).
1940
# This job file uses a shared-memory parallel environment and requests 1 cores

0 commit comments

Comments
 (0)
Please sign in to comment.