[Networkit] Question Regarding Multithreading

Christian Staudt christian.staudt at kit.edu
Fri Sep 25 19:17:01 CEST 2015


On 24 Sep 2015, at 05:47, Michael Marcucci <onlycutch at gmail.com> wrote:

> Hello I recently started using Networkit and so far I am getting great results. The only issue is that the multithreading aspect of the software does not currently work for me. I looked at the c++ code and it does say that engineering functions such as get current thread count and set current thread count are prototypes. I am using the 3.6 distribution package and I just wanted to make sure this was not due to a missing library or something like that.
> I did try graph-tool which worked and used all of my cores and uses the same openMP library.
> Thanks,
> Michael


Hi Michael,
that is unexpected. You should get multithreading out of the box. Can you send us an example of the code you are running, where you would expect parallelism but don’t get it? Also, what is the result of getMaxNumberOfThreads() and setNumberOfThreads()?

Best,
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20150925/1c83dc8a/attachment.sig>


More information about the NetworKit mailing list