title: How to create distributed property map with boost library?
body: <p>I am using <a href="http://www.boost.org/doc/libs/1_55_0/libs/graph_parallel/doc/html/distributed_property_map.html" rel="nofollow">this library</a> and I try:</p>
  
  <pre><code>typedef vector_property_map&lt;std::size_t&gt; LocalMap;
  typedef graph_traits&lt;Graph&gt;::vertex_descriptor Key;
  boost::parallel::distributed_property_map&lt; mpi_process_group,LocalMap,Key&gt; dist_map;
  </code></pre>
  
  <p>But fail:</p>
  
  <pre><code>mpic++ large_graph.cpp -o large_graph -L/usr/lib/ -lboost_mpi -lboost_serialization -lboost_graph_parallel -lboost_system -I/usr/include/
  
  /usr/include/boost/property_map/parallel/distributed_property_map.hpp:225:60: error: no type named ‘value_type’ in ‘struct boost::property_traits&lt;boost::detail::parallel::global_descriptor&lt;long unsigned int&gt; &gt;’
     typedef typename property_traits&lt;StorageMap&gt;::value_type value_type;
                                                              ^
  </code></pre>
  
  <p>Any idea? </p>