Environmental Variables


Up: Using MPE Next: Utility Programs Previous: Example Makefile

There are 2 environmental variables, TMPDIR and MPE_LOG_FORMAT, that user may need to set before the generation of logfiles :

MPE_LOG_FORMAT
: determines the format of the logfile generated from the execution of application linked with MPE logging libraries. The allowed value for MPE_LOG_FORMAT are CLOG, SLOG and ALOG. When MPE_LOG_FORMAT is NOT set, CLOG is assumed.

TMPDIR
: specifies a directory to be used as temporary storage for each process. By default, when TMPDIR is NOT set, /tmp will be used. When user needs to generate a very large logfile for long-running MPI job, user needs to make sure that TMPDIR is big enough to hold the temporary logfile which will be deleted if the merged logfile can be created successfully. In order to minimize the overhead of the logging to the MPI program, it is highly recommended user to use a *local* file system for TMPDIR.

Note : The final merged logfile will be written back to the file system where process 0 is.




Up: Using MPE Next: Utility Programs Previous: Example Makefile