hi Chan<br><br>i have recompiled using the command:<br>mpif90 -o -traceback -g matrixvector matrixvector.f90<br><br>the result was these errors:<br>matrixvector: In function `_start&#39;:<br>(.text+0x0): multiple definition of `_start&#39;<br>
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib64/crt1.o:(.text+0x0): first defined here<br>matrixvector: In function `_fini&#39;:<br>(.fini+0x0): multiple definition of `_fini&#39;<br>/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib64/crti.o:(.fini+0x0): first defined here<br>
matrixvector:(.rodata+0x0): multiple definition of `_IO_stdin_used&#39;<br>/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib64/crt1.o:(.rodata.cst4+0x0): first defined here<br>matrixvector: In function `__data_start&#39;:<br>
(.data+0x0): multiple definition of `__data_start&#39;<br>/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib64/crt1.o:(.data+0x0): first defined here<br>matrixvector: In function `__data_start&#39;:<br>(.data+0x8): multiple definition of `__dso_handle&#39;<br>
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/crtbegin.o:(.data+0x0): first defined here<br>matrixvector: In function `main&#39;:<br>(.text+0xf0): multiple definition of `main&#39;<br>/opt/intel/composerxe-2011.3.174/compiler/lib/intel64/for_main.o:/export/users/nbtester/efi2linux_nightly/branch-12_0/20110310_010000/libdev/frtl/src/libfor/for_main.c:(.text+0x0): first defined here<br>
matrixvector: In function `_init&#39;:<br>(.init+0x0): multiple definition of `_init&#39;<br>/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib64/crti.o:(.init+0x0): first defined here<br>/tmp/ifortfJVDX2.o: In function `main&#39;:<br>
/root/mpi/number-sum/matrixvector.f90:1: multiple definition of `MAIN__&#39;<br>matrixvector:(.text+0x140): first defined here<br>/usr/lib/gcc/x86_64-linux-gnu/4.4.5/crtend.o:(.dtors+0x0): multiple definition of `__DTOR_END__&#39;<br>
matrixvector:(.dtors+0x8): first defined here<br>ld: error in matrixvector(.eh_frame); no .eh_frame_hdr table will be created.<br><br>don&#39;t know if i need to install more libraries or what?<br><br>thanks in advance.<br>
<br><div class="gmail_quote">On Fri, Apr 29, 2011 at 5:28 PM, Anthony Chan <span dir="ltr">&lt;<a href="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
your program most likely was accessing some invalid memory.<br>
You should recompile your code with -g and -traceback (since you are<br>
using ifort).  If that does not show you the problem, you need<br>
to use a debugger.<br>
<div><div></div><div class="h5"><br>
----- Original Message -----<br>
&gt; Hi there<br>
&gt; i have found this problem when executing an mpi program compiled with<br>
&gt; mpif90. my command of execution was<br>
&gt; &gt;mpiexec -n 2 ./matrixvector<br>
&gt;<br>
&gt; that matrixvector, is the executable file, i have found this error:<br>
&gt;<br>
&gt; forrtl: severe (174): SIGSEGV, segmentation fault occurred<br>
&gt; Image PC Routine Line<br>
&gt; Source<br>
&gt; matrixvector 00000000004046ED Unknown Unknown Unknown<br>
&gt; matrixvector 0000000000404477 Unknown Unknown Unknown<br>
&gt; matrixvector 00000000004040AC Unknown Unknown Unknown<br>
&gt; libc.so.6 00007F678EEBBD8E Unknown Unknown Unknown<br>
&gt; matrixvector 0000000000403FA9 Unknown Unknown Unknown<br>
&gt; [mpiexec@mohamed-XPS-L501X] ONE OF THE PROCESSES TERMINATED BADLY:<br>
&gt; CLEANING<br>
&gt; UP<br>
&gt; APPLICATION TERMINATED WITH THE EXIT STRING: Killed (signal 9)<br>
&gt;<br>
&gt; any suggestions?<br>
&gt; thanks in advance.<br>
&gt; Ali<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; mpich-discuss mailing list<br>
&gt; <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
&gt; <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</blockquote></div><br>