Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5254 讨论

Aps doesn't work with speical application

oleotiger
新手
2,354 次查看

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,279 次查看

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

 

在原帖中查看解决方案

0 项奖励
6 回复数
RaeesaM_Intel
主持人
2,322 次查看

Hi,


Thank you for posting in Intel Analyzers Forum.

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


Regards,

Raeesa


0 项奖励
oleotiger
新手
2,311 次查看

'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`

 

 

 

0 项奖励
Dmitry_P_Intel1
2,280 次查看

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

 

0 项奖励
RaeesaM_Intel
主持人
2,240 次查看

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


0 项奖励
RaeesaM_Intel
主持人
2,229 次查看

Hi,


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


Raeesa


0 项奖励
RaeesaM_Intel
主持人
2,220 次查看

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


0 项奖励
回复