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 <[email protected]> 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 [email protected]
To manage subscription options or unsubscribe:
-- 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
[email protected] www.mcs.anl.gov/~apenya _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss