ACE is a generic framework for creating GPU-accelerated applications.
To build ACE:
cd build
qmake ../src/ACE.pro
make qmake_all
To install ACE globally (requires root):
make install
To build & install ACE locally:
cd build
qmake ../src/ACE.pro PREFIX=$HOME/software
make qmake_all
make install
# append these lines to ~/.bashrc
export PATH=$PATH:$HOME/software/bin
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:$HOME/software/include
export LIBRARY_PATH=$LIBRARY_PATH:$HOME/software/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/software/lib
For a example use of ACE, run the aceex
or qaceex
application after building.
If you receive the error /usr/bin/ld: cannot find -lmpi_cxx
try adding the MPICXX=no flag to the qmake command:
cd build
qmake ../src/ACE.pro -spec linux-g++ PREFIX=$HOME/ACE-3.0.1 MPICXX=no