Re: [OMPI users] MPI and C++ - now Send and Receive of Classes and STL containers

2009-07-07 Thread John Phillips
Luis Vitorio Cargnini wrote: just one additional and if I have: vector< vector > x; How to use the MPI_Send MPI_Send([0][0], x[0].size(),MPI_DOUBLE, 2, 0, MPI_COMM_WORLD); ? Vitorio, The standard provides no information on where the different parts of the data will be, relative to

Re: [OMPI users] MPI and C++ (Boost)

2009-07-07 Thread John Phillips
Luis Vitorio Cargnini wrote: Your suggestion is a great and interesting idea. I only have the fear to get used to the Boost and could not get rid of Boost anymore, because one thing is sure the abstraction added by Boost is impressive, it turn the things much less painful like MPI to be

Re: [OMPI users] MPI and C++ (Boost)

2009-07-07 Thread Terry Frankcombe
On Mon, 2009-07-06 at 23:09 -0400, John Phillips wrote: > Luis Vitorio Cargnini wrote: > > > > Your suggestion is a great and interesting idea. I only have the fear to > > get used to the Boost and could not get rid of Boost anymore, because > > one thing is sure the abstraction added by Boost

Re: [OMPI users] Configuration problem or network problem?

2009-07-07 Thread Zou, Lin (GE, Research, Consultant)
Thank you for your suggestion, I tried this solution, but it doesn't work. In fact, the headnode doesn't participate the computing and communication, it only malloc a large a memory, and when the loop in every PS3 is over, the headnode gather the data from every PS3. The strange thing is that

[OMPI users] bulding rpm

2009-07-07 Thread rahmani
Hi every one I built a rpm file for openmpi-1.3.2 with openmpi.spec and buildrpm.sh on the http://www.open-mpi.org/software/ompi/v1.3/srpm.php I change buildrpm.sh as fllowing: prefix="/usr/local/openmpi/intel/1.3.2" specfile="openmpi.spec" #rpmbuild_options=${rpmbuild_options:-"--define

Re: [OMPI users] MPI and C++ (Boost)

2009-07-07 Thread John Phillips
Terry Frankcombe wrote: I understand Luis' position completely. He wants an MPI program, not a program that's written in some other environment, no matter how attractive that may be. It's like the difference between writing a numerical program in standard-conforming Fortran and writing it in

Re: [OMPI users] MPI and C++ (Boost)

2009-07-07 Thread Raymond Wan
Hi Luis, Luis Vitorio Cargnini wrote: Your suggestion is a great and interesting idea. I only have the fear to get used to the Boost and could not get rid of Boost anymore, because one thing is sure the abstraction added by Boost is impressive, it turn I should add that I fully

Re: [OMPI users] MPI and C++ (Boost)

2009-07-07 Thread Matthieu Brucher
> IF boost is attached to MPI 3 (or whatever), AND it becomes part of the > mainstream MPI implementations, THEN you can have the discussion again. Hi, At the moment, I think that Boost.MPI only supports MPI1.1, and even then, some additional work may be done, at least regarding the complex

Re: [OMPI users] Segmentation fault - Address not mapped

2009-07-07 Thread Catalin David
Hello, all! Just installed Valgrind (since this seems like a memory issue) and got this interesting output (when running the test program): ==4616== Syscall param sched_setaffinity(mask) points to unaddressable byte(s) ==4616==at 0x43656BD: syscall (in /lib/tls/libc-2.3.2.so) ==4616==by

Re: [OMPI users] MPI and C++ - now Send and Receive of Classes and STL containers

2009-07-07 Thread Markus Blatt
Hi, On Mon, Jul 06, 2009 at 03:24:07PM -0400, Luis Vitorio Cargnini wrote: > Thanks, but I really do not want to use Boost. > Is easier ? certainly is, but I want to make it using only MPI > itself > and not been dependent of a Library, or templates like the majority > of > boost a huge set of

Re: [OMPI users] Segmentation fault - Address not mapped

2009-07-07 Thread Ashley Pittman
This is the error you get when an invalid communicator handle is passed to a MPI function, the handle is deferenced so you may or may not get a SEGV from it depending on the value you pass. The 0x44a0 address is an offset from 0x4400, the value of MPI_COMM_WORLD in mpich2, my guess

Re: [OMPI users] Segmentation fault - Address not mapped

