Admin message

Please use the issue tracker only to report bugs (i.e. errors in the library that need to be fixed) or feature requests.

Please check if the current git version also has the same problem. An easy way to do this is to use google colab!

For questions about how to compile, install or use the library, please use instead the web forum at https://forum.skewed.de/c/graph-tool.


(If unsure, use the forum first.)


IMPORTANT: When opening new issues, please fill out the required information listed in the issue template!

Error in multiflip_mcmc_sweep when resuming nested block-model state

Bug reports:

I am running graph_tool on a Macbook Pro, M1 2020, MacOS Sonoma 14.6.1 (23G93) with python3.10. I used the latest graph-tool version (2.97) that I could get from anaconda. I also tried the minimal example on colab with the condacolab installer and it did not work either.

My script: graph_tool_mcmc_error.zip or at github

I run a loop of 'multiflip_mcmc_sweep(beta=1, niter=10)'. Python crashes after a few iterations with an error report (full report found in files as crash_report.txt). In the console, the error looks like:

Run  0
beta = 1
61473.01334720126
58558.51659790002
57420.96938744546
56706.67543636693
56450.95001718272
56177.190729325324
56036.757047925035
55802.05087890877
55801.36077732993
55702.53250451976
55599.25872665603

libc++abi: terminating due to uncaught exception of type std::length_error: vector

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
Assignee Loading
Time tracking Loading