Re: [OMPI users] Help on Windows

2016-02-23 Thread Walt Brainerd
Thank you, Gilles! It's amazing to get such help. It seems to work when I unplugged the ethernet and have the wireless on, but I will check it out further (including the firewall situation) to pin it down. time mpirun -np 4 ./a Hello from 1 out of 4 images. Hello from

Re: [OMPI users] Help on Windows

2016-02-23 Thread Gilles Gouaillardet
Walt, generally speaking, that kind of things happen when you are using a wireless network and/or a firewall. so i recommend you first try to disconnect all your networks and see how things get improved Cheers, Gilles On 2/24/2016 5:08 AM, Walt Brainerd wrote: I am running up-to-date cyg

[OMPI users] Help on Windows

2016-02-23 Thread Walt Brainerd
I am running up-to-date cygwin on W10 on a 4x i5 processor, including gcc 5.3. I built libcaf_mpi.a provided by OpenCoarrays. $ cat hello.f90 program hello implicit none print *, "Hello from", this_image(), & "out of", num_images(), "images." end program hello I compiled the

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

2016-02-23 Thread Ralph Castain
Have you tried "mpirun -np N java -Xmxn myapp"? Once we see a non-OMPI cmd line option (e.g., "java"), we should stop checking those options On Tue, Feb 23, 2016 at 7:51 AM, Ibrahim Ikhlawi wrote: > Hallo, > > When I run my code for a big number of data with Java OpenMPI, I get the > error

[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