Uninstalling the software, Uninstalling the fpga board, Uninstalling the software -10 – Altera RTE for OpenCL User Manual
Page 29: Uninstalling the fpga board -10

CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE = 128
CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR = 4
CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT = 2
CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT = 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG = 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT = 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE = 0
Command queue out of order? = false
Command queue profiling enabled? = true
Kernel initialization is complete.
Launching the kernel...
Thread #2: Hello from Altera's OpenCL Compiler!
Kernel execution is complete.
Uninstalling the Software
To uninstall the RTE for Linux, remove the software package via the Red Hat Package Manager (RPM) or
GUI uninstaller, then delete the software directory and restore all modified environment variables to their
previous settings.
1. Remove the software package by performing one of the following tasks:
a. To uninstall the RTE via RPM at the command line, type the
rpm -e aocl-rte
command.
b. Delete the
aclrte-linux64
directory.
2. Remove
$ALTERAOCLSDKROOT/bin
from the PATH environment variable.
3. Remove
$ALTERAOCLSDKROOT/host/linux64/lib
from the LD_LIBRARY_PATH environment variable.
4. Remove the ALTERAOCLSDKROOT environment variable.
Uninstalling the FPGA Board
To uninstall an FPGA board for Linux, invoke the
uninstall
utility command, uninstall the Custom
Platform, and unset the relevant environment variables. You must uninstall the existing FPGA board if
you migrate your OpenCL application to another FPGA board from a different Custom Platform.
To uninstall your FPGA board, perform the following tasks:
1. Following your board vendor's instructions to disconnect the board from your machine.
2. Invoke the
aocl uninstall
utility command to remove the current host computer drivers (for
example, PCI Express (PCIe) drivers). The RTE uses these drivers to communicate with the FPGA
board.
3. Uninstall the Custom Platform.
4. Unset the LD_LIBRARY_PATH environment variable.
5. Unset the AOCL_BOARD_PACKAGE_ROOT environment variable.
3-10
Uninstalling the Software
OCL005-15.0.0
2015.05.04
Altera Corporation
Getting Started with the Altera RTE for OpenCL for x86_64 Linux and 64-Bit Linux Big-Endian System