<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
I now tried the cpi example from the mpich2 sources and I also got a
segmentation fault. I used the following configuration:<br>
<br>
CFLAGS="-static" CC=arm-linux-gcc ./../configure
--prefix=/mnt/ti_am1707_root/usr/mpich2-install --with-pm=hydra
--disable-f77 --disable-fc --disable-cxx --enable-g=dbg,mem,log
--with-device=ch3:sock --host=arm-linux<br>
<br>
How is it possible to trace the execution of the program?!<br>
<br>
<br>
<br>
On 10.11.2011 16:33, Harald Schuster wrote:
<blockquote cite="mid:4EBBEEBA.1080702@technikum-wien.at"
type="cite">I added the config.log to this mail but i changed the
pm from hydra to gforker only for testing and know the helloWorld
example runs but when I tried a example with a broadcast the
programm stops without any error but it not finishes. The gforker
and hydra uses sockets or?
<br>
<br>
On 10.11.2011 16:12, Jeff Hammond wrote:
<br>
<blockquote type="cite">I think it will help if you post
config.log.
<br>
<br>
Can you run the test that fails within GDB or Valgrind? I do
not
<br>
think that mpirun itself is segfaulting, but rather that it
activates
<br>
the code path that does. Maybe this much was clear to you
already.
<br>
<br>
Jeff
<br>
<br>
On Thu, Nov 10, 2011 at 3:33 AM, Harald Schuster
<br>
<a class="moz-txt-link-rfc2396E" href="mailto:schuster@technikum-wien.at"><schuster@technikum-wien.at></a> wrote:
<br>
<blockquote type="cite">Hi
<br>
<br>
I use MPICH2 on my normal Linux PC and it works fine. My next
goal is to run
<br>
MPICH2 on a arm926 (am1707) which is simulated in SimSoc and
where a normal
<br>
linux OS is running. The linux is compiled with the buildroot
2010.05 and I
<br>
use the arm-linux-gcc 4.3.4. I tried to make the the mpich2
with the
<br>
arm-linux-gcc and it works. I used the following
configuration:
<br>
<br>
CFLAGS="-static" CC=arm-linux-gcc ./../configure
<br>
--prefix=/mnt/ti_am1707_root/usr/mpich2-install
--with-pm=hydra
<br>
--disable-f77 --disable-fc --disable-cxx --disable-sharedlibs
<br>
--host=arm-linux --with-device=ch3:sock
<br>
<br>
Also the make install process works fine. Then I compiled a
small helloWorld
<br>
example with the mpicc for arm and it also works. When I run
the helloWorld
<br>
example on the simulated processor I always got an
segmentation fault. For
<br>
starting the program I use the following command:
<br>
<br>
mpirun -np 1 helloWorld
<br>
<br>
When I start the helloWorld program without the mpirun command
I got the
<br>
right output. So I think the segmentation fault is caused by
the mpirun
<br>
command but I don't know where and what I can do to solve the
problem.
<br>
<br>
Best regards
<br>
Harald
<br>
_______________________________________________
<br>
mpich-discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a>
<br>
To manage subscription options or unsubscribe:
<br>
<a class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mpich-discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a>
To manage subscription options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>