gpt4 book ai didi

linux - Condor Vanilla 宇宙在提交机器上运行

转载 作者:太空宇宙 更新时间:2023-11-04 12:56:24 25 4
gpt4 key购买 nike

我是 Condor 的新手。我正在使用 no 在 condor 上做我的主项目。树莓派。目前我已经在一个 Condor 池中将两个 pi 连接在一起;我指的是“http://research.cs.wisc.edu/htcondor/tutorials/fermi-2005/simple_dag.html”网站来运行作业。但问题是作业正在提交机器本身上运行。

任何人都可以帮我解决这个问题。这将是一个很大的帮助。

提交文件是

Universe   = vanilla
Executable = simple
should_transfer_files = yes
when_to_transfer_output = on_exit
MultiCPUJob = True
transfer_input_files = simple.dag
Arguments = 4 10
Log = simple.log
Output = simple.out
Error = simple.error
Queue

日志文件

pi@raspberrypi:~/job $ cat simple.log

000 (012.000.000) 02/25 06:00:21 Job submitted from host: <10.0.101.122:46766>
DAG Node: simple

...
001 (012.000.000) 02/25 06:00:31 Job executing on host: <10.0.101.122:36154>
...

006 (012.000.000) 02/25 06:00:35 Image size of job updated: 7

0 - MemoryUsage of job (MB)

0 - ResidentSetSize of job (KB)
...

005 (012.000.000) 02/25 06:00:36 Job terminated.

(1) Normal termination (return value 0)

Usr 0 00:00:00, Sys 0 00:00:00 - Run Remote Usage

Usr 0 00:00:00, Sys 0 00:00:00 - Run Local Usage

Usr 0 00:00:00, Sys 0 00:00:00 - Total Remote Usage

Usr 0 00:00:00, Sys 0 00:00:00 - Total Local Usage

56 - Run Bytes Sent By Job

6230 - Run Bytes Received By Job

56 - Total Bytes Sent By Job

6230 - Total Bytes Received By Job

Partitionable Resources : Usage Request Allocated

Cpus : 1 1

Disk (KB) : 14 10 76532

Memory (MB) : 0 1 434

...

pi@raspberrypi:~/job $

最佳答案

如果作业在提交机器上运行,它必须运行 STARTD 以及 SCHEDD、NEG 等...如果您不需要它,那么您可以在/etc/condor 中将其关闭/condor_config(或 condor_config.local,取决于设置)。

如果你希望提交节点能够运行一些作业,但只是不能运行这些作业,那么你可以指定

要求 = TARGET.Machine==foo@bar.com

强制它在特定机器上运行,或使用任何与您的要求相关的特定内容来过滤掉提交节点,使用 ClassAds 作为起始节点(使用 condor_status -l 查看这些)。您可以在配置文件中自己指定这些 ClassAd,然后使用它们来设置作业的要求。例如起始节点:condor_config.localPOOL=开始池

提交节点:submit.dag要求=POOL==“start_pool”给自己更好的定制。

关于linux - Condor Vanilla 宇宙在提交机器上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35619756/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com