Verifying the rte installation, Verifying the rte installation -3 – Altera RTE for OpenCL User Manual

Page 12

Advertising
background image

Attention: If you set the environment variables permanently, you apply the settings once during installa‐

tion. If you set the environment variables transiently, you must apply the settings during

installation and during every subsequent session you run.

• To apply permanent environment variable settings, perform the following tasks:

1. In the Windows Start menu, click Control Panel > System and Security > System.

2. In the System window, click Advanced system settings. In the Advanced tab of the System

Properties dialog box, click Environment Variables.

3. In the Environment Variables dialog box, include the following paths in the corresponding

environment variable settings:

Environment Variable

Path to Include

PATH

1.

%ALTERAOCLSDKROOT%\bin

2.

%ALTERAOCLSDKROOT%\host\windows64\bin

where ALTERAOCLSDKROOT points to the path of the software installa‐

tion

• To apply transient environment variable settings, open a command window and run the

%ALTERAOCLSDKROOT%\init_opencl.bat

script.

Example script output:

AOCL_BOARD_PACKAGE_ROOT path is not set in environment
Setting to default s5_ref board.
If you want to target another board, do
set AOCL_BOARD_PACKAGE_ROOT=board_pkg_dir
and re-run this script
Adding %ALTERAOCLSDKROOT%\bin to PATH
Adding %ALTERAOCLSDKROOT%\host\windows64\bin to PATH
Adding %AOCL_BOARD_PACKAGE_ROOT%\windows64\bin to PATH

where AOCL_BOARD_PACKAGE_ROOT points to the path of the Custom or Reference Platform.
Running the

init_opencl.bat

script only affects the current command window. The script performs the

following tasks:
• Finds the Microsoft Visual Studio installation

• Imports the Microsoft Visual Studio environment to properly set the LIB environment variable

• Ensures that the PATH environment variable includes the path to the Microsoft

LINK.EXE

file

Verifying the RTE Installation

Invoke the

version

utility command and verify that the correct version of the AOCL is installed.

OCL005-15.0.0

2015.05.04

Verifying the RTE Installation

2-3

Getting Started with the Altera RTE for OpenCL for 64-Bit Windows

Altera Corporation

Send Feedback

Advertising