Hello everyone,

I've found a bug trying to build openmpi 1.2.1 with progress threads
and gm btl support. Gcc had no problem with the missing header but
pgcc 7.0 complained. Check the attached patch.

Regards, Götz Waschk

--
AL I:40: Do what thou wilt shall be the whole of the Law.
--- openmpi-1.2.1/ompi/mca/btl/gm/btl_gm_component.c~	2007-04-19 18:30:53.000000000 +0200
+++ openmpi-1.2.1/ompi/mca/btl/gm/btl_gm_component.c	2007-04-27 14:50:04.000000000 +0200
@@ -45,6 +45,8 @@
 
 
 #if OMPI_ENABLE_PROGRESS_THREADS
+#include <pthread.h>
+
 static void* mca_btl_gm_progress_thread( opal_object_t* arg );
 #endif
 static int gm_reg_mr(void *reg_data, void *base, size_t size,

Reply via email to