Thursday 15 October 2015

Issues when installing GPU Ocelot

Although I encountered all of these problems, most of them are not specific to GPU Ocelot

1. 'PTXLexer' is not a member of 'parser'
As per here, just edit ocelot/.release_build/ptxgrammar.hpp (make sure to use sudo) and comment out line 352.

 2. typedef 'GlobalMap' locally defined but not used
Turn off Werror by using "--no_werr" when running ./build.py

3. /usr/local/lib/libocelot.so: undefined reference to `tigetnum'
As per here, edit  SConscript (after running sudo ./build.py --install) on line 138 to add "-ltinfo" to ocelot_libs before it's used in OcelotConfig

4. /usr/bin/ld: cannot find -lboost_system-mt
According to this, -mt has been removed from Boost. As suggested I made the necessary symbolic links like so:
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_system.so /usr/lib/x86_64-linux-gnu
/libboost_system-mt.so

Monday 5 October 2015

Skype calls or Steam are/is silencing my games/music/whatever

This isn't actually Skype's fault - it's Window's. The default setting in Windows is that a call will lower the volume of other applications by 80%! Thankfully, this is a quick fix. To solve this do the following
  1. Right click on the volume icon (the little speaker in your notification tray)
  2. Select "Sounds"
  3. Choose the "Communications" tab
  4. Pick whatever option you'd like.
For more details see here.