2009-07-07 Thread Dorian Krause
Catalin David wrote: Hello, all! Just installed Valgrind (since this seems like a memory issue) and got this interesting output (when running the test program): ==4616== Syscall param sched_setaffinity(mask) points to unaddressable byte(s) ==4616==at 0x43656BD: syscall (in

Re: [OMPI users] Segmentation fault - Address not mapped

2009-07-07 Thread Catalin David
#include #include int main(int argc, char *argv[]) { printf("%d %d %d\n", OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,OMPI_RELEASE_VERSION); return 0; } returns: test.cpp: In function ‘int main(int, char**)’: test.cpp:11: error: ‘OMPI_MAJOR_VERSION’ was not declared in this scope

Re: [OMPI users] Segmentation fault - Address not mapped

2009-07-07 Thread Catalin David
Thank you very much for the help and assistance :) Using -isystem /users/cluster/cdavid/local/include the program now runs fine (loads the correct mpi.h). Thank you again, Catalin On Tue, Jul 7, 2009 at 12:29 PM, Catalin David wrote: >  #include >  #include >  int

Re: [OMPI users] MPI and C++ (Boost)

2009-07-07 Thread Jeff Squyres
I think you face a common trade-off: - use a well-established, debugged, abstraction-rich library - write all of that stuff yourself FWIW, I think the first one is a no-brainer. There's a reason they wrote Boost.MPI: it's complex, difficult stuff, and is perfect as middleware for others to

Re: [OMPI users] Configuration problem or network problem?

2009-07-07 Thread Jeff Squyres
You might want to use a tracing library to see where exactly your synchronization issues are occurring. It may depend on the communication pattern between your nodes and the timing between them. Additionally, your network switch(es) performance characteristics may come into effect here:

Re: [OMPI users] Question on running the openmpi test modules

2009-07-07 Thread Jeff Squyres
On Jul 7, 2009, at 12:43 AM, Prasadcse Perera wrote: I'm new to openmpi and currently I have setup openmpi-1.3.3a1r21566 on my Linux machines. I have run some of available examples and also noticed there are some test modules under /openmpi-1.3.3a1r21566/ test. Are these tests run on

Re: [OMPI users] Segmentation fault - Address not mapped

2009-07-07 Thread Jeff Squyres
On Jul 7, 2009, at 8:08 AM, Catalin David wrote: Thank you very much for the help and assistance :) Using -isystem /users/cluster/cdavid/local/include the program now runs fine (loads the correct mpi.h). This is very fishy. If mpic++ is in /users/cluster/cdavid/local/bin, and that

Re: [OMPI users] MPI and C++ (Boost)

2009-07-07 Thread Luis Vitorio Cargnini
Ok, after all the considerations, I'll try Boost, today, make some experiments and see if I can use it or if I'll avoid it yet. But as said by Raimond I think, the problem is been dependent of a rich-incredible-amazing-toolset but still implementing only MPI-1, and do not implement

[OMPI users] Segfault when using valgrind

2009-07-07 Thread Justin
(Sorry if this is posted twice, I sent the same email yesterday but it never appeared on the list). Hi, I am attempting to debug a memory corruption in an mpi program using valgrind. However, when I run with valgrind I get semi-random segfaults and valgrind messages with the openmpi

Re: [OMPI users] quadrics support?

2009-07-07 Thread Michael Di Domenico
Does OpenMPI/Quadrics require the Quadrics Kernel patches in order to operate? Or operate at full speed or are the Quadrics modules sufficient? On Thu, Jul 2, 2009 at 1:52 PM, Ashley Pittman wrote: > On Thu, 2009-07-02 at 09:34 -0400, Michael Di Domenico wrote: >> Jeff, >>

[OMPI users] OpenMPI+SGE tight integration works on E6600 core duo systems but not on Q9550 quads

2009-07-07 Thread Lengyel, Florian
Hi, I may have overlooked something in the archives (not to mention Googling)--if so I apologize, however I have been unable to find info on this particular problem. OpenMPI+SGE tight integration works on E6600 core duo systems but not on Q9550 quads. Could use some troubleshooting assistance.

Re: [OMPI users] OpenMPI+SGE tight integration works on E6600 core duo systems but not on Q9550 quads

2009-07-07 Thread Reuti
Hi, Am 07.07.2009 um 22:12 schrieb Lengyel, Florian: Hi, I may have overlooked something in the archives (not to mention Googling)--if so I apologize, however I have been unable to find info on this particular problem. OpenMPI+SGE tight integration works on E6600 core duo systems but not

Re: [OMPI users] quadrics support?

2009-07-07 Thread Michael Di Domenico
So, first run i seem to have run into a bit of an issue. All the Quadrics modules are compiled and loaded. I can ping between nodes over the quadrics interfaces. But when i try to run one of the hello mpi example from openmpi, i get: first run, the process hung - killed with ctl-c though it