Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16606 Discussions

Install Altera SDK OpenCL on Ubuntu

Altera_Forum
Honored Contributor II
1,069 Views

Hello,  

 

I dont know how to do the configuration of environment variables on Ubuntu for DE1-SoC, Im new on linux so any helper to show how to do that? 

see this https://www.terasic.com.tw/attachment/archive/836/de1soc_opencl_v02.pdf in page 23. 

Thank you in advance.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
310 Views

There are some threads about this already. 

Try to give a look here: http://www.alteraforum.com/forum/showthread.php?t=41480
0 Kudos
Altera_Forum
Honored Contributor II
310 Views

 

--- Quote Start ---  

Hello,  

 

I dont know how to do the configuration of environment variables on Ubuntu for DE1-SoC, Im new on linux so any helper to show how to do that? 

see this https://www.terasic.com.tw/attachment/archive/836/de1soc_opencl_v02.pdf in page 23. 

Thank you in advance. 

--- Quote End ---  

 

 

If you use bash like is usual on linux, you need to insert in the .bashrc initialization file in the home dir of the user using 

aoc (or the general bashrc in /etc) : 

 

export install_dir="where you installed quartus and aocl, the full path /...." <=============== edit 

export QSYS_ROOTDIR="${install_dir}/quartus/sopc_builder/bin" 

export ALTERAOCLSDKROOT="${intall_dir}/hld" 

export AOCL_BOARD_PACKAGE_ROOT="${install_dir}/hld/board/your terasic dir" <=================== edit 

export LD_LIBRARY_PATH="${install_dir}/hld/host/linux64/lib:${install_dir}/hld/board/your terasic dir/linux64/lib" <======================= edit 

 

export PATH=${QSYS_ROOTDIR}:${ALTERAOCLSDKROOT}/bin:${install_dir}/hld/quartus/bin:${PATH} 

 

export QUARTUS_ROOTDIR_OVERRIDE="${install_dir}/quartus" 

export QUARTUS_ROOTDIR="${install_dir}/quartus" 

 

export LM_LICENSE_FILE="${install_dir}/..........._License.dat" <========================== edit
0 Kudos
Altera_Forum
Honored Contributor II
310 Views

Hello,  

 

Thank you for your reply, I tried that on terminal but nothin happened, as I said Im new on ubuntu linux in general, I need to modify the file called profile(please see the pdf in my post), I have no idea how, please could you show me how to modify "profile" to install the environment. 

 

thank you
0 Kudos
Reply