Problem building opencl

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

Problem building opencl

Postby alexB » Sat May 17, 2014 11:32 am

Cloned adapteva epiphany-opencl repo.
./configure
make
...
make -C src/CLETE
make[1]: Entering directory `/home/alex/epiphany-sdk/epiphany-opencl/src/CLETE'
./tools/gen_operators-arm32 --op-tags --operators ./tools/CLETE_Ops.in --guard _CLETEOPERATORTAGS_H > OperatorTags.h
/bin/sh: ./tools/gen_operators-arm32: No such file or directory
make[1]: *** [OperatorTags.h] Error 127
make[1]: Leaving directory `/home/alex/epiphany-sdk/epiphany-opencl/src/CLETE'
make: *** [src/CLETE] Error 2
$ cd src/CLETE/
$ ls ./tools/gen_operators-arm32
./tools/gen_operators-arm32

This appears to create an empty .h file, which running make again, skips. Will have a play with the make files (not very familiar with how recursive make should work).
alexB
 
Posts: 13
Joined: Mon Dec 17, 2012 3:25 am

Re: Problem building opencl

Postby alexB » Sat May 17, 2014 11:35 am

Hmm this doesn't look too encouraging:
...
disabled epiphany support
disabled libocl hook support
disabled Epiphany EMEK build
disabled Epiphany old eSDK API
disabled user install without root permission
...
From ./configure output.
alexB
 
Posts: 13
Joined: Mon Dec 17, 2012 3:25 am

Re: Problem building opencl

Postby alexB » Sat May 17, 2014 11:50 am

Tried again with ./configure --enable-epiphany, same result.
Strangely ./src/CLETE/tools/gen_operators-arm32 gives
-bash: ./src/CLETE/tools/gen_operators-arm32: No such file or directory
too.

$ ./src/CLETE/tools/gen_operators-arm32 -bash: ./src/CLETE/tools/gen_operators-arm32: No such file or directory
$ ls -l ./src/CLETE/tools/gen_operators-arm32
-rwxrwxr-x 1 alex alex 301081 May 16 07:02 ./src/CLETE/tools/gen_operators-arm32
$ file ./src/CLETE/tools/gen_operators-arm32
./src/CLETE/tools/gen_operators-arm32: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
which doesn't seem unreasonable.
alexB
 
Posts: 13
Joined: Mon Dec 17, 2012 3:25 am

Re: Problem building opencl

Postby aolofsson » Sat May 17, 2014 11:57 am

That Repo is out of date. We will remove it and point to the browndeer coprthr repo instead.
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Problem building opencl

Postby aolofsson » Sat May 17, 2014 12:17 pm

That Repo is out of date. We will remove it and point to the browndeer coprthr repo instead.
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Problem building opencl

Postby alexB » Sun May 18, 2014 9:13 am

Ah - ok. That does make the git log 1.5.1 comment make sense....
Thanks
alexB
 
Posts: 13
Joined: Mon Dec 17, 2012 3:25 am


Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 8 guests