[PD] OpenMP and Pd

Pedro Lopes pedro.lopes at ist.utl.pt
Fri May 21 01:16:18 CEST 2010


I can try, but it is weird because compiling a simple example of open mp on
a .c file requires nothing else than -fopenmp flag.

I'll give feedback in a second.

On Thu, May 20, 2010 at 11:58 PM, Vasilis Liaskovitis <vliaskov at gmail.com>wrote:

> Hi,
>
> I don't know if pd works with openmp.
>
> For your undefined reference problem, you can try adding "-lgomp" to
> your compilation/linking command line.
> If that doesn't work, you may also have to point to the exact path of
> libgomp.so on your system.
>
> E.g. on my system I would add this:
> -L/usr/lib/gcc/x86_64-linux-gnu/4.3 -lgomp
>
> hope that helps,
>
> - Vasilis
>
> On Thu, May 20, 2010 at 4:46 PM, Pedro Lopes <pedro.lopes at ist.utl.pt>
> wrote:
> > I was trying to include pragma comments of OpenMp in a PD external, but
> it
> > does not seem to work for some reason. I tryed to look a bit on the web
> > about Pd and parallel code but couldn't find any thing specific about
> OpenMP
> > - does the current architecture of Pd allow parallelization with OpenMP
> > directives?
> >
> > I included a simple directive, it compiled with -fopenmp with no error
> nor
> > warnings but in creation time (inside PD):
> >>undefined symbol: GOMP_parallel_start
> >> dtw
> >>... couldn't create
> >
> > I found this [1] and also some references to Miller's conference about
> the
> > topic in Brasil but couldn't figure out exactly if OpenMP is allowed in
> pd
> > external code.
> >
> > best regards,
> > Pedro Lopes
> >
> > [1]
> >
> http://www.eecs.berkeley.edu/~demmel/cs267_Spr10/Lectures/Wessel_Final_ICMC2010.pdf<http://www.eecs.berkeley.edu/%7Edemmel/cs267_Spr10/Lectures/Wessel_Final_ICMC2010.pdf>
> >
> > --
> > Pedro Lopes
> > contacto: jazz at radiozero.pt
> > website: http://web.ist.utl.pt/Pedro.Lopes
> >
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> >
> >
>



-- 
Pedro Lopes
contacto: jazz at radiozero.pt
website: http://web.ist.utl.pt/Pedro.Lopes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100521/4b5ae4f9/attachment.htm>


More information about the Pd-list mailing list