[mpich-discuss] error on loop usage?
Lu, Huiwei
huiweilu at mcs.anl.gov
Thu Dec 19 12:34:43 CST 2013
Some tips:
1. Try to run it in single process first, then run it with 2 processes, and 3 …
2. Use gdb to identify where the segmentation fault is (remember to compile it with ‘-g’).
$ gdb ./your_app
(gdb) r <your app’s parameters>
—
Huiwei
On Dec 19, 2013, at 11:19 AM, Antonio J. Peña <apenya at anl.gov> wrote:
> Hi,
>
> Your problem doesn't seem related to MPI. You should ask general programming questions in different forums, such as StackOverflow. In addition, a debugger (e.g. gdb) would help you to identify the problem.
>
> Best,
> Antonio
>
>
> On 12/19/2013 04:53 AM, Soheil Hooshdaran wrote:
>> Hello.
>> My program produces Segmentation fault on uncommenting the lines 99 and 100. I could find no error on those lines, so please help me.I will attach the program
>>
>>
>> _______________________________________________
>> discuss mailing list
>> discuss at mpich.org
>>
>> To manage subscription options or unsubscribe:
>>
>> https://lists.mpich.org/mailman/listinfo/discuss
>
>
> --
> Antonio J. Peña
> Postdoctoral Appointee
> Mathematics and Computer Science Division
> Argonne National Laboratory
> 9700 South Cass Avenue, Bldg. 240, Of. 3148
> Argonne, IL 60439-4847
>
> apenya at mcs.anl.gov
> www.mcs.anl.gov/~apenya
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
More information about the discuss
mailing list