ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 26 Oct 2013 10:55:46 +0200Sage Cloud & Parallel processinghttps://ask.sagemath.org/question/10659/sage-cloud-parallel-processing/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 lotmresimulatorSat, 26 Oct 2013 10:55:46 +0200https://ask.sagemath.org/question/10659/