Skip to content

Commit

Permalink
doc(09): add TMPDIR env
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5459 committed Sep 1, 2023
1 parent 59111ae commit a866386
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/en/09.poster-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ args = ["window_post"]
# Limit the cpuset to this sub processes
# cgroup.cpuset = "10-19"
# Configure environment variables for custom proof (optional)
envs = { BELLMAN_GPU_INDEXS="0", CUDA_VISIBLE_DEVICES="0", ... }
envs = { BELLMAN_GPU_INDEXS="0", CUDA_VISIBLE_DEVICES="0", TMPDIR = "/tmp/worker-prover1/", ... }
# Configure the maximum concurrent number of this process (optional), no limit if not configured
concurrent = 1
```
Expand Down Expand Up @@ -184,14 +184,14 @@ concurrent = 2
# bin="~/my_algorithm"
# args = ["window_post", ...]
# cgroup.cpuset = "10-19"
# envs = { CUDA_VISIBLE_DEVICES="0", ... }
# envs = { CUDA_VISIBLE_DEVICES="0", TMPDIR = "/tmp/worker-prover1/",, ... }
# concurrent = 1

# [[processors. window_post]]
# bin="~/my_algorithm"
# args = ["window_post"]
# cgroup.cpuset = "20-29"
# envs = { CUDA_VISIBLE_DEVICES="1", ... }
# envs = { CUDA_VISIBLE_DEVICES="1", TMPDIR = "/tmp/worker-prover2/", ... }
# concurrent = 1
```

Expand Down
6 changes: 3 additions & 3 deletions docs/zh/09.独立运行的poster节点.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ args = ["window_post"]
# 限制子进程可使用的 cpu
cgroup.cpuset = "10-19"
# 配置自定义算法的环境变量 (可选)
envs = { BELLMAN_GPU_INDEXS="0", CUDA_VISIBLE_DEVICES="0", ... }
envs = { BELLMAN_GPU_INDEXS="0", CUDA_VISIBLE_DEVICES="0", TMPDIR = "/tmp/worker-prover1/", ... }
# 配置本进程最大并发数量 (可选),不配置则不限制
concurrent = 1
```
Expand Down Expand Up @@ -182,14 +182,14 @@ concurrent = 2
# bin="~/my_algorithm"
# args = ["window_post", ...]
# cgroup.cpuset = "10-19"
# envs = { CUDA_VISIBLE_DEVICES="0", ... }
# envs = { CUDA_VISIBLE_DEVICES="0", TMPDIR = "/tmp/worker-prover1/", ... }
# concurrent = 1

# [[processors.window_post]]
# bin="~/my_algorithm"
# args = ["window_post"]
# cgroup.cpuset = "20-29"
# envs = { CUDA_VISIBLE_DEVICES="1", ... }
# envs = { CUDA_VISIBLE_DEVICES="1", TMPDIR = "/tmp/worker-prover2/", ... }
# concurrent = 1
```

Expand Down

0 comments on commit a866386

Please sign in to comment.