[OMPI users] how to specify the maximum size of the momory allocation?

2016-02-23 Thread Ibrahim Ikhlawi
Hallo, When I run my code for a big number of data with Java OpenMPI, I get the error "java.lang.OutOfMemoryError", even if I run that on a server with 64GB RAM. Also I need to maximize the size of the memory allocation. With java I can do that by adding -Xmxn (write man java), but when I run my

Re: [OMPI users] how to benchmark a server with openmpi?

2016-01-24 Thread Ibrahim Ikhlawi
net/publication/291695527_SPIDAL_Java_High_Performance_Data_Analytics_with_Java_and_MPI_on_Large_Multicore_HPC_Clusters Thank you,Saliya On Sun, Jan 24, 2016 at 9:41 AM, Nick Papior wrote: *All* codes scale differently. So you should do these tests with your own code, and not a different code (such as MM). 2016-01-24 15:38 GMT+01:00

[OMPI users] how to benchmark a server with openmpi?

2016-01-24 Thread Ibrahim Ikhlawi
Hallo, I am working on a server and run java codes with OpenMPI. I want to know which number of process is the fastest to run my code with? For this reason I wrote a code that multiply two matrices but the differences between the results is not significant. Therefore I want to know how can I

Re: [OMPI users] How to allocate more memory to java OpenMPI

2016-01-20 Thread Ibrahim Ikhlawi
t.com/2012/09/outofmemoryerror-unable-to-create-new.html If you'd like to post the java code to the list, I can try it out on some of the servers I use. Howard 2016-01-19 8:03 GMT-07:00 Ibrahim Ikhlawi : Hallo, I'm working with java OpenMPI on a server with 64GB memory. But when

[OMPI users] How to allocate more memory to java OpenMPI

2016-01-19 Thread Ibrahim Ikhlawi
Hallo, I'm working with java OpenMPI on a server with 64GB memory. But when I run the java class I can only run it on until 15 processes (with this command: mpirun -np 15 java Multiplikation). Although there is 64GB memory, only about 3 GB will be used(with top command can I see that, the fir

Re: [OMPI users] mpijavac doesn't compile any thing

2015-11-19 Thread Ibrahim Ikhlawi
les, e.g. JAVA_HOME, JAVA_ROOT, and JAVA_BINDIR are set to. Howard -- sent from my smart phonr so no good type. Howard On Nov 18, 2015 7:26 AM, "Ibrahim Ikhlawi" wrote: Hello, I am trying to compile java classes with mpijavac, but it doesn't compile any class, f

[OMPI users] mpijavac doesn't compile any thing

2015-11-18 Thread Ibrahim Ikhlawi
Hello, I am trying to compile java classes with mpijavac, but it doesn't compile any class, for examle: Usually when I write the following line (mpijavac MyClass.java) in the console, it compiles and gives me the possible errors (e.g. missed semicolon) and the .class file will be created. Bu

Re: [OMPI users] How to send and receive an array correctly with java open-mpi

2015-11-05 Thread Ibrahim Ikhlawi
recv Cheers, Gilles On 11/5/2015 2:57 AM, Ibrahim Ikhlawi wrote: Hello, I want to send an array from process to another one. I send the array but I get only the first element of the

[OMPI users] How to send and receive an array correctly with java open-mpi

2015-11-04 Thread Ibrahim Ikhlawi
Hello, I want to send an array from process to another one. I send the array but I get only the first element of the array. This is a section from my code: int[] m1= new int[5]; if (0 == myrank) { for(int i= 0; i

[OMPI users] Simple example to multiply two matrix

2015-11-04 Thread Ibrahim Ikhlawi
Hello, can any one give me a simple example how to multiply two matrices in java openmpi ? I can not understand the difference between if-clauses in openmpi, for example: 1- if-clause to check the master process (rank 0), then I send an array to process 2 (rank 1). 2- if-clause to check if this

[OMPI users] How to multiply two matrices?

2015-10-28 Thread Ibrahim Ikhlawi
Hi, what is the best way to multiply two matrices with java-openmpi. Is the way in this link the right way to do that? Also split the first matrix row wise and multiply each one with the second matrix (each row on a processor) then collect the results. Link: https://anjanavk.wordpress.com/2011

[OMPI users] Package mpi does not exist

2015-09-14 Thread Ibrahim Ikhlawi
Hi, I am beginner in OpenMPI. I want to run some examples from the extracted openmpi-1.10.0/example, namely Hello.java and Ring.java. But when I compile Hello.java with: javac Hello.java I get this error: Hello.java:25: error: package mpi does not exist import mpi.*; ^ Hello.java:28: error

[OMPI users] package mpi does not exist

2015-09-14 Thread Ibrahim Ikhlawi
Hi, I am beginner in OpenMPI. I want to run some examples from the extracted openmpi-1.10.0/examplem, namely Hello.java and Ring.java. But when I compile Hello.java with javac Hello.java I get this error: