View topic | Edit | WYSIWYGAttachPrintable
r3 - 19 May 2008 - 09:14:02 - DavidAcremanYou are here: Astrophysics Wiki >  Zen Web  >  CodeDevelopment > CheckingMPI

Intel Trace Collector correctness checking using Intel MPI v3.1

The Intel Trace Collector (ITC) has the ability to perform correctness checking of MPI codes. This can be used to detect errors and resource leaks.

To use this capability compile your code with the -check option e.g.

mpif90 -check myprog.f90

The program is then run as normal but will produce MPI debugging information in the standard error file. Using this option can slow the execution of the program significantly so use with care.

See section 4 of the ITC Reference Guide for more information.

Differences between Intel MPI v3.1 and v3.0.043

The mpif90 and mpiifort scripts supplied with v3.1 of the Intel MPI library will detect the -check option and enable ITC correctness checking if this argument is present.

In v3.0.043 the mpif90 and mpiifort scripts do not detect the -check option. The flag is passed to the compiler and enables ifort run-time error checking.

The effect of supplying -check to mpif90 and mpiifort depends on which version of the Intel MPI libraries are loaded. (module load impi loads v3.1, module load intel-mpi loads v3.0.043)

If you are using v3.1 of the Intel MPI libraries then you can enable ITC correctness checking by using mpif90 -check or mpiifort -check, as described above. If you also want to enable ifort run-time error checking then set the F90FLAGS environment variable e.g.

setenv F90FLAGS "-check all"

Intel are aware of this issue and it should be addressed in a future release of the MPI libraries.

-- DavidAcreman - 15 May 2008

View topic | Edit |  | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions...

key Log In or Register
Information

Main Web Users Groups Index Search Changes Notifications Statistics Preferences


Webs Main Sandbox TWiki Zen Information

Main Web Users Groups Index Search Changes Notifications Statistics Preferences


Webs Main Sandbox TWiki Zen


 
Astrophysics Wiki


Edit Wysiwyg Attach Printable
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Astrophysics Wiki? Send feedback