필터 지우기
필터 지우기

how to save the mpiprofile report?

조회 수: 7 (최근 30일)
Nadia A
Nadia A 2016년 6월 27일
댓글: Nadia A 2017년 6월 8일
Hi
how do you save the report for parallel profiler? profsave does not give the complete details as a mpiprofile viewer. Is there any other way to save report?

채택된 답변

Yun Joon Soh
Yun Joon Soh 2017년 6월 8일
One way I figured to do something similar is the following.
I am assuming you are using "pmode" because as far as my understanding goes, you need to run on "pmode" to run mpiprofile.
So this is how it goes.
  • Saving
1. Save the mpiprofile info inside each worker(or it is often called lab from my understanding).
mpiprofile mpistruct;
2. Then you transfer to the client using the following command
pmode lab2client mpistruct;
3. Then save the mpistruct into a .mat file
save('mpistruct');
  • Loading
When you are trying to view the mpiprofile result:
1. Load the mpi file
load('mpistruct.mat');
2. Run mpiprofile viewer
mpiprofile('viewer', mpistruct);
This should pop up the browser.
Note. Above code was tested with 2015b.
  댓글 수: 1
Nadia A
Nadia A 2017년 6월 8일
Thank You for your answer.. Yes I had run it in Pmode.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Performance and Memory에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by