views:

2447

answers:

4

Is there anything like OpenMP on Java?

A: 

Open MPI implements the MPI specification. Here is a link to a java implementation here.

Milhous
MPI (http://en.wikipedia.org/wiki/Message_Passing_Interface) is not the same as OpenMP (http://en.wikipedia.org/wiki/OpenMP), but it targets the same problem.
Mnementh
It doesn't in fact. Both are complementary: basically mostly openmp for shared memory and mpi for distruibuted memory. The mix can give quite hairy codes though ^^
Piotr Lesnicki
+3  A: 

http://www.jppf.org/

HTH

plan9assembler
Question about this - Isn't jppf is to used when working with grid of computers, rather with one single computer with multiple threads?
Liran Orevi
+1  A: 

I think most people just use threads and the in-built concurrency constructs to achieve parallelism in Java.

http://java.sun.com/docs/books/tutorial/essential/concurrency/

Sorry I can't point you to anything more high level, but you might find that using threads isn't too bad - it's done quite well in Java.

Adrian Mouat
+1  A: 

You might also take a look at JOMP.

bubaker