[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 - Using MPI with Epiphany?

Using MPI with Epiphany?

Any technical questions about the Epiphany chip and Parallella HW Platform.

Moderator: aolofsson

Using MPI with Epiphany?

Postby Tylerlee12 » Thu Jun 26, 2014 3:01 pm

Hi guys,

I was wondering, is it possible to use MPI with the Epiphany processors? We have set up a Beowulf cluster to connect 4 Parallella boards, and ran programs using all 4 of their ARM processors collectively. However, in order to do this you need to run the program through the 'mpicc' compiler; and in order to run programs I know you need to use the 'e-gcc' compiler. Anyone have any insight as to how we could do this? Also, on a side note, is C++ supported on the Epiphany compiler?
Tylerlee12
 
Posts: 6
Joined: Mon Oct 21, 2013 8:43 pm

Re: Using MPI with Epiphany?

Postby aolofsson » Thu Jun 26, 2014 3:54 pm

You would need to do "heterogeneous programming". As you said, you can use MPI to distribute work between the different Parallella boards. Distributing work to the Epiphany cores would currently need to be done using the basic ehal("e-gcc" interface or with OpenCL. This is similar to what is normally done for clusters with a mix of CPUs and GPUs. C++ is supported, but you have to be VERY careful with the features you use in order to keep the code size below 32KB.
Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Using MPI with Epiphany?

Postby Tylerlee12 » Thu Jun 26, 2014 5:51 pm

Tylerlee12
 
Posts: 6
Joined: Mon Oct 21, 2013 8:43 pm


Return to Epiphany and Parallella Q & A

Who is online

Users browsing this forum: No registered users and 8 guests