[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
Page 1 of 1

Problems with COPRTHR.1 on system 2006.11

PostPosted: Sun Jan 29, 2017 11:22 pm
by jqr
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

Re: Problems with COPRTHR.1 on system 2006.11

PostPosted: Mon Jan 30, 2017 2:42 pm
by jar
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.

Re: Problems with COPRTHR.1 on system 2006.11

PostPosted: Mon Jan 30, 2017 7:20 pm
by jqr

Re: Problems with COPRTHR.1 on system 2006.11

PostPosted: Tue Jan 31, 2017 5:40 am
by jar
Yes, dar is the COPRTHR developer

Ola is maintaining the software stack and Linux images. You could also email him @adapteva.com.

Re: Problems with COPRTHR.1 on system 2006.11

PostPosted: Thu Feb 02, 2017 12:20 am
by Raistmer
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.

Re: Problems with COPRTHR.1 on system 2006.11

PostPosted: Fri Feb 03, 2017 4:43 am
by jar
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.

Re: Problems with COPRTHR.1 on system 2006.11

PostPosted: Fri Feb 10, 2017 7:39 pm
by olajep