[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 - trouble building the browndeer examples

trouble building the browndeer examples

Moderator: dar

trouble building the browndeer examples

Postby afh » Sat Aug 30, 2014 12:44 am

When I try to build the hello_stdcl example in /Work/examples/parallella/hello_stdcl/ I get the following error :
clcc -v -c -o ocl_kernels.o matvecmult.cl
coprthr-1.6.0 (Freewill)
number of platforms 1
clcc1: compile 'matvecmult.cl' [coprthr:ARMv7]
compiler_native:build_log:
execshell> cd /tmp/xclLptZsN; gcc -D__coprthr_device__ -fno-exceptions -O3 -marm -mfpu=neon -funsafe-math-optimizations -fno-math-errno -funsafe-math-optimizations -fschedule-insns -fschedule-insns2 -U_FORTIFY_SOURCE -I/usr/local/browndeer/include -D __xcl_kthr__ -D __STDCL_KERNEL_VERSION__=020000 -fPIC -c ubT6Wq.cpp

execshell> cd /tmp/xclLptZsN; cpp -x c++ -D__coprthr_device__ -I/usr/local/browndeer/include /tmp/xclLptZsN/ubT6Wq.cl | awk -v prog=\"/tmp/xclLptZsN/ubT6Wq.cl\" 'BEGIN { pr=0; } { if($0~/^#/ && $3==prog) pr=1; else if ($0~/^#/) pr=0; if ($0!~/^#/ && pr==1) print $0; }' | xclnm --kcall -d -c -o _kcall_ubT6Wq.c -

execshell> cd /tmp/xclLptZsN; gcc -D__coprthr_device__ -O0 -fPIC -D__xcl_kcall__ -I/usr/local/browndeer/include -c _kcall_ubT6Wq.c

execshell> cd /tmp/xclLptZsN; g++ -shared -Wl,-soname,ubT6Wq.so -o ubT6Wq.so ubT6Wq.o _kcall_ubT6Wq.o ubT6Wq.elfcl

data_A

clcc1: compile 'matvecmult.cl' [coprthr:E16G Needham]
compiler_e32:build_log:
execshell> \cp /usr/local/browndeer/lib/_e32pth_core_main_needham.o /tmp/xclvC7RjX

execshell> \cp /usr/local/browndeer/lib/_e32pth_core_needham.ldf /tmp/xclvC7RjX

execshell> cd /tmp/xclvC7RjX; e-g++ -O0 -g -Wall -c -fmessage-length=0 -ffast-math -ftree-vectorize -funroll-loops -Wunused-variable -ffp-contract=fast -mlong-calls -mfp-mode=truncate -falign-loops=8 -falign-functions=8 -w -fstack-usage -fno-exceptions -U_FORTIFY_SOURCE -fno-stack-protector -I/opt/adapteva/esdk/tools/e-gnu/epiphany-elf/sys-include -fpermissive -D__coprthr_device__ -x c++ -I/usr/local/browndeer/include -D __xcl_kthr__ --include=e32pth_if_needham.h --include=opencl_lift.h --include=e32_opencl_ext.h -D __STDCL_KERNEL_VERSION__=020000 -D__COPRTHR__ -D E32_DRAM_ZEROPAGE=0x8e100000 -S IKopmO.cpp

execshell> cd /tmp/xclvC7RjX; e-g++ -O0 -g -Wall -c -fmessage-length=0 -ffast-math -ftree-vectorize -funroll-loops -Wunused-variable -ffp-contract=fast -mlong-calls -mfp-mode=truncate -falign-loops=8 -falign


[2577] clmesg ERROR: clcc.c(718): clcc: clld returned non-zero exit status 11
=======================================================================================
I get the same error when I try to build bdt_nbody_32.I'm using the browndeer COPRTHR lib that came with the board...
What could be the cause of this ?
afh
 
Posts: 2
Joined: Sat Aug 30, 2014 12:38 am

Re: trouble building the browndeer examples

Postby stevenc » Tue Sep 02, 2014 8:19 pm

I had the same issue I believe. For me, there was a problem with the `clld` program, just running clld would immediately return a segmentation fault. I fixed it by rebuilding the libraries from their source.

The sources are here:
The instructions are here (page 4):
stevenc
 
Posts: 13
Joined: Fri Aug 29, 2014 4:44 pm

Re: trouble building the browndeer examples

Postby afh » Sat Sep 06, 2014 4:07 pm

afh
 
Posts: 2
Joined: Sat Aug 30, 2014 12:38 am

Re: trouble building the browndeer examples

Postby dar » Wed Sep 10, 2014 2:22 pm

Arriving late to the discussion, but I can confirm that the pre-installed package seems to have problem.

Using a clean platform with latest image I removed entirely /usr/local/browndeer and rebuilt the stable-1.6 branch and things worked fine.

-DAR
dar
 
Posts: 90
Joined: Mon Dec 17, 2012 3:26 am

Re: trouble building the browndeer examples

Postby nickoppen » Mon Oct 27, 2014 12:39 am

Sharing is what makes the internet Great!
User avatar
nickoppen
 
Posts: 266
Joined: Mon Dec 17, 2012 3:21 am
Location: Sydney NSW, Australia

Re: trouble building the browndeer examples

Postby nickoppen » Mon Oct 27, 2014 10:32 am

./configure --enable-epiphany --with-libevent=/usr

got me over this problem.
Sharing is what makes the internet Great!
User avatar
nickoppen
 
Posts: 266
Joined: Mon Dec 17, 2012 3:21 am
Location: Sydney NSW, Australia


Return to OpenCL

Who is online

Users browsing this forum: No registered users and 14 guests

cron