mkcolg
Joined: 30 Jun 2004 Posts: 5001 Location: The Portland Group Inc.
|
Posted: Thu May 25, 2006 10:50 am Post subject: |
|
|
Hi Amjad Majid Ali,
Your getting a floating point exceptions error, such as a divide by zero execption, somewhere in your code. Assuming you have the PGI CDK prodict, the first thing to do is run your program using the PGDBG debugger. To launch the debugger using MPI, add the flag "-dbg=pgdbg" to your mpirun command. PGDBG will be able to trap this error and give you a better idea as to the problem. You should also compile your code with "-g" if you wish to view the source code instead of just the disassembly.
You can also compile your code with "-Ktrap=fp" to trap the FPE. The application will abort when a FPE is encountered and print a message indicating the exact exception raised as well as the line number of the program. It won't tell your the exacpt problem, but should give your and idea.
Hope this helps,
Mat |
|