-
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
It is about [dpdispatcher](github.com/deepmodeling/dpdispatcher) @felix5572 Could you please take a look? Thx |
Beta Was this translation helpful? Give feedback.
-
你的PBS 版本太低了,导致执行pbs.py这个模块时,status_word这个变量得不到正确的值(R,Q,C,E) |
Beta Was this translation helpful? Give feedback.
-
May I ask how the author solved this problem specifically, I also encountered the same situation |
Beta Was this translation helpful? Give feedback.
-
What is your PBS version? |
Beta Was this translation helpful? Give feedback.
-
Sorry, I was using a public machine, I don't know how to check the PBS version
…------------------ 原始邮件 ------------------
发件人: "deepmodeling/dpgen" ***@***.***>;
发送时间: 2022年9月20日(星期二) 下午2:46
***@***.***>;
***@***.******@***.***>;
主题: Re: [deepmodeling/dpgen] something erro with submission about pbs (Discussion #914)
What is your PBS version?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I am sorry , i am poor english. But one may solve this problem if follow the steps below: First, open the file that named "pbs.py", go to the line 67 ,that is, the number of lines reported by the system you will find the following codes:
The error happend when the variable "status_word" cannot get the correct value (R, Q, C, E...) , due to the old PBS version. Therefore, we could changed the code like this:
After changing, run the dpgen again. you will get a message like this:
Note: "************************* balababalabalabalababalabala" in here is a general information. You may get the different printed message because the different PBS version. What we need to do is to use the basic Python syntax to cut out the "R" in the above message and pass it to the "status_ word" variable. For example, the version of my PBS is 2.6, my information printed is: status_line is So on line 67, my code was changed to :
In the above modification, I used the "split" method in Python to cut the above string "status_line ", so as to make the "status_ word" variable gets correct value It is work in my computer, I hope it can help you!! |
Beta Was this translation helpful? Give feedback.
你的PBS 版本太低了,导致执行pbs.py这个模块时,status_word这个变量得不到正确的值(R,Q,C,E)
解决办法 1. 换个队列系统
2. 把status_word 这个变量打印出来,然后用split方法切割一下,使其得到正确的值。