- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
this article is aimed at addressing errors that users sometimes run into when using or installing the Altera OpenCL SDK and Nallatech 385/395 OpenCL Board Support Package (BSP).
There are 4 sections in this article:
- SECTION 1 - Nallatech 385/395 BSP Installation
- SECTION 2 - aocl utilities Issues
- SECTION 3 - Compiling Issues with aoc compiler
- SECTION 4 - Running host code
Feel free to post updates below and I will update this article with new content.
Thanks,
Gigi
Edits:
- 10/01/2014 - Add clarifications about permissions issue (scripts in libexec folder must have +x permissions)
- 10/01/2014 - Add Q_3-3 & its solution
- 10/03/2014 - Add Q_2-5 & its solution
- 10/20/2014 - Add Q_4-2, Q_4-3, Q_4-4 & their solutions
- 10/30/2014 - Add Q_2-6 & its solution
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TO_BE_DONE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is for more Q & A in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is another article for more Q & A in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is the link to the Nallatech 385 OpenCL BSP - Upgrade to 14.0 from 13.1 post: http://www.alteraforum.com/forum/showthread.php?t=45550
Posting that here since I'm unsticking the other post because most users have probably migrated to 14.0 by now.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I was wondering if anyone knew when the BSP for 15.0 will be available? I tried with the 14.1 BSP, but got an error related to licenses for partial configuration not being available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi gordonei,
The latest version of the BSP R001.003.0001 was recently released, please contact Nallatech directly if you wish to obtain access (www.nallatech.com/support-lounge-access-request/). The latest version of the BSP (R001.003.0001) was tested with 15.0.0.145, previous versions of the Nallatech BSP (version R001.002.0001 and newer) should compile without issues in 15.0 as well. The Nallatech Support Lounge also hosts pre-compiled aocx for the Altera example designs (https://www.altera.com/products/design-software/embedded-software-developers/opencl/developer-zone.html#designexamples). The partial reconfiguration feature is required for OpenCL, you will need to make sure that your Altera Quartus-II/OpenCL SDK license includes that feature. Thanks, G.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi ,
There is the same problems as shown First "" PCIe385n_hpc license failed, Not installing PCIe385n_hpc PCIe395_hpc license failed, Not installing PCIe395_hpc (The nalla_lic.dat was downloaded from altera license center.) "" Second - aocl install. "" No board installation routine supplied. Please consult your board manufacturer's documentation or support team for information on how to properly install your board. (The FTP can't be access , so how do I solve this problem ?) "" Third - lspci "" 01:00.0 Unassigned class [ff00]: Altera Corporation Device ab00 (rev 01) (The lspci can't not detect the nallatech name) "" enviroment : CentOS 6.5 Quartus 14.0 OpenCL SDK v14.0 Thanks : D- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi boyihuang,
--- Quote Start --- The nalla_lic.dat was downloaded from altera license center --- Quote End --- The nalla_lic.dat is provided by Nallatech (not Altera), please contact Nallatech by filling in this form to obtain your nalla_lic.dat file: http://www.nallatech.com/support-lounge-access-request The license file from Nallatech should be named nalla_lic.dat and placed at location $ALTERAOCLSDKROOT before starting the Nallatech OpenCL BSP installation. This will allow the BSP installation. You will also need the license file from Altera to compile your OpenCL SDK design (using the aoc compiler), you can place the Altera license file anywhere on your system but you will need to set the LM_LICENSE_FILE environment variable so that it points to the Altera license file location. The lspci output looks good. Thanks, G- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
I downloaded the license from nallatech(nalla_lic.dat put in $ALTERAOCLSDKROOT) and Altera (put the file in LM_LICENSE_FILE environment variable) Therefore I could use setup_linux.sh for PCIE-385 but failed for 395 in script. I can use aoc --list-boards to see the (p385_hpc_a7 and p385_hpc_d5). But when I typed the command (aoc install) , it showed message as shown: """""" No board diagnose routine supplied. Please consult your board manufacturer's documentation or support team for information on how to debug board installation problems. """""" How could I solve this problem ? Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Therefore I could use setup_linux.sh for PCIE-385 but failed for 395 in script. --- Quote End --- This behavior is expected if you have requested a license for the 385 HPC BSP only. No other BSP will be installed. --- Quote Start --- I can use aoc --list-boards to see the (p385_hpc_a7 and p385_hpc_d5). --- Quote End --- This confirms the 385 HPC BSP was correctly installed! --- Quote Start --- No board diagnose routine supplied. --- Quote End --- The diagnose routine should be installed. Make sure all the environment variables are set up correctly. for example:
export ALTERAOCLSDKROOT=/opt/altera/$1/hld
export QUARTUS_ROOTDIR=/opt/altera/$1/quartus
export AOCL_BOARD_PACKAGE_ROOT=$ALTERAOCLSDKROOT/board/nalla_pcie
export PATH=$PATH:$QUARTUS_ROOTDIR/bin:$QUARTUS_ROOTDIR/sopc_builder/bin:$ALTERAOCLSDKROOT/bin
export LD_LIBRARY_PATH=$ALTERAOCLSDKROOT/host/linux64/lib:$AOCL_BOARD_PACKAGE_ROOT/linux64/lib
export LM_LICENSE_FILE=port@server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I set up the environment variables . But it is still showed that no board supports : ((( Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Can you browse to: <hld_location>/board/nalla_pcie/linux64/libexec And run the "ls -l" command and post the results here. Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I typed the command "ls -l" 32 -rw-rw-r--. 1 30636 Jul 19 13:06 diagnostic 12 -rw-rw-r--. 1 10949 Jul 19 13:06 flash 4 -rw-rw-r--. 1 1569 Jul 19 13:06 install 12 -rw-rw-r--. 1 10431 Jul 19 13:06 reprogram Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
These files all need execution permissions. You can manually add execution permissions to these files or you can reinstall the BSP making sure you (1) erase the current install of the 'nalla_pcie' folder & then (2) mount the installation iso with "mount -o loop nalla_aocl_bsp_q14_0.iso /mnt/temp". Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I can use aocl install But I typed the " aocl flash acl0 base.aocx " , error message happened as shown """ This shouldn't happen: 6ee4c670-6bf3-4db4-872e-fb383606a7e3 Error: dd00cd6b-c947-40ff-95a0-41bcf30dcc31 device_id = 0x4 Unrecognised card type, so can't instantiate appropriate Flash/UFM/UCD classes! Start to Flash the device acl0 ... MMD INFO : [acl0] Reprogramming device through Flash with RBF file... aocl flash: Program failed. """"" The board problem I have been post early (about lspci) Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The BSP version that was used to create the file in flash must match the BSP version that you have installed on the host. You need to update the flash with the base.aocx file for the BSP you have installed on your host. Because you can't use the software utilities at this point (because of the firmware mismatch), you will need to update the flash via JTAG.- Power the host down
- Connect USB-Blaster REV-C to 385 board and host
- Connect the USB cable to the host
- Power up the host
- When in OS, browse to BSP location; for example: /opt/altera/15.0/hld/boards/nalla_pcie/hardware/p385_hpc_a7
- Run the perl script to update the flash: "perl flash_recovery.pl base.aocx"
- This will take around 20min, when finished power down the host (a reboot will not be enough)
- Power up the host
- When in OS, run "aocl diagnose acl0" to verify everything is OK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi gigi, i need to say thanks in behalf of the rest of the guys in the forum.. you really making such a comprehensive open CL FAQ. even this is a bit older version, i guess this is quite a good reference as well may applicable to newer version. Perhaps. Maybe the admin can consider to place this somewhere :D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your message - you've made my day :)
G- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
./lin_installer.exe: error loading shared libraries: libssl.so.10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What OS are you using?
Are you running the ./setup_linux.sh script ? Thanks G- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page