Analabha Roy writes: > that which variables should I set to shared and which should I keep private > to a particular thread? I mean, I've defined: > > const gsl_odeiv_step_type, > gsl_odeiv_step, g > sl_odeiv_control and > gsl_odeiv_evolve > > datatypes. Since each thread calls the integrator with a different set of > initial values for y[i], they should be marked private in the code, right? > What about the other datatypes? All of the above datatypes are also > evaluated separately by each thread, so they should all be set to private, > right? I did, and my program just hung on evaluating the first IC at t=0 and > stayed there.
I don't think you need to make gsl_odeiv_step_type private but the others look correct. -- Brian Gough Network Theory Ltd, Publishing the GSL Manual --- http://www.network-theory.co.uk/gsl/manual/ _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
