Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5115 Discussions

Aps doesn't work with speical application

oleotiger
Novice
1,695 Views

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 Kudos
1 Solution
Dmitry_P_Intel1
Employee
1,620 Views

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

 

View solution in original post

0 Kudos
6 Replies
RaeesaM_Intel
Moderator
1,663 Views

Hi,


Thank you for posting in Intel Analyzers Forum.

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


Regards,

Raeesa


0 Kudos
oleotiger
Novice
1,652 Views

'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 Kudos
Dmitry_P_Intel1
Employee
1,621 Views

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 Kudos
RaeesaM_Intel
Moderator
1,581 Views

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 Kudos
RaeesaM_Intel
Moderator
1,570 Views

Hi,


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


Raeesa


0 Kudos
RaeesaM_Intel
Moderator
1,561 Views

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 Kudos
Reply