Bill Allombert on Thu, 07 Nov 2013 14:57:46 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Branch bill-mt for parallel pari updated again |
Dear PARI developers, I have updated the GIT branch bill-mt for parallel pari again. This branch support - POSIX threads: do - MPI (for clusters) The documentation is available at <http://pari.math.u-bordeaux.fr/~bill/parallel.pdf> and hasve been improved. The following parallel GP functions are available: parapply, pareval, parsum, parvector and two new experimental parallel function: parfor and parforprime parfirst have been removed, it can be written in GP as parfirst(pred,V)= { parfor(i=1,#V, pred(V[i]), cond, if(cond,return([i,cond])); [0,0] } parforprime is similar to parfor but iterate over primes. This new version fix various bugs in parfor. In particular now the second expression of parfor (expr2) can use global variables since it is not run in parallel. Cheers, Bill.