Hi experts!
I wanna use multiprocessing using 288 cores of SageCloud for my Monte Carlo algorithm. Is that possible?
My algorithm is like this:
import numpy as np
experiments=1000
sticks= np.array(range(1,1000,1))
def function_1():
funciton_1...
def function_2():
funciton_2...
for n in sticks:
for u range(experiments):
algorithm is executed and a number 'jjjj' is geretaed and saved in array 'numbers jjjj'.
all values in array 'numbers jjjj' are averaged and saved in array 'numbers for each stick'
the array 'numpers for each stick' is saved as .cvs
In the possitive case: I dont know how to incorporate @parallel
decorator in my script.
Please help!
Thanks a lot