[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Problems with COPRTHR.1 on system 2006.11

Problems with COPRTHR.1 on system 2006.11

Moderator: dar

Problems with COPRTHR.1 on system 2006.11

Postby jqr » Sun Jan 29, 2017 11:22 pm

Hi,

I recently upgraded the parallella system from the 2015 version to the latest 2016.11 version (Ubuntu 15.04 With HDMI Support) and found that some of my COPRTHR.1 examples didn't run correctly with the pre-installed COPRTHR library.

So I downloaded the COPRTHR sources from https://github.com/browndeer/coprthr/ar ... le-1.6.zip, compiled and installed with no problems (./configure --enable-epiphany --disable-clete; make; make install).

But now when I compile a kernel using the newly installed version, I get the following error:
clcc -k -o index_kern.o index_kern.cl
coprthr-1.6.2 (Freewill)
number of platforms 1
/opt/adapteva/esdk.2016.11/tools/e-gnu.armv7l/lib/gcc/epiphany-elf/5.4.0/../../../../epiphany-elf/lib/crt0.o: In function `_epiphany_start':
(.text+0x14): undefined reference to `__stack'
/opt/adapteva/esdk.2016.11/tools/e-gnu.armv7l/lib/gcc/epiphany-elf/5.4.0/../../../../epiphany-elf/lib/crt0.o: In function `_epiphany_start':
(.text+0x18): undefined reference to `__stack'

Could someone help me with this problem? I can provide more detailed info if needed.

Thank's lot.

JR
jqr
 
Posts: 3
Joined: Fri Dec 21, 2012 12:45 am

Re: Problems with COPRTHR.1 on system 2006.11

Postby jar » Mon Jan 30, 2017 2:42 pm

I assume you mean the 2016.11 image. I don't think COPRTHR-1.6.2 targeted that. Rather, it was developed for 2015.1.

This looks like a fairly simple problem with it not finding the correct linker description file (LDF). The LDF seems to be updated frequently and there are multiple copies of it which are a bit different.

You should email the developer directly since I don't think he peruses the forum much.
User avatar
jar
 
Posts: 295
Joined: Mon Dec 17, 2012 3:27 am

Re: Problems with COPRTHR.1 on system 2006.11

Postby jqr » Mon Jan 30, 2017 7:20 pm

jqr
 
Posts: 3
Joined: Fri Dec 21, 2012 12:45 am

Re: Problems with COPRTHR.1 on system 2006.11

Postby jar » Tue Jan 31, 2017 5:40 am

Yes, dar is the COPRTHR developer

Ola is maintaining the software stack and Linux images. You could also email him @adapteva.com.
User avatar
jar
 
Posts: 295
Joined: Mon Dec 17, 2012 3:27 am

Re: Problems with COPRTHR.1 on system 2006.11

Postby Raistmer » Thu Feb 02, 2017 12:20 am

Also, clinfo gives:

coprthr-1.6.2 (Freewill)
Number of platforms 1
Platform Name coprthr
Platform Vendor Brown Deer Technology, LLC.
Platform Version coprthr-1.6-CURRENT (Freewill)
Platform Profile <profile>
Platform Extensions cl_khr_icd
Platform Extensions function suffix cl_khr_icd

Platform Name coprthr
Number of devices 2
Device Name ARMv7 Processor rev 0 (v7l)
Device Vendor Xilinx
Device Vendor ID 0x0
Device Version unknown
Driver Version unknown
Device OpenCL C Version <printDeviceInfo:5: get CL_DEVICE_OPENCL_C_VERSION size : error -30>
Device Type CPU
Device Profile unknown
Max compute units 1
Max clock frequency 0MHz
Max work item dimensions 3
Max work item sizes 1x1x1
Max work group size 64
g++: error: ql2WYk.o: No such file or directory
g++: error: _kcall_ql2WYk.o: No such file or directory
g++: error: ql2WYk.elfcl: No such file or directory
Segmentation fault


Doesn't look like operational runtime at all.
Raistmer
 
Posts: 1
Joined: Thu Feb 02, 2017 12:11 am

Re: Problems with COPRTHR.1 on system 2006.11

Postby jar » Fri Feb 03, 2017 4:43 am

COPRTHR 1.6.2 is open source so you're free to dig in. Is there a reason you need to run it on the latest image (2016.11)? It should work fine on 2015.1. A lot of the Epiphany software stack from Adapteva has changed. Things like symbol naming with underscores and the device ABI caused some significant software porting issues in some cases.
User avatar
jar
 
Posts: 295
Joined: Mon Dec 17, 2012 3:27 am

Re: Problems with COPRTHR.1 on system 2006.11

Postby olajep » Fri Feb 10, 2017 7:39 pm

_start = 266470723;
olajep
 
Posts: 140
Joined: Mon Dec 17, 2012 3:24 am
Location: Sweden


Return to OpenCL

Who is online

Users browsing this forum: No registered users and 4 guests

cron