NCSA Home
Contact Us | Intranet | Search

Parallel Environment debug options

The Parallel Environment provides some debug options that can be set as environment variables or flags. A couple of useful debug environment settings and an example are shown.

      MP_EUIDEVELOP
                Determines whether PE MPI performs less, normal, or more
               detailed checking during execution. The additional
               checking is intended for developing applications, and can
               significantly slow performance. Valid values are yes or
               no, deb (for "debug"), nor (for "normal"), and min (for
               "minimum"). The min value shuts off parameter checking
               for all send and receive operations, and may improve
               performance, but should be used only with applications
               that are very well-validated. If not set, the default is
               no. The value of this environment variable can be
               overridden using the -euidevelop flag.

      MP_LABELIO
                Determines whether or not output from the parallel tasks
               are labeled by task id. Valid values are yes or no. If
               not set, the default is no. The value of this environment
               variable can be overridden using the -labelio flag.

      Example:

      cu12:~/mpi101% setenv MP_LABELIO yes
      cu12:~/mpi102% setenv MP_EUIDEVELOP deb
      cu12:~/mpi103% poe hello_world -procs 4
         0:Hello world! I'm 0 of 4 on cu12
         1:Hello world! I'm 1 of 4 on cu12
         2:Hello world! I'm 2 of 4 on cu12
         3:Hello world! I'm 3 of 4 on cu12
      cu12:~/mpi104%