[mpich-discuss] Problem during running a parallel processing.
Jayesh Krishna
jayesh at mcs.anl.gov
Wed May 30 10:59:29 CDT 2012
Hi,
Did you try checking out (in debugger/printf) the value of numworkers? How do you run your code (It looks like you need to run the code with >=2 procs)?
Regards,
Jayesh
----- Original Message -----
From: "Sinta Kartika Maharani" <sintakm114080010 at gmail.com>
To: mpich-discuss at mcs.anl.gov
Sent: Saturday, May 26, 2012 8:59:02 PM
Subject: Re: [mpich-discuss] Problem during running a parallel processing.
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
_______________________________________________
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
More information about the mpich-discuss
mailing list