This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get upgrade | |
# Added by me | |
sudo apt-get install freeglut3 freeglut3-dev libtbb2 libqt4-dev | |
# Copied from pyimagesearch.com | |
sudo apt-get install build-essential cmake git pkg-config | |
sudo apt-get install libjpeg8-dev libtiff5-dev libjasper-dev libpng12-dev | |
sudo apt-get install libgtk2.0-dev | |
sudo apt-get install libavcodec-dev libavformat-dev libswscale-ffmpeg3 libv4l-0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CSS for Collapsible Blog Posts */ | |
[id^=_] { | |
display: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mpicxx -c -I<path/to/boost>/boost/include hello_world.cpp -o hello_world.o | |
mpicxx -L<path/to/boost>/boost/lib -o hello_world hello_world.o -lboost_mpi -lboost_serialization | |
mpirun -np 2 ./hello_world | |
mpirun -n 2 ./hello_world | |
~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pulling a object out of a class is a trivial thing, but pushing it back though template parameters prevent it from generating a lot of garbage needs a lot. |