Deleted function in c++

Here is a note on how to precent value copy of a data structure, or debugging error message “is a deleted function”.

Continue reading

Advertisements
Posted in Uncategorized | Leave a comment

CMake issues with XCode updates

This is a quick trouble shooting for issues with building with CMake (in Clion and other cmake based IDE) after a xcode update.

Continue reading

Posted in Uncategorized | Leave a comment

How to read the c/c++ type system

Here are some notes on how to read the C type system.

Continue reading

Posted in Uncategorized | Leave a comment

How to debug segfaults where the exact cause is hard to locate (or incorrect)

This is a note on how to narrow down the location of the cause of a segfault, when the debugger pin points to the incorrect place or is unable to locate the place.

Continue reading

Posted in Uncategorized | Leave a comment

How to list code in Latex

  • How to create  a customized language highlighting scheme in Latex
  • How to use “{” and “}” in lstinline

Continue reading

Posted in Uncategorized | Leave a comment

locating stragglers tasks in parallel programs

Here is a post on how to locate certain straggler task in openmp parallel programs using perf and gdb.

Continue reading

Posted in Uncategorized | Leave a comment

How to get GAPBS and Ligra to generate weighted graph with weight 1

We have been trying to generate weighted graph for two popular graph frameworks, GAPBS and Ligra to generate graphs with weights one from SNAP format edge lists. Here are some our experiences.

Continue reading

Posted in Uncategorized | Leave a comment