MPJ Express is an open source Java message passing library (like MPICH and OpenMPI) that allows application developers to write and execute parallel Java applications for multicore processors and compute clusters/clouds. The software is distributed under the MIT (a variant of the LGPL) license.
Questions tagged [mpj-express]
60 questions
6
votes
1 answer
MPJ Express (Java MPI) running in Intellij IDEA
I downloaded mpj-v0_44 and extracted it to C:\mpj
Put Windows system env. variables MPJ_HOME to C:\mpj and in PATH added value C:\mpj\bin
I added mpi.jar, mpj.jar in Project Structure -> Libraries
and wrote simple helloworld mpi program:
import…

fpopic
- 1,756
- 3
- 28
- 40
4
votes
1 answer
"Unresolved compilation problems" from running MPJ express in Eclipse Indigo
I followed a tutorial from Utube on how to run parallel aplications using MPJ Express in an IDE. I downloaded the latest version of MPJ Express and used Eclipse Indigo.
I did include in my project JAR file for MPI. When I tried to compile a simple…

Paweł
- 85
- 1
- 9
4
votes
2 answers
Sending an Array of Strings using Message Passing Interface
I would like to send an array of strings from the master to a slave thread using Messgae Passing Interface (MPI).
i.e. String [] str = new String [10]
str[0]= "XXX" ... etc
How can I do that while avoiding to send each of the elements in this…

Study Learn
- 55
- 1
- 5
3
votes
1 answer
Set up MPJ Express in eclipse
I keep obtaining the same identical error as here.
I'm running eclipse under linux mint 17.3.
I've tried to add to MPJ_HOME to system variables writing this command on the terminal: export MPJ_HOME=/path/to/mpj/ (giving the real path to the folder…

Timmy
- 693
- 2
- 8
- 26
3
votes
1 answer
Unable to compile MPI programs in Java - UnsupportedClassVersionError
I am totally new to MPJ which is an API for developing MPI based programs in Java. I wrote a simple code as follows:
import mpi.MPI;
import mpi.Status;
public class Send {
public static void main(String[] args) throws Exception
{
…

Java Enthusiast
- 1,161
- 2
- 15
- 30
3
votes
0 answers
External program runs slow when launched from java
I am launching an application from Java using the getRuntime().exec(...) method, everything works perfectly except for one thing: the program (a 3d robot simulator in my case) runs slower compared to when I run it using a terminal window, that is:…

rodr
- 31
- 3
3
votes
1 answer
how 2D array pass in MPJ (other than object form)
I want to send adjacency matrix through MPJ, and one solution of that is to send the 2-d array in the form of an object, and a second solution is to send the 2-d array as one-dimensional array, i.e. a[N*N].
However, I wish to send the 2-d array in…

Mohsan Naqi
- 63
- 5
3
votes
1 answer
Avoid namespace conflicts in Java MPI-Bindings
I am using the MPJ-api for my current project. The two implementations I am using are MPJ-express and Fast-MPJ. However, since they both implement the same API, namely the MPJ-API, I cannot simultaneously support both implementations due to…

Felix
- 8,385
- 10
- 40
- 59
3
votes
0 answers
Parallel BFS through mpj library in java
I am currently working on Parallel Breadth First Search in Java with the help of MPJ Express.
I want to know if one of the processor finds the element or node (label) from any of the processors how can I make the other processors stop the further…

Mohsan Naqi
- 63
- 5
2
votes
1 answer
mpjboot bash: java: command not found
java and mpj express are installed in /opt in compute node. JAVA_HOME, MPJ_HOME and PATH are set already via bashrc.
error when running mpjboot machines:
bash: java: command not found
java is working already in both machines
mpjboot:
#!/bin/sh
if…

JR Galia
- 17,229
- 19
- 92
- 144
2
votes
3 answers
Send objects with MPJ express
I'm new to parallel programming and I want to do it in java.
I am wondering if it is possible to send and receive more complex ojects via MPI. I'm using MPJ express. However whenever I want to send a object I get a…

user1955650
- 21
- 1
- 3
1
vote
0 answers
java.net.ConnectException when running MPJBOOT on linux cluster
I followed the steps on page http://mpjexpress.org/docs/guides/linuxguide.pdf, and I can start daemons on all machines. If I just run program on single server, it runs successfully
[ip1,master] MPJ Daemon started successfully with process id:…

Siyuan Zhang
- 11
- 2
1
vote
0 answers
Is there a way to send map data structures using MPJ
Basically I am trying to send a hashmap using MPJ express. I haven't been able to find many useful examples of sending and receiving dictionary types with MPJ.
Using HashMap frequencies = extract(rBuf);…

I.B.
- 35
- 5
1
vote
0 answers
Is it possible to pass array of objects or other data type to MPI.COMM_WORLD.Scatter?
I am digging through documentation but I still can't figure out how to use other data types than array of ints. Is there any way to send data other than array of ints? The below code works fine if I use an array just of integers. I tried replacing…

Meta Xenology
- 142
- 2
- 9
1
vote
0 answers
How to initialize MPJ Express Outside main method?
I'm trying to initialize the MPJ inside a function but I cant make the MPI.Init(args) work. I tried dragging along the args like this
import mpi.*
public class Test {
String [] args
public static void main(String [] args){
…

Mirt Hlaj
- 173
- 10