-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtasks_config.example.yaml
76 lines (71 loc) · 3.42 KB
/
tasks_config.example.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
delete_cluster_after_execution: false
overwrite_tasks: true # overwrite tasks with the same tag?
tasks:
- task_tag: "1-rank-hello-world" # the task_tag must be unique if overwrite_tasks is set to false
# Execution commands:
setup_commands:
- cd /var/nfs_dir/my_files/hello_world
- mpicc -o exec main.c
run_commands:
- mpiexec -np 1 --hostfile /var/nfs_dir/my_files/hostfile /var/nfs_dir/my_files/hello_world/exec
nodes_to_use: 1
slots_per_node_to_use: 1
ckpt_command: null # use only for system-level checkpointing
restart_command: null # this command will be executed when retrying the execution after a failure
# Fault tolerance information and options:
fault_tolerance_technology_label: "No FT" # this is just a label
checkpoint_strategy_label: "No FT" # this is just a label
retries_before_aborting: 0 # maximum number of retries before aborting execution
# Outputs:
remote_outputs_dir: "/var/nfs_dir/my_files/hello_world" # this remote folder will be saved at ./results
- task_tag: "2-ranks-hello-world"
setup_commands:
- cd /var/nfs_dir/my_files/hello_world
- mpicc -o exec main.c
run_commands:
- mpiexec -np 2 --hostfile /var/nfs_dir/my_files/hostfile /var/nfs_dir/my_files/hello_world/exec
nodes_to_use: 1
slots_per_node_to_use: 1
- task_tag: "npb_is_example"
setup_commands:
- git clone [email protected]:lapesd/hpcac-toolkit-apps.git /var/nfs_dir/my_files/hpcac-toolkit-apps
- mkdir -p /var/nfs_dir/my_files/hpcac-toolkit-apps/NPB3.3.1/NPB3.3-MPI/bin
- make -C /var/nfs_dir/my_files/hpcac-toolkit-apps/NPB3.3.1/NPB3.3-MPI is NPROCS=4 CLASS=C
run_commands:
- mpirun -np 4 -hostfile /var/nfs_dir/my_files/hostfile /var/nfs_dir/my_files/hpcac-toolkit-apps/NPB3.3.1/NPB3.3-MPI/bin/is.C.4
nodes_to_use: 1
slots_per_node_to_use: 4
- task_tag: "npb_ep_example"
setup_commands:
- git clone [email protected]:lapesd/hpcac-toolkit-apps.git /var/nfs_dir/my_files/hpcac-toolkit-apps
- mkdir -p /var/nfs_dir/my_files/hpcac-toolkit-apps/NPB3.3.1/NPB3.3-MPI/bin
- make -C /var/nfs_dir/my_files/hpcac-toolkit-apps/NPB3.3.1/NPB3.3-MPI ep NPROCS=4 CLASS=C
run_commands:
- mpirun -np 4 -hostfile /var/nfs_dir/my_files/hostfile /var/nfs_dir/my_files/hpcac-toolkit-apps/NPB3.3.1/NPB3.3-MPI/bin/ep.C.4
nodes_to_use: 1
slots_per_node_to_use: 4
- task_tag: "npb_lu_example"
setup_commands:
- git clone [email protected]:lapesd/hpcac-toolkit-apps.git /var/nfs_dir/my_files/hpcac-toolkit-apps
- mkdir -p /var/nfs_dir/my_files/hpcac-toolkit-apps/NPB3.3.1/NPB3.3-MPI/bin
- make -C /var/nfs_dir/my_files/hpcac-toolkit-apps/NPB3.3.1/NPB3.3-MPI lu NPROCS=4 CLASS=C
run_commands:
- mpirun -np 4 -hostfile /var/nfs_dir/my_files/hostfile /var/nfs_dir/my_files/hpcac-toolkit-apps/NPB3.3.1/NPB3.3-MPI/bin/lu.C.4
nodes_to_use: 1
slots_per_node_to_use: 4
- task_tag: "heat_example"
setup_commands:
- cd /var/nfs_dir/my_files
- git clone https://github.com/vanderlei-filho/jacobi-method
- cd jacobi-method
- git checkout HEAT2
- mkdir build
- cd build
- cmake ..
- make
run_commands:
- sudo setenforce 0
- cd /var/nfs_dir/my_files/jacobi-method/build
- mpirun -np 8 -hostfile /var/nfs_dir/my_files/hostfile jacobi_noft -p 1 -q 8 -NB 2048 -max_iter 200
nodes_to_use: 2
slots_per_node_to_use: 4