madhuneal / ppss

Automatically exported from code.google.com/p/ppss
0 stars 0 forks source link

cannot get ppss to parallelize lines of shell scripts #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create file "junk" with following inside:
/bin/touch j.1
/bin/touch j.2
/bin/touch j.3
/bin/touch j.4
2. ppss -f junk -c '$ITEM'
3. ppss -f junk -c '"$ITEM"'

What is the expected output? What do you see instead?
In steps 3 or 3, I don't see files (j.1 j.2 j.3 j.4) being created.

What version of the product are you using? On what operating system?
2.85.  64 bit linux 2.6.9-89.ELsmp

Please provide any additional information below.

Original issue reported on code.google.com by dcleeOnl...@gmail.com on 13 Aug 2011 at 7:22

GoogleCodeExporter commented 9 years ago
This is not how PPSS must be run. 

1. Create the file 'junk' with this content:

j.1
j.2
j.3
j.4

2. ppss -f junk -c '/bin/touch '

This works as expected.

Original comment by Louwrentius on 17 Aug 2011 at 10:23

GoogleCodeExporter commented 9 years ago

Original comment by Louwrentius on 17 Aug 2011 at 10:24

GoogleCodeExporter commented 9 years ago
I think Comment 1 is a workaround.

My original file "junk" has lines of shell commands:
/bin/touch j.1
/bin/touch j.2
/bin/touch j.3
/bin/touch j.4

(Above has been greatly simplified in order to demonstrate what I'm trying to 
do.)

Is there a way to run the shell commands in parallel using PPSS?
Reading PPSS documentation, this should be possible.
But I cannot get it work.

Original comment by dcleeP...@gmail.com on 22 Aug 2011 at 10:45