To install accULL with AMDAPP OpenCL you need to update some scripts:
1. Remove --enable-cuda option from buid-accull.sh script:
./configure --enable-acc --enable-ocl
2. Update the variables LD_LIBRARY_PATH, LDFLAGS and CPPFLAGS in the env-parameters.sh script.
LD_LIBRARY_PATH
should cotain the complete path to opencl*.so library. Probably in
/opt/AMDAPP/lib/ or /opt/AMDAPP/lib64 (It depends of your system).
Also, change the LDFLAGS to the same directory the -L option.
LDFLAGS="-L/opt/AMDAPP/lib/"
The variable CPPFLAGS need the path to opencl.h directory with -I option.
CPPFLAGS="-I/opt/AMDAPP/include"
3. Update the Makefile template. This template is in ~/accull/yacf/config_local.py script.
CCFLAGS=${yacf_cflags} -lrt -fopenmp
FRANGOLLO_DIR=$(ACCULLBASE)/frangollo/
CURRENT_LIB=-L/opt/AMDAPP/lib -lOpenCL
Then
generate all binaries running build-accull.sh script again. If you have
any question, please do not heasite to contact with us.
Kind regards.
Juan José Fumero