Josh Kupershmidt on Tue, 27 Mar 2007 08:33:27 +0200


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

Re: A distributed version of Pari-GP


The example gp_input.gp file provided is an overly simple gp program
that prints n and prime(n) over a given range of values of n.

Right now, each compute node has to have a local copy of gp_input.gp
that tells it what calculation to perform -- in this case, to print
prime(n) for a given n, with the range of n automatically sent by a
control node. This is probably the least elegant aspect of the
program. Obviously, in order to change the type of computation you're
performing, you have to change the gp_input.gp file on each compute
node.

I'd like to change this so that a control node will send not only the
index range, but also the whole gp_input.gp file to each compute node.
I'll work on this soon, hopefully...

Josh Kupershmidt

On 3/27/07, Loic Grenie <grenie@matapp.unimib.it> wrote:
   It would be interesting to see the gp_input.gp: how do the nodes
  receive the input from the master ?

    Loïc Grenié