Thanks Paul !

i will review this and make the PRs

Cheers,

Gilles

On 12/20/2015 9:44 AM, Paul Hargrove wrote:
On my Solaris 11.2 system, alloca() is a macro defined in alloca.h.
So, the following is needed to avoid link failures:

--- ompi/mca/pml/cm/pml_cm.h~   Sat Dec 19 16:25:54 2015
+++ ompi/mca/pml/cm/pml_cm.h    Sat Dec 19 16:26:30 2015
@@ -32,6 +32,9 @@
 #include "pml_cm_sendreq.h"
 #include "ompi/message/message.h"
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
 BEGIN_C_DECLS

Based solely on source inspection, I believe master and v2.x have the same issue.

-Paul

--
Paul H. Hargrove [email protected] <mailto:[email protected]>
Computer Languages & Systems Software (CLaSS) Group
Computer Science Department               Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900


_______________________________________________
devel mailing list
[email protected]
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
Link to this post: 
http://www.open-mpi.org/community/lists/devel/2015/12/18440.php

Reply via email to