boostorg / graph_parallel

Boost.org graph_parallel module
http://boost.org/libs/graph_parallel
26 stars 38 forks source link

Document that metis_reader expects a seekable stream #34

Open J5lx opened 2 years ago

J5lx commented 2 years ago

metis_reader unconditionally seeks to the beginning of the stream when it starts, which causes it to fail with a metis_input_exception when reading from streams that are not seekable. For example, in my case I’m trying to read a graph that is piped into my program via stdin, which does not work because of this. This PR adds a note about that to the documentation to prevent surprises.