Hi,
Try adding an id to all sem-lines like this:
from:
> sem -j-1 rbn-posters-map.py [parameters to python script]
to:
sem -j-1 --id $$ rbn-posters-map.py [parameters to python script]
from:
> sem --wait
to:
sem --id $$ --wait
btw for testing I made ran this.
for ((n=0; n<6; n++))
do
I am about to embark on a project in which the jobs will be much more
computationally intensive than the ones that precipitated this thread (see
below). I really need to understand why the "sem -- wait" does not do what I
expected, otherwise I'm liable to waste an awful lot of time by playing safe
Have you tried reading the documentation?
It tells you to set an id when running parallel from a script.
The purpose of id is to group your programs into groups.
It might be better if sem just refused to run from a script without an id.
On 24 Jan 2017 10:57 pm, "D. R. Evans" wrote:
> I am abo
On 24 January 2017 at 23:47, D. R. Evans wrote:
Can someone please point me to what the problem might be?
>
Do you check the code that I send that solved your problem?
I just added the --id $$ option.
>From the man-page:
--id name
Use name as the name of the semaphore. D