In the above aocl diagnose it is referring to some other BSP (libaltera_a10_1150_sg1_mmd.so) to find where should i edit it
These are the variables :
INTELFPGAOCLSDKROOT is set to /opt/intelFPGA_pro/18.1/hld. Using that.
Will use $QUARTUS_ROOTDIR_OVERRIDE= /opt/intelFPGA_pro/18.1/quartus to find Quartus
AOCL_BOARD_PACKAGE_ROOT is set to /opt/intelFPGA_pro/18.1/hld/board/a10_ref. Using that.
Adding /opt/intelFPGA_pro/18.1/hld/bin to PATH
Adding /opt/intelFPGA_pro/18.1/hld/host/linux64/lib to LD_LIBRARY_PATH
Adding /opt/intelFPGA_pro/18.1/hld/board/a10_ref/linux64/lib to LD_LIBRARY_PATH