This table provides a reference to environment variables you can use for Arm® MAP and Arm® Performance Reports, with guidance on requirements and best practices for using them.
Variable | Description |
---|---|
ALLINEA_SAMPLER_INTERVAL |
Takes a sample in each 20ms period, which gives a default sampling rate of 50Hz. The 50Hz sampling rate automatically decreases as the run proceeds to ensure a constant number of samples are taken. For more information, see If your program runs for a very short period of time, you might benefit by decreasing the initial sampling interval. For example, Arm recommends that you avoid increasing the sampling frequency from the default if there are many threads or very deep stacks in the target program. Increasing the sampling frequency might not allow enough time to complete one sample before the next sample starts. Note Custom values for |
ALLINEA_SAMPLER_INTERVAL_PER_THREAD |
To keep overhead low, this imposes a minimum sampling interval based on the number of threads. By default, this is 2 milliseconds per thread. For 11 or more threads, the initial sampling interval increases to more than 20ms. To adjust the minimum per-thread sample time, set Arm recommends that you avoid lowering this value from the default if there are many threads. Lowering this value might not allow enough time to complete one sample before the next sample starts. Note
|
ALLINEA_MPI_WRAPPER |
To use a specific wrapper library, set To manually compile a wrapper specifically for your system, set Symlinks are generated for these files: ~/.allinea/wrapper/libmap-_sampler-_pmpi-_<_hostname>_.so.1
~/.allinea/wrapper/libmap-_sampler-_pmpi-_<_hostname>_.so.1.0
~/.allinea/wrapper/libmap-_sampler-_pmpi-_<_hostname>_.so.1.0.0
Note To prevent unauthorized users modifying sensitive files and directories, and introducing unsafe code into your environment, ensure that you assign only the minimum permissions that are required, and avoid group or world-writable permissions. |
ALLINEA_WRAPPER_COMPILE |
To instruct Arm® MAP and Arm® Performance Reports to fall back to create and compile a just-in-time wrapper, set To generate a just-in-time wrapper, an appropriate compiler must be available on the machine where Arm® Forge is running, or on the remote host when using remote connect. Arm® MAP and Arm® Performance Reports attempt to auto detect your MPI compiler. However, Arm recommends that you set the |
ALLINEA_MPIRUN |
The path of mpirun, mpiexec, or equivalent. If set, |
ALLINEA_SAMPLER_NUM_SAMPLES |
By default, Arm® MAP and Arm® Performance Reports collect 1000 samples per process. To avoid generating too much data on long runs, the sampling rate automatically decreases as the run progresses, to ensure that only 1000 evenly spaced samples are stored.
To adjust the sampling rate, set Note Arm recommends that you leave this value at the default setting. Higher values are not generally beneficial, and add extra memory overheads while running your code. Consider that with 512 processes, the default setting already collects half a million samples over the job, and the effective sampling rate can be very high indeed. |
ALLINEA_KEEP_OUTPUT_LINES |
Specifies the number of lines of program output to record in However, Arm recommends that you avoid setting To learn more, see Restrict output. |
ALLINEA_KEEP_OUTPUT_LINE_LENGTH |
The maximum line length for program output that is recorded in However, Arm recommends that you avoid doing setting To learn more, see Restrict output. |
ALLINEA_PRESERVE_WRAPPER |
To gather data from MPI calls, Arm® MAP generates a wrapper to the chosen MPI implementation. See Prepare a program for profiling. By default, the generated code and shared objects are deleted when Arm® MAP no longer needs them. To prevent Arm® MAP and Arm® Performance Reports from deleting these files, set Note If you use remote launch, this variable must be exported in the remote script. See Remote connections dialog. |
ALLINEA_SAMPLER_NO_TIME_MPI_CALLS |
Set this to prevent Arm® MAP and Arm® Performance Reports from timing the time spent in MPI calls. |
ALLINEA_SAMPLER_TRY_USE_SMAPS . |
To allow Arm® MAP and Arm® Performance Reports to use Note
|
MPICC |
To create the MPI wrapper and Arm® Performance Reports attempt to use If If the MPI compiler used to compile the target binary is not in |