首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >HTCondor卷影异常:[Errno 8]执行格式错误

HTCondor卷影异常:[Errno 8]执行格式错误
EN

Stack Overflow用户
提问于 2017-06-29 05:51:36
回答 2查看 1.5K关注 0票数 3

我是HTcondor的新手,在我通过Putty提交作业后,该作业被搁置,日志文件显示以下错误:

代码语言:javascript
复制
007 (274036.000.000) 06/28 23:12:08 Shadow exception!
    Error from slot1@hana-******: Failed to execute '/var/lib/condor/execute/dir_107122/condor_exec.exe': (errno=8: 'Exec format error')
     0  -  Run Bytes Sent By Job
     16520  -  Run Bytes Received By Job
     ...

012 (274036.000.000) 06/28 23:12:08 Job was held.
     Error from slot1@hana-2.*******: Failed to execute'/var/lib/condor/execute/dir_107122/condor_exec.exe': (errno=8: 'Exec format error')
     Code 6 Subcode 8
     ...

下面是我的提交描述文件:

代码语言:javascript
复制
# defining the programm
cmd = /***/my_prog.ipynb
# defining the parameters

#args = /***/model_1/data_1.csv
#args = /***/model_2/data_2.csv
#args = /***/model_3/data_3.csv
#args = /***/model_4/data_4.csv
# defining memory requirements
request_memory = 100 GB
# defining to use 1 CPU
request_cpus = 100
# defining the max. run time of the job
+REQUESTED_WALLTIME = 72
# defining the mail address for notification
notify_user = ***@**.com
notification = Always
should_transfer_files = if_needed
when_to_transfer_output = on_exit
output = $(Cluster)-$(Process)_job.out
error = $(Cluster)-$(Process)_job.error
log = $(Cluster)-$(Process)_job.log
queue 1

在本例中,my_prog.ipynb本身具有读取本地四个文件作为输入的代码,同时,my_prog.ipynb还包含将结果写入本地文件的“打印”命令。

基于这种情况,我真的很困惑,我是否也应该在提交的描述文件中配置args?

请给我任何小提示,这个问题让我艰难了3天…

任何建议都将不胜感激!

谢谢!

EN

回答 2

Stack Overflow用户

发布于 2018-02-20 02:51:57

在我的例子中,我得到了这个错误,因为作业是一个python脚本,并且它的第一行没有shebang。

票数 6
EN

Stack Overflow用户

发布于 2017-07-21 09:01:33

检查可执行文件的执行权限。我认为影子日志显示未设置可执行位。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44813117

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档