From a86638642c19edfe35cfc6b86a4c397d082e6c94 Mon Sep 17 00:00:00 2001 From: 0x5459 <0x5459@protonmail.com> Date: Fri, 1 Sep 2023 23:57:59 +0800 Subject: [PATCH] doc(09): add TMPDIR env --- docs/en/09.poster-node.md | 6 +++--- ...50\241\214\347\232\204poster\350\212\202\347\202\271.md" | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/09.poster-node.md b/docs/en/09.poster-node.md index 9e7282d14..a11970887 100644 --- a/docs/en/09.poster-node.md +++ b/docs/en/09.poster-node.md @@ -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 ``` @@ -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 ``` diff --git "a/docs/zh/09.\347\213\254\347\253\213\350\277\220\350\241\214\347\232\204poster\350\212\202\347\202\271.md" "b/docs/zh/09.\347\213\254\347\253\213\350\277\220\350\241\214\347\232\204poster\350\212\202\347\202\271.md" index ecdb36eab..a8ade658d 100644 --- "a/docs/zh/09.\347\213\254\347\253\213\350\277\220\350\241\214\347\232\204poster\350\212\202\347\202\271.md" +++ "b/docs/zh/09.\347\213\254\347\253\213\350\277\220\350\241\214\347\232\204poster\350\212\202\347\202\271.md" @@ -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 ``` @@ -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 ```