Yes, shared is a default state, so that spawned an error. Also, you are right, it is parallel for.
On Sat, Jun 20, 2009 at 8:14 AM, Hamish <[email protected]> wrote: > > Jyothish Soman wrote: > > I think that will be the parallel > > version of the code given in the link. Sorry, I dont have > > the resources right now to check the validity of the code, > > my laptop is fried, working from a common terminal. > > > > Just add -fopenmp flag in the make file for the code > > thanks! small problem- `#pragma for` doesn't take shared() as an arg, > for that do you have to do something like: > #pragma omp parallel for > ???? > > > > I have a small problem in understanding how the vect variable is > > being declared... in function tcholInv and tcholSolveInv. > > i.e. array used but no space never allocated for it? > looks like a bug to me. > > > Hamish > > > > > > -- JYOTHISH SOMAN MS-2008-CS Center for Security, Theory And Algorithm Research (CSTAR) International Institute of Information Technology Hyderabad India Phone:+91-9966222626 http://www.iiit.ac.in/ -------------------------------------------------------------- The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man. George Bernard Shaw --------------------------------------------------------
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
