I want to profile the MPI application using AMD uProf on AMD EPYC 7452 server.
This is an example when running the stream benchmark (MPI version, C language).
mpirun -np 8 /opt/AMDuProf_Linux_x64_3.3.462/bin/AMDuProfCLI collect --config tbp --mpi --output-dir ~/stream/stream_mpi/tmp ./stream_flatmpi_c.exe
However, as shown below, the profile starts after finishing the program.
/opt/AMDuProf_Linux_x64_3.3.462/bin/AMDuProfCLI
/opt/AMDuProf_Linux_x64_3.3.462/bin/AMDuProfCLI
/opt/AMDuProf_Linux_x64_3.3.462/bin/AMDuProfCLI
/opt/AMDuProf_Linux_x64_3.3.462/bin/AMDuProfCLI
/opt/AMDuProf_Linux_x64_3.3.462/bin/AMDuProfCLI
/opt/AMDuProf_Linux_x64_3.3.462/bin/AMDuProfCLI
/opt/AMDuProf_Linux_x64_3.3.462/bin/AMDuProfCLI
/opt/AMDuProf_Linux_x64_3.3.462/bin/AMDuProfCLI
"Program excution result"
Profile started ...
Profile completed ...
Generated raw file : /../../../AMDuProf-epyc-Sep-15-2020_16-31-31-145050.caperf
Profile started ...
Profile completed ...
Generated raw file : /../../../AMDuProf-epyc-Sep-15-2020_16-31-31-145051.caperf
...
Do you have any solutions?