We're trying some FPGA experiments, and are having issues getting through the Getting Started documentation for the Arria 10 GX here:https://www.altera.com/documentation/tgy1490191698959.html We are at step 6:
$ source /home/drd/intelFPGA_pro/18.0/hld/init_opencl.sh INTELFPGAOCLSDKROOT is set to /home/drd/intelFPGA_pro/18.0/hld. Using that. Will use $QUARTUS_ROOTDIR_OVERRIDE= /home/drd/intelFPGA_pro/18.0/quartus to find Quartus AOCL_BOARD_PACKAGE_ROOT is set to /home/drd/intelFPGA_pro/18.0/hld/board/a10_ref. Using that. Adding /home/drd/intelFPGA_pro/18.0/hld/bin to PATH Adding /home/drd/intelFPGA_pro/18.0/hld/host/linux64/lib to LD_LIBRARY_PATH Adding /home/drd/intelFPGA_pro/18.0/hld/board/a10_ref/linux64/lib to LD_LIBRARY_PATH $ aocl flash acl0 boardtest.aocx Cannot find board_env.xml in /home/drd/intelFPGA_pro/18.0/hld/board/s10_refAlmost any other command I try fails with the error of finding board_env.xml for s10_ref, even though when installing Quartus Pro, I skipped installing the Stratix 10 device. Trying to install the Stratix 10 device and running as root are giving the same error. Any help is appreciated.
Try "export AOCL_BOARD_PACKAGE_ROOT". If it returns s10_ref instead of a10_ref, check your bashrc and make sure the path is correct. It is probably best to set these environmental variables manually rather than using Altera's init script.
The env variable is set correctly; I'm not sure why it's trying to look for s10_ref, though.
$ echo $AOCL_BOARD_PACKAGE_ROOT /home/drd/intelFPGA_pro/18.0/hld/board/a10_ref
Okay, That is strange. Have you checked to make sure there is no other variable in your bashrc that is pointing to "s10_ref"? I recommend cleaning up your environment and starting from scratch and setting all the variables manually.
I've double checked my environment, and nothing is pointing to s10_ref. I will try to uninstall and reinstall the software, but any other suggestions are welcome :)