# Revision history [back]

### 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.

Thanks a lot

 2 retagged FrédéricC 3119 ●3 ●32 ●60

### 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.