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<catalindavid2...@gmail.com> wrote: >  #include >  #inc

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

2009-07-07 Thread Catalin David
2009 at 12:23 PM, Dorian Krause<doriankra...@web.de> wrote: > 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): >> &

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

2009-07-07 Thread Catalin David
) free'd The problem is that, now, I don't know where the issue comes from (is it libc that is too old and incompatible with g++ 4.4/OpenMPI? is libc broken?). Any help would be highly appreciated. Thanks, Catalin On Mon, Jul 6, 2009 at 3:36 PM, Catalin David<catalindavid2...@gmail.com>

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

2009-07-06 Thread Catalin David
by setting the $PATH variable to point first at my local installation. Catalin -- ****** Catalin David B.Sc. Computer Science 2010 Jacobs University Bremen Phone: +49-(0)1577-49-38-667 College Ring 4, #343 Bremen, 28759 Germany **

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

2009-07-06 Thread Catalin David
uster/cdavid/local/lib/ cdavid@denali:~$ locate communicator.h cdavid@denali:~$ I don't see anything wrong with the path (I added the first part in order to make it look there first). I even tried adding "-L/users/cluster/cdavid/local/lib -lmpi -I/users/cluster/cdavid/local/include" to the

[OMPI users] Segmentation fault - Address not mapped

2009-07-06 Thread Catalin David
/Message_Passing_Interface#Example_program with exactly the same results; the code breaks when the memory address of variable pool is referenced. So, if you have any ideas or you think I might have missed something, please let me know. Thanks, Catalin -- ** Catali