[parsec-users] state of darwin intel config for parsec

Erick van Rijk vanrijk at apple.com
Wed Apr 16 18:13:42 EDT 2008


Hello,

I'm looking into Parsec and I was wondering what the state of the  
Darwin port was.
I'm currently running into problems building the components using icc  
using Darwin on Intel.
Most of the errors are related to pthread synchronisation scope errors:
/opt/intel/cc/10.1.014/bin/icpc -gcc-name=/usr/bin/gcc -I/usr/include/c 
++/4.1.2 -O3 -funroll-loops -prefetch -fpermissive -fno-exceptions - 
DPARSEC_VERSION=1.0 -pthread parallel.cpp  -L/opt/intel/cc/10.1.014/ 
lib64 -L/opt/intel/cc/10.1.014/lib  -o fluidanimate
parallel.cpp(97): error: identifier "pthread_barrier_t" is undefined
   pthread_barrier_t barrier;	// global barrier used by all threads
   ^

parallel.cpp(250): error: identifier "pthread_barrier_init" is undefined
   	pthread_barrier_init(&barrier, NULL, NUM_GRIDS);
   	^

parallel.cpp(366): error: identifier "pthread_barrier_destroy" is  
undefined
   	pthread_barrier_destroy(&barrier);
   	^

parallel.cpp(703): error: identifier "pthread_barrier_wait" is undefined
   	pthread_barrier_wait(&barrier);
   	^

compilation aborted for parallel.cpp (code 2)
make[1]: *** [parallel] Error 2
make: *** [all] Error 2

Regards,

Erick



More information about the parsec-users mailing list