Max Alekseyev on Wed, 20 May 2015 18:53:17 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: silent \r |
Did you try to add ';' at the end of each function declaration ? e.g.On Wed, May 20, 2015 at 11:07:26AM -0400, Max Alekseyev wrote:
> I've made my rather lengthy PARI/GP script compliant with parallel
> execution, which involved declaration of multiple function as "inline".
> This struck back from an unexpected side -- now loading my script takes
> several minutes of intensive scrolling of its "unrolled" code.
> Relatedly, I wonder if there a way to suppress output of the "\r" command
> or making functions ready for parallel execution without inlining them?
fun(x)=
{
....
z;
}
I found out that the simplest way to make code suitable for parallel GP
is to use GP2C, which does not have the same restriction as GP, because
install'ed functions are not stored as global variables.
In any case, I would be very happy to learn about your experience.
Cheers,
Bill.