Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5255 討論

Aps doesn't work with speical application

oleotiger
新手
2,362 檢視

I'm using oneapi 2021.1.1 on centos7.6.

I wanna profiling mpi application with aps but it works when I run wrf but fails when I run lammps.

So I tries to run the application locally.

When I run wrf independently without aps `./wrf`, there is normal output from wrf and it runs correctly. With aps `aps ./wrf`, there is normal output as well.

When I run lammps indenpendently without aps `./lmp -sf opt -in in.lj` , I can get normal output of lammps and it runs correctly.

When I run lammps indenpendently with aps `aps ./lmp -sf opt -in in.lj` , the output stucks at the start. I can only get:

--------------------------------------------------------------------------
WARNING: There is at least non-excluded one OpenFabrics device found,
but there are no active ports detected (or Open MPI was unable to use
them).  This is most certainly not what you wanted.  Check your
cables, subnet manager configuration, etc.  The openib BTL will be
ignored for this job.

  Local host: 6248r-node125
--------------------------------------------------------------------------
LAMMPS (5 Jun 2019)

There are vtune and aps processes:

root     40684 31718  0 15:36 pts/49   00:00:00 aps ./lmp -sf opt -in in.lj
root     40688 40684  0 15:36 pts/49   00:00:00 /opt/compiler/intel/oneapi/vtune/2021.1.1/bin64/vtune -q -collect mps -mrte-mode=native -data-limit=0 -finalization-mode=none -r /tmp/aps_temp_1804289392masterResult -- ./lmp
root     40715 40710  0 15:36 pts/49   00:00:00 ./lmp

But I cannot see any log from lammps. Normally it will run about 3~5s. But with aps It stucks at start  least 1min and I didn't wait for its ending and killed it.

 

 

0 積分
1 解決方案
Dmitry_P_Intel1
2,287 檢視

Hello,

The issue might be related to https://community.intel.com/t5/Analyzers/APS-tool-from-VTune-s-package-loses-application-arguments/m-p/1231211#M19654 . Please follow the recommendation to use a wrapper script to workaround the aps issue with the app parameters.

Thanks & Regards, Dmitry

 

在原始文章中檢視解決方案

6 回應
RaeesaM_Intel
主席
2,330 檢視

Hi,


Thank you for posting in Intel Analyzers Forum.

Could you please share a sample reproducer code and steps to reproduce?


Regards,

Raeesa


oleotiger
新手
2,319 檢視

'm running lammps  https://lammps.sandia.gov.

lammps (https://lammps.sandia.gov/tars/lammps-30Nov20.tar.gz) is compiled with FFTW https://github.com/FFTW/fftw3/archive/fftw-3.3.8.tar.gz  with gcc9.3.0

Workload is in.lj (https://lammps.sandia.gov/bench.html).

Normally, run it with `./lmp -sf opt -in in.lj`.

 

With aps it failed with no response `aps ./lmp -sf opt -in in.lj`

 

 

 

Dmitry_P_Intel1
2,288 檢視

Hello,

The issue might be related to https://community.intel.com/t5/Analyzers/APS-tool-from-VTune-s-package-loses-application-arguments/m-p/1231211#M19654 . Please follow the recommendation to use a wrapper script to workaround the aps issue with the app parameters.

Thanks & Regards, Dmitry

 

RaeesaM_Intel
主席
2,248 檢視

Hi ,


Is your issue resolved? Did you check it with the latest version Vtune 2021.2.0 as mentioned in https://community.intel.com/t5/Analyzers/APS-tool-from-VTune-s-package-loses-application-arguments/m-p/1231211#M19654 .

Please let us know the updates.


Regards,

Raeesa


RaeesaM_Intel
主席
2,237 檢視

Hi,


Can you give us an update on this ? Is your issue resolved ?


Raeesa


RaeesaM_Intel
主席
2,228 檢視

Hi,


Thank you for accepting the solution. If you need any additional information, please submit a new question as this thread will no longer be monitored.


Regards,

Raeesa


回覆