[mpich-discuss] Problem during running a parallel processing.

Sinta Kartika Maharani sintakm114080010 at gmail.com
Sat May 26 20:59:02 CDT 2012


I'm using the debugger in visual c++. The error was "Unhandled
exception at 0x00f0157e in lastproject.exe: 0x0000094 : integer
division by zero" the code is attached.
The error is in "averow = NRA/numworkers;" whereas I declare the
number of processor when running it with mpiexec.

2012/5/26 Jeff Hammond <jhammond at alcf.anl.gov>:
> You need to include the code if you want helpful responses.  An
> infinite loop of "do you call X?" for all X is not a viable support
> solution.
>
> Have you run your code through valgrind and gdb to ensure it is not a
> simple bug unrelated to MPI?  Does the program run without error in
> serial?
>
> Jeff
>
> On Fri, May 25, 2012 at 12:06 PM, Sinta Kartika Maharani
> <sintakm114080010 at gmail.com> wrote:
>> Yes I do. Do I need to include the codes?
>> :)
>>
>> 2012/5/25 Ju JiaJia <jujj603 at gmail.com>:
>>> Did you call MPI_Finalize ?
>>>
>>> On Fri, May 25, 2012 at 10:00 AM, Sinta Kartika Maharani
>>> <sintakm114080010 at gmail.com> wrote:
>>>>
>>>> I have some codes, matrix multiplication in MPI. When i run it, appear an
>>>> error,
>>>>
>>>> job aborted
>>>> rank: node : exit code[: error message]
>>>> 0: sinta-PC: -1073741676: process 0 exited without calling finalize
>>>>
>>>> why was appear the error?
>>>> _______________________________________________
>>>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>>>> To manage subscription options or unsubscribe:
>>>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>>
>>>
>>>
>>> _______________________________________________
>>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>>> To manage subscription options or unsubscribe:
>>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>>
>> _______________________________________________
>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>> To manage subscription options or unsubscribe:
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
>
>
> --
> Jeff Hammond
> Argonne Leadership Computing Facility
> University of Chicago Computation Institute
> jhammond at alcf.anl.gov / (630) 252-5381
> http://www.linkedin.com/in/jeffhammond
> https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: matrixmul.c
Type: text/x-csrc
Size: 4628 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120527/739ef7d6/attachment-0001.c>


More information about the mpich-discuss mailing list