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 main(int argc, c

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

2009-07-07 Thread Catalin David
2009 at 12:23 PM, Dorian Krause 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): >> >> ==4616== Syscall param sc

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

2009-07-07 Thread Catalin David
stack'd, malloc'd or (recently) 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,

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

2009-07-06 Thread Catalin David
TH 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
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 compiler invocation, in hope o

[OMPI users] Segmentation fault - Address not mapped

2009-07-06 Thread Catalin David
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 -- ****** Catalin David B.Sc. Computer Science 2010 Jacobs University Bremen Phone: +49-(0)