GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MPI_PCONTROL (3)

NAME

MPI_Pcontrol - Controls profiling.

CONTENTS

Syntax
C Syntax
Fortran Syntax
C++ Syntax
Input Parameter
Description
Notes

SYNTAX

C Syntax

#include <mpi.h>
int MPI_Pcontrol(const int level, ... )

Fortran Syntax

INCLUDE ’mpif.h’
MPI_PCONTROL(LEVEL)
        INTEGER LEVEL

C++ Syntax

#include <mpi.h>
void Pcontrol(const int level, ...)

INPUT PARAMETER

level Profiling level.

DESCRIPTION

MPI libraries themselves make no use of this routine; they simply return immediately to the user code. However the presence of calls to this routine allows a profiling package to be explicitly called by the user.

Since MPI has no control of the implementation of the profiling code, we are unable to specify precisely the semantics that will be provided by calls to MPI_Pcontrol. This vagueness extends to the number of arguments to the function, and their datatypes.

However to provide some level of portability of user codes to different profiling libraries, we request the following meanings for certain values of level:
o level==0        Profiling is disabled.
o level==1        Profiling is enabled at a normal default level of detail.
o level==2        Profile buffers are flushed. (This may be a no-op in some profilers).
o All other values of level have profile library-defined effects and additional arguments.

We also request that the default state after MPI_Init has been called is for profiling to be enabled at the normal default level (i.e., as if MPI_Pcontrol had just been called with the argument 1). This allows users to link with a profiling library and obtain profile output without having to modify their source code at all.

The provision of MPI_Pcontrol as a no-op in the standard MPI library allows users to modify their source code to obtain more detailed profiling information, but still be able to link exactly the same code against the standard MPI library.

NOTES

This routine provides a common interface for profiling control. The interpretation of level and any other arguments is left to the profiling library.

This function does not return an error value. Consequently, the result of calling it before MPI_Init or after MPI_Finalize is undefined.

Search for    or go to Top of page |  Section 3 |  Main Index


1.10.2 MPI_PCONTROL (3) Jan 21, 2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.