PDA

View Full Version : OPENCL distributed computing.



ashwath
01-08-2013, 10:45 PM
Hi All,

I have installed AMD-APP-SDK v2.8 in my PC.Please let me know how i can run my opencl code(hello world example code) on multiple PCs at the same time.
Thanking in advance,
Ashwath.

chippies
01-09-2013, 04:06 AM
You can try VCL (http://www.mosix.org/txt_vcl.html) but that is specific to the Mosix Linux distribution.

Alternatively, you can try using MPI to write distributed apps that run over multiple PCs and each of those apps will then use OpenCL.

ashwath
01-09-2013, 10:47 PM
Hi ,

Thanks a lot for the reply.
I am using windows 7 OS.Will MPI work om windows.
Please do let me know.

Thanks,
Ashwath.

ashwath
01-09-2013, 10:56 PM
Hi,

What is MPI?
Please provide me the web link which gives MPI information if u know.

Regards,
Ashwath.

clint3112
01-10-2013, 01:13 AM
http://en.wikipedia.org/wiki/Message_Passing_Interface

ashwath
01-16-2013, 11:57 PM
Hi All,

Thanks a lot for ur reply.
To write MPI programs which SDK should i download and install.
Please do let me know.

Thanking you in advance,
Thanks and Regards,
Ashwath.

clint3112
01-17-2013, 12:51 AM
https://computing.llnl.gov/tutorials/openMP/#Compiling

ashwath
01-17-2013, 04:06 AM
Hi All,

If i use MPI to write distributed apps,do i have to go and copy the apps to the PCs on which i want run them.

For example if i have 5 Pcs connected in a network to my PC.If the exe is Hello.exe which is a OPENCL exe.Do i have to go and place Hello.exe to all the 5 PCs.

And then use the MPI to run Hello.exe on my PC and all 5 connected PCs at the same time.

Please clarify my question.

Thanking in advance,

Regards,
Ashwath

clint3112
01-17-2013, 06:13 AM
I think it would be much easier to ask in a MPI forum for that.

But if i remember correctly from my studies, mpi does the distribution for you. You only have to give the mpi framework a textfile with the ip's of your hosts and it will distribute and execute your tasks. But this has been 5 years now.

ashwath
01-18-2013, 03:22 AM
Hi ,

Are OPEN MP and MPI the same?

Please let me know.

Thanking you in advance,
Regards,
Ashwath.

matthiasv
01-18-2013, 04:01 AM
No, they are not. OpenMP is for distributing work on a multi-core machine using threads whereas MPI is used to distribute work among a cluster of machines. You should really sharpen your Google skills, because this information is easily available.

clint3112
01-18-2013, 04:03 AM
Sorry, my fault. Wrong link