Hi Jack Yes to both questions. Best to download it directly from their page: http://www.valgrind.org/downloads/current.html then you are sure to get the newest version.
Another way to manage your output is to use the '-output-filename' of mpirun (or mpiexec) which will redirect the outputs (stdout, stderr and stddiag) of you processors into separate text files - check the man pages for 'mpirun' If you don't need to see the output of all your processes, but still want to use xterminals, you can use the '-xterm' option of mpirun, where you can select which ranks should open an xterm. (Again check the man pages of mpirun) Jody On Mon, Jul 26, 2010 at 8:55 AM, Jack Bryan <dtustud...@hotmail.com> wrote: > Thanks > It can be installed on linux and work with gcc ? > If I have many processes, such as 30, I have to open 30 terminal windows ? > thanks > Jack > >> Date: Mon, 26 Jul 2010 08:23:57 +0200 >> From: jody....@gmail.com >> To: us...@open-mpi.org >> Subject: Re: [OMPI users] OpenMPI Segmentation fault (11) >> >> Hi Jack >> >> Have you tried to run your aplication under valgrind? >> Even though applications generallay run slower under valgrind, >> it may detect memory errors before the actual crash happens. >> >> The best would be to start a terminal window for each of your processes >> so you can see valgrind's output for each process separately. >> >> Jody >> >> On Mon, Jul 26, 2010 at 4:08 AM, Jack Bryan <dtustud...@hotmail.com> >> wrote: >> > Dear All, >> > I run a 6 parallel processes on OpenMPI. >> > When the run-time of the program is short, it works well. >> > But, if the run-time is long, I got errors: >> > [n124:45521] *** Process received signal *** >> > [n124:45521] Signal: Segmentation fault (11) >> > [n124:45521] Signal code: Address not mapped (1) >> > [n124:45521] Failing at address: 0x44 >> > [n124:45521] [ 0] /lib64/libpthread.so.0 [0x3c50e0e4c0] >> > [n124:45521] [ 1] /lib64/libc.so.6(strlen+0x10) [0x3c50278d60] >> > [n124:45521] [ 2] /lib64/libc.so.6(_IO_vfprintf+0x4479) [0x3c50246b19] >> > [n124:45521] [ 3] /lib64/libc.so.6(_IO_printf+0x9a) [0x3c5024d3aa] >> > [n124:45521] [ 4] /home/path/exec [0x40ec9a] >> > [n124:45521] [ 5] /lib64/libc.so.6(__libc_start_main+0xf4) >> > [0x3c5021d974] >> > [n124:45521] [ 6] /home/path/exec [0x401139] >> > [n124:45521] *** End of error message *** >> > It seems that there may be some problems about memory management. >> > But, I cannot find the reason. >> > My program needs to write results to some files. >> > If I open the files too many without closing them, I may get the above >> > errors. >> > But, I have removed the writing files from my program. >> > The problem appears again when the program runs longer time. >> > Any help is appreciated. >> > Jack >> > July 25 2010 >> > >> > ________________________________ >> > Hotmail is redefining busy with tools for the New Busy. Get more from >> > your >> > inbox. See how. >> > _______________________________________________ >> > users mailing list >> > us...@open-mpi.org >> > http://www.open-mpi.org/mailman/listinfo.cgi/users >> > >> >> _______________________________________________ >> users mailing list >> us...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/users > > ________________________________ > The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with > Hotmail. Get busy. > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >