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

No comments:

Post a Comment