parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: use of parallel in bash script


From: Ole Tange
Subject: Re: use of parallel in bash script
Date: Mon, 17 Dec 2012 13:08:43 +0100

On Mon, Dec 17, 2012 at 9:22 AM, Dietmar Pils <dietmar.pils@univie.ac.at> wrote:
> dear ole,
>
> if you have read (http://en.wikipedia.org/wiki/Reading_%28process%29)
> the problem accurately you would have recognised, that it is a simple
> problem, not the command per se doesn't work, but it doesn't work from
> inside a script: it seems that you have to export the command (this is
> not very well documented). this you could have advised without
> instructing users how to write error reports...

Hi Dietmar.

A good error report would answer the following questions:

* What is the output you get? What is the output you expected?
* What error messages do you get?
* What is the minimal script that reproduces the error? (e.g. does
'parallel echo ::: 1 2 3' also not work in the script?)
* What version of parallel do you run?
* If you suspect the error is dependent on your environment, can you
reproduce the error on one of these VirtualBox images:
http://sourceforge.net/projects/virtualboximage/files/

This is described in the man page (in the section REPORTING BUGS).

With decent error reports you are more likely to get a useful answer.

Exporting should only be needed if you call functions from GNU
Parallel, and your example does not do that.


/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]