-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmk_hist.yaml
46 lines (43 loc) · 1.65 KB
/
mk_hist.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# To submit/interact with job:
#
# message https://defiant/jobs --yaml mk_hist.yaml
# message https://defiant/jobs/{jobid} # history for this job
# message https://defiant/jobs?limit=4 # list last 4 jobs
# message https://defiant/jobs?state=active # list all active jobs
#
# message https://defiant/jobs/1730473943.459/state # get state of this job
# "active"
#
# # History example output:
# message https://defiant/jobs/1730473943.459
# [{"jobid":"1730473943.459","name":"mk_hist","updated":1730473943.5017505,"jobndx":0,"state":"new","info":0},{"jobid":"1730473943.459","name":"mk_hist","updated":1730473943.6228828,"jobndx":1,"state":"queued","info":6149},{"jobid":"1730473943.459","name":"mk_hist","updated":1730473948.4550412,"jobndx":1,"state":"active","info":6149}]
#
# # Logs output
# message https://defiant/jobs/1730473943.459/logs
# {"stderr.1":"","stdout.1":""}
#
# # List files
# message https://defiant/jobs/1730518299.305/files
# {"tof_hist.svg":{"size":174683,"atime":1730519097,"mtime":1730518959}}
#
# # Download a file
# message https://defiant/jobs/1730518299.305/files/tof_hist.svg \
# >tof_hist.svg
name: mk_hist
script: |
echo Running $mpirun tof_hist --dial tcp://134.79.23.43:3000
PATH=/lustre/polis/csc266/world-shared/schedulers/bin:$PATH
$mpirun tof_hist --dial tcp://134.79.23.43:3000
resources:
duration: 30
node_count: 1
# cpu-intensive
processes_per_node: 1
cpu_cores_per_process: 15
gpu_cores_per_process: 1
# gpu-intensive
#processes_per_node: 4
#gpu_cores_per_process: 1
# Enabling these would send HTTP calls when the job changes state.
callback: null
cb_secret: null