[GRASS-dev] Re: [GRASS-user] v.lidar.edgedetection very slow

Jyothish Soman jyothish.soman at gmail.com
Sat Jun 20 10:44:59 EDT 2009


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 <hamish_b at yahoo.com> 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
--------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20090620/e8892ec9/attachment.html


More information about the grass-dev mailing list