Analyzing MPI Workloads
- Only homogenous clusters are supported.
- Analysis data can be saved to a shared partition, or to local directories on the cluster.
- Only one processes' data can be viewed at a time.
- Intel® Advisorsaves collection results into a subdirectory under theIntel Advisorproject directory. If you wish to collect and then view (in a separate session) data for more than one process, specify a new project directory when running new collection.
- Specify one and the same project directory when running variousIntel Advisorcollections for the selected process.
MPI Implementations Support
- You may need to adjust the command examples in this section to work for non-Intel MPI implementations. For example, adjust commands provided for process ranks to limit the number of processes in the job.
- An MPI implementation needs to operate in cases when there is theIntel Advisorprocess (advixe-cl) between the launcher process (mpiexec) and the application process. This means that the communication information should be passed using environment variables, as most MPI implementations do.Intel Advisordoes not work on an MPI implementation that tries to pass communication information from its immediate parent process.
Intel® MPI Command Syntax
- InIntel Advisoruser interface go toProject Properties>Analysis Targettab >Survey Analysis Types>Survey Hotspots Analysis.
- Select theUse MPI Launchercheckbox.
- Specify the MPI run parameters, then copy the command line fromGet command linetext box to your clipboard.
- <analysis_type>is one of theIntel Advisortools:
- surveyruns the target process and collects basic information about the hotspots.
- tripcountscollects data on the loop trip counts.
- dependenciescollects information possible dependencies in your application, requires
- Either loop ID as an additional parameter (-mark-up-list=<loop_ID). Find the loop ID in the Survey report (--report survey) or using theCommand Linelink in theIntel® AdvisorGUIWorkflow tab(right under the button).
- Or annotations in the source code.
- mapcollects information about memory access patterns for the selected loops. Also requires loop IDs for the analysis.
- suitabilitychecks suitability of the parallel site that you want to insert into your target application. Requires annotations to be added into the source code of your application, and also requires recompilation in Debug mode.
- <ranks_set> is the set of MPI ranks to run the analysis for. Separate ranks with a comma, or use a dash "-" to set a range of ranks. Useallto analyze all the ranks.
Generic MPI Command Syntax
- <N>is the number of MPI processes to launch
- <project_PATH>specifies the path/name of the project directory
- <sources_PATH>is the path to the directory where annotated sources are stored