[erlang-questions] using erlang openCL bindings codebase
Thu Jan 17 10:10:15 CET 2013
I did a post about that just the other day.
if you know how, you can edit the erts/configure.in a rebuild erlang.
If you can live with 32-bit or build from git Dan also had some nice ways around this.
I will see if I can produce some easy instructions on how to start with cl.
But in this case it was never possible to get started ;-)
>> Found a workaround for cl (https://github.com/tonyrog/cl) not starting on erlang 64-bit mac os x
>> The fix is to add "-framework Foundation" to LIBCARBON in erts/configure.in
>> --- Like this ---
>> case $ARCH-$OPSYS in
>> LIBCARBON="-framework Foundation"
>> LIBCARBON="-framework Carbon -framework Foundation"
>> Any chans that this might be fixed in a future release ?
On 17 jan 2013, at 02:26, Alex Babkin <> wrote:
> I was trying to play around with this code (https://github.com/tonyrog/cl) and get it going on my mac (Air, OS X 10.8.2), but wasn't all that successful
> I have some experience running erlang programs but usually bootstrapped with rebar.
> I've gotten as far as getting "Trace/BPT trap: 5" as soon as i run some examples (and this error doesn't really help/tell me much)
> It'd be really great if there would be a step by step instructions on how to get the examples running and how to set the system up in general. A lot of people use macs for development nowadays, so mac specific instructions and gotchas would be great (and i can help with this however i can)
> here are the steps i followed:
> $mkdir opencl
> $cd opencl
> $git clone git://github.com/tonyrog/cl.git
> $cd cl
> $cd examples
> $ cd ../..
> $erl -pa cl/ebin
> Erlang R15B03 (erts-5.9.3) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false]
> Eshell V5.9.3 (abort with ^G)
> 1> cl_bandwidth:test().
> Trace/BPT trap: 5
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions