<div dir="ltr">It is very likely a bug in your code. Without a toy program to reproduce your error, it is hard for us to help.<div>Also, could you use newer MPICH releases like MPICH 3.1.1?</div></div><div class="gmail_extra">
<br clear="all"><div><div dir="ltr">--Junchao Zhang</div></div>
<br><br><div class="gmail_quote">On Wed, Jul 2, 2014 at 3:02 PM, mark <span dir="ltr"><<a href="mailto:dimitsas.markos@gmail.com" target="_blank">dimitsas.markos@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hello.<br>
In a program i am writing, i have an array which size is equal to
the number of nodes in my cluster. <br>
I made this array to keep an eye of the objects that each node has
in his control and when i use it with the actual ranks of the nodes
as positions ( <b>array[node_rank]=objects;</b>) it returns me an
error and stops the execution:<br>
<br>
<b>rank 0 in job 10 Calliope_49755 caused collective abort of all
ranks</b><b><br>
</b><b> exit status of rank 0: killed by signal 11 </b><br>
<br>
However, i had freely used the variable <i>id</i> or <i>node_rank</i>
to point out a specific action for a specific node since now and
never had problems.<br>
<br>
If instead of using the ranks node as a pointer for the array, i use
an integer i.e. 5, the program runs fine, but even now, 1 out of 7
executions, it returns me an error and stops. The action i am
calling that keeps returning me the error is a simple abstraction (<b>array[id]--;</b>).<br>
<br>
Any ideas?<br>
<br>
<br>
PS. The array is 1d and is created by allocating memory, like this :
<b>int *array = malloc(processes * sizeof(int));</b><br>
</div>
<br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br></div>