Disable PSHM in GASNet builds

Since Chapel uses threads to access multiple cores/sockets
on a machine, we don't need GASNet's shared-memory
communication scheme for different processes on the same node.
(In fact it does not work on some configurations, including
  some Infiniband and some Cray systems. PSHM was enabled by
  default in GASNet at some point).

Index: third-party/gasnet/Makefile
===================================================================
--- third-party/gasnet/Makefile (revision 22909)
+++ third-party/gasnet/Makefile (working copy)
@@ -6,7 +6,7 @@
  CHPL_MAKE_HOST_TARGET = --target
  include $(CHPL_MAKE_HOME)/make/Makefile.base
  
-CHPL_GASNET_CFG_OPTIONS += --enable-segment-$(CHPL_MAKE_COMM_SEGMENT) 
--enable-allow-gcc4
+CHPL_GASNET_CFG_OPTIONS += --enable-segment-$(CHPL_MAKE_COMM_SEGMENT) 
--enable-allow-gcc4 --disable-pshm
  
  ifneq ($(CHPL_MAKE_COMM_SEGMENT),everything)
  CHPL_GASNET_CFG_OPTIONS += --disable-aligned-segments

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to