next up previous contents
Next: Building Perl port Up: Installation Previous: Environment set up   Contents


Building with thread support (for SMP machines)

To build with pthread support you must switch on some extra compile time options before you type make all. These are found at the top of the makefile in the top directory, and it is pretty clear from the makefile what to do. See the section 6.5 for information on how to run pthreaded code.

In some cases the pthreads do not schedule correctly, preventing multiple threads working on different processors at the same time. If you have this problem, trying compiling with -D HAS_PTHREAD_SETSCOPE on the CFLAGS line.

The pthreaded code has been reported to be 97there have been reports of up to 100 multiple threads running fine.



Eric DEVEAUD 2015-02-27