2

I am trying to run a python script in parallel (with GNU parallel 20110722). As it could be seen below, I am not able to run in any of the ways I tried. (^C marks the point where I interrupt the job with ctrl+C because there is no response from the system).

me@kubuntu:~/Programs/LeitMotifsParallel$ parallel python {1} :::: <(echo MainMult.18136.py)
^C
me@kubuntu:~/Programs/LeitMotifsParallel$ parallel python {1} ::: <(echo MainMult.18136.py)
File "/dev/fd/63", line 1
MainMult.18136.py
             ^
SyntaxError: invalid syntax
me@kubuntu:~/Programs/LeitMotifsParallel$ parallel MainMult.18136.py
parallel: Input is tty. Press CTRL-D to exit.
^C
me@kubuntu:~/Programs/LeitMotifsParallel$

However, the python script runs as expected when run directly from console.

me@kubuntu:~/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']
(...)

I haven't been succesful in finding an answer for this situation, so I would really appreciate if you could help me solve this.

1 Answer 1

2

If http://www.biostars.org/p/11132/#11139 does not answer your question, please elaborate what is missing.

Sign up to request clarification or add additional context in comments.

1 Comment

It actually does. Thanks a lot for your help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.