2
我想並行運行python腳本(與GNU並行20110722)。從下面可以看出,我無法以我嘗試的任何方式跑步。 (^C
標誌着我用ctrl + C中斷作業的地步,因爲系統沒有響應)。使用GNU並行調用python腳本從bash腳本
[email protected]:~/Programs/LeitMotifsParallel$ parallel python {1} :::: <(echo MainMult.18136.py)
^C
[email protected]:~/Programs/LeitMotifsParallel$ parallel python {1} ::: <(echo MainMult.18136.py)
File "/dev/fd/63", line 1
MainMult.18136.py
^
SyntaxError: invalid syntax
[email protected]:~/Programs/LeitMotifsParallel$ parallel MainMult.18136.py
parallel: Input is tty. Press CTRL-D to exit.
^C
[email protected]:~/Programs/LeitMotifsParallel$
但是,python腳本直接從控制檯運行時按預期運行。
[email protected]:~/Programs/LeitMotifsParallel$ MainMult.18136.py
/home/me/Programs/LeitMotifsParallel/StAlg.py:6: DeprecationWarning: the sets module is deprecated
import sets #@UnusedImport
Start : 18:59:34 11Aug2011
['M']
['M']
(...)
我還沒有找到造成這種局面的答案成功的,所以我真的很感激,如果你能幫助我解決這個問題。
它確實如此。非常感謝你的幫助。 – NPalopoli
鏈接正在給404 – firesofmay