Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-05-22 Thread Tim Jim
Dear Reuti, Thanks for the reply. What options do I have to test whether it has successfully built? Thanks and kind regards. Tim On 22 May 2017 at 19:39, Reuti wrote: > Hi, > > > Am 22.05.2017 um 07:22 schrieb Tim Jim : > > > > Hello, > > > > Thanks for your message. I'm trying to get this to

[OMPI users] OpenMPI 2.x + PGI + Mellanox OFED

2017-05-22 Thread Aaron Knister
Matt Thompson reported an issue over the summer that prevented one from using OpenMPI when built with the PGI compilers and Mellanox OFED (At least the 3.x series). The thread is here https://www.mail-archive.com/users@lists.open-mpi.org/msg29698.html. Information about how PGI is reacting with

[OMPI users] Memory management and data structures with OpenMPI.

2017-05-22 Thread Pranav Sumanth
Greetings, I need help understanding how I can better manage memory in my code. sizeof(x)=8 (file main.cpp) and this is always equal to the number of processes spawned. How do I ensure that sizeof(x) = 1 and that it is a 1D array of size num (from main.cpp). I would like to import utils.h as

Re: [OMPI users] Hello world Runtime error: Primary job terminated normally, but 1 process returned a non-zero exit code.

2017-05-22 Thread Pranav Sumanth
Dear Gilles and Jeff! Thanks for your inputs. It fixed my problem. Regards, Pranav > On 22 May 2017, at 20:00, users-requ...@lists.open-mpi.org wrote: > > Re: Hello world Runtime error: Primary job terminated > normally, but 1 process returned a non-zero exit code. __

Re: [OMPI users] Hello world Runtime error: Primary job terminated normally, but 1 process returned a non-zero exit code.

2017-05-22 Thread Jeff Squyres (jsquyres)
What Gilles suggested is probably the right answer. There's a Linux executable named "test" already (e.g., /usr/bin/test) that is not an MPI application. When you didn't specify a path, mpirun probably found and ran that one instead. > On May 22, 2017, at 9:58 AM, Gilles Gouaillardet > wrot

Re: [OMPI users] Hello world Runtime error: Primary job terminated normally, but 1 process returned a non-zero exit code.

2017-05-22 Thread Gilles Gouaillardet
Hi, what if you mpirun -np 4 ./test Cheers, Gilles On Monday, May 22, 2017, Pranav Sumanth wrote: > Hello All, > > I'm able to successfully compile my code when I execute the make command. > However, when I run the code as: > > mpirun -np 4 test > > The error generated is: > > ---

Re: [OMPI users] OpenMPI installation issue or mpi4py compatibility problem

2017-05-22 Thread Reuti
Hi, > Am 22.05.2017 um 07:22 schrieb Tim Jim : > > Hello, > > Thanks for your message. I'm trying to get this to work on a single > machine. Ok. > How might you suggest getting OpenMPIworking without python and > CUDA? It looks like it's detected automatically. It should be possible to disab

[OMPI users] Hello world Runtime error: Primary job terminated normally, but 1 process returned a non-zero exit code.

2017-05-22 Thread Pranav Sumanth
Hello All, I'm able to successfully compile my code when I execute the make command. However, when I run the code as: mpirun -np 4 test The error generated is: --- Primary job terminated normally, but 1 process returned a non-zero exit code..