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,
On Thu, May 20, 2010 at 4:46 PM, Pedro Lopes pedro.lopes@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_ICMC2...
-- Pedro Lopes contacto: jazz@radiozero.pt website: http://web.ist.utl.pt/Pedro.Lopes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list