tryed both, still complains with the same error in pd output window. Seems that some OpenMP + PD issue is missing me (I&#39;m still learning...).<br><br>best regards,<br>Pedro<br><br><div class="gmail_quote">On Fri, May 21, 2010 at 12:16 AM, Pedro Lopes <span dir="ltr">&lt;<a href="mailto:pedro.lopes@ist.utl.pt">pedro.lopes@ist.utl.pt</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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.<br>

<br>I&#39;ll give feedback in a second.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, May 20, 2010 at 11:58 PM, Vasilis Liaskovitis <span dir="ltr">&lt;<a href="mailto:vliaskov@gmail.com" target="_blank">vliaskov@gmail.com</a>&gt;</span> wrote:<br>


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



</div></div></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes<br>contacto: <a href="mailto:jazz@radiozero.pt">jazz@radiozero.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes">http://web.ist.utl.pt/Pedro.Lopes</a> <br>