[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 - getting started

getting started

getting started

Postby joearms » Mon May 26, 2014 1:53 pm

Hello,

I'm a total newby (as regards the parallella) ... so I thought I'd start with a few questions

I've just got a 64 core board up and running.

Now what?

I want to understand in detail what I can do with this little beauty - can we compile Erlang to it
despite the small memory. Can we write a BIF accelerator and run erlang in the arm processor?

What I want to do make the "simplest possible C" program that does something.
say set x=10 double it and stop.

I want to load the code into one core - then from another core read the code and
data memory and disassemble everything.

What do I need to download?

Are there any blogs etc that go through the really simple stuff.

/Joe Armstrong
joearms
 
Posts: 1
Joined: Mon May 26, 2014 1:45 pm

Re: getting started

Postby 9600 » Mon May 26, 2014 2:19 pm

Hi Joe,

Welcome and it's great to hear that you are up and running your 64-core board!

For some simple and more advanced example programs see:

https://github.com/adapteva/epiphany-examples

https://github.com/parallella/parallella-examples

As regards running Erlang, you might find these two posts from Omer Kilic useful:

http://www.parallella.org/2013/05/25/ex ... a-prelude/

http://www.parallella.org/2013/09/10/ex ... th-pixels/

Very much looking forward to hearing about Erlang developments on Parallella :)

Cheers,

Andrew
Andrew Back
User avatar
9600
 
Posts: 997
Joined: Mon Dec 17, 2012 3:25 am

Re: getting started

Postby shodruk » Tue May 27, 2014 5:01 am

Shodruky
shodruk
 
Posts: 464
Joined: Mon Apr 08, 2013 7:03 pm

Re: getting started

Postby ZenoArrow » Sun Aug 17, 2014 2:35 pm

Hi Joe,

Think this guide is the best one for getting started...
http://www.erlang-embedded.com/2013/09/ ... lang-mini/

Permission to fangirl for a second... OMG it's Joe Armstrong! :shock: :D Thank you for letting me get that out of my system! ;)

ZenoArrow
ZenoArrow
 
Posts: 38
Joined: Thu Jan 10, 2013 6:10 pm

Re: getting started

Postby shr » Fri Aug 22, 2014 1:34 am

Yes, it's good to see Joe involved with this. Parallella has much promise and and Erlang looks like the best candidate to bring that promise to fruition, but I'm sure there's considerable work to make that happen.
“At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation” — Igor Sikorsky
shr
 
Posts: 23
Joined: Mon Dec 17, 2012 3:29 am
Location: Lyons, Colorado, USA

Re: getting started

Postby ZenoArrow » Fri Aug 22, 2014 1:17 pm

ZenoArrow
 
Posts: 38
Joined: Thu Jan 10, 2013 6:10 pm

Re: getting started

Postby greytery » Fri Aug 22, 2014 4:28 pm

Thanks for that great good link to Erlang-mini.

Got very excited for a short while there, until I saw that it was '-mini' and not '-micro'. So no Erlang on the Epiphany. :(
But, the ARM version for Parallella - and Pi - looks well worth a visit. The package size of 20MB sounds doable.
The key to the success of Erlang on Parallella will be getting some performant library routines (C/C++/ASM) to interface Erlang-mini to Epiphany cores.
At first glance (last year) it looked like porting the libs in the e-sdk manual wouldn't be a big stretch (for someone who knows what they're doing).

(1+ ) I can also recommend that Erlang intro. It's far better written than the grammar of the title would suggest. :)
The paperback version weighs (and costs) a ton, but you can read the same text on-line.

Cheers
tery
User avatar
greytery
 
Posts: 205
Joined: Sat Dec 07, 2013 12:19 pm
Location: ^Wycombe, UK

Re: getting started

Postby ZenoArrow » Sat Aug 23, 2014 3:18 am

Hey teri, thanks. It sounds to me like you've had some experience with Erlang in the past, do you have any other Erlang learning resources or articles you could recommend? Personally I'd be most interested in learning the best methods to debug Erlang, but any constructive advice would be most welcome.
ZenoArrow
 
Posts: 38
Joined: Thu Jan 10, 2013 6:10 pm

Re: getting started

Postby greytery » Sat Aug 23, 2014 5:51 pm

Hi ZenoArrow,

I talk a bigger talk than I ought to.
I came to Erlang as a result of looking under the hood of . There were some bits of code that I thought looked very elegant, almost like poetry.
I suppose I fell in love. :geek: :geek:

Wings 3D does not really stretch the Erlang language or architecture; for example, it runs in a single Erlang VM on one PC. It was originally written in Erlang - it seems - as a part-time programming exercise by one of the early developers. As a starter, however, just downloading and deconstructing the code gives many good examples of how the language works.

An important point though, is that when low-level performance stuff like graphics is needed, Wings 3D calls up C libraries (like any other interpreted language). That is the same thing that will need to be done between, say, Erlang mini and the Epiphany. Even with the 64 * 128kb core Epiphany coming in 2015(?), there's no room on the chip for the Erlang base.

Cheers,
tery
User avatar
greytery
 
Posts: 205
Joined: Sat Dec 07, 2013 12:19 pm
Location: ^Wycombe, UK


Return to Erlang

Who is online

Users browsing this forum: No registered users and 0 guests

cron