Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

parallel multiple cores - algorithm

Hi experts!

I have a intel core i3 (x4). I wanna take adventage of multiple cores CPU.

My Monte Carlo algorithm can be summarized like that:

 N=[N1, N2, ..., N20]
 for n in N:
      execute 100 times the algorithm related with 'n'
      append some value (mean of the 100 times executed algorithm) in a output-numpy array LALALA (LALALA(n)))

So input is N, and output is an np.array LALALA (with 20 elements, each one related with one element in N)

How can I do for apply multicore proccesing?

Please explaing this to me in detail. Im a newby user and the sage-web-tutorials doesnt work.

Waiting for your answers.

Thanks a lot

click to hide/show revision 2
retagged

parallel multiple cores - algorithm

Hi experts!

I have a intel core i3 (x4). I wanna take adventage of multiple cores CPU.

My Monte Carlo algorithm can be summarized like that:

 N=[N1, N2, ..., N20]
 for n in N:
      execute 100 times the algorithm related with 'n'
      append some value (mean of the 100 times executed algorithm) in a output-numpy array LALALA (LALALA(n)))

So input is N, and output is an np.array LALALA (with 20 elements, each one related with one element in N)

How can I do for apply multicore proccesing?

Please explaing this to me in detail. Im a newby user and the sage-web-tutorials doesnt work.

Waiting for your answers.

Thanks a lot