Kilian -

You don't need TAU to generate OTF2 traces directly from APEX.  Here is what 
you need to generate them:

Get and build the OTF2 library (straightforward configure/make process):
https://www.vi-hps.org/projects/score-p/

Configure HPX with APEX enabled and OTF2 support enabled:
cmake <usual hpx options...> -DHPX_WITH_APEX=TRUE -DAPEX_WITH_OTF2=TRUE 
-DOTF2_ROOT=/path/to/otf2 ...

If you want to make sure you have the most recent APEX, you can also add:
-DHPX_WITH_APEX_NO_UPDATE=TRUE -DHPX_WITH_APEX_TAG=develop

...but I think the current HPX master uses APEX 2.1.2, which is up to date.


After building HPX and your application, set the following environment variable 
before executing:
APEX_OTF2=1

You should see an OTF_archive directory after the run, you can load the 
APEX.otf2 file in vampir.

Let me know if you run into any problems -
Kevin

> On Feb 26, 2019, at 5:16 AM, Hartmut Kaiser <[email protected]> wrote:
> 
> Kilian,
> 
> I am cc'ing Kevin Huck to make sure he sees this. He is Mr. APEX and will be
> able to give you all the information you need.
> 
> Regards Hartmut
> ---------------
> http://stellar.cct.lsu.edu
> https://github.com/STEllAR-GROUP/hpx
> 
> 
>> -----Original Message-----
>> From: [email protected] <hpx-users-
>> [email protected]> On Behalf Of Kilian Werner
>> Sent: Tuesday, February 26, 2019 3:03 AM
>> To: [email protected]
>> Subject: [hpx-users] HPX Profiling (TAU?)
>> 
>> Dear list!
>> 
>> I am trying to optimize my HPX project and was looking for a way to
>> observe per-thread traces of the execution (in a vampir trace like
>> fashion).
>> 
>> I am already successfully utilizing APEX Support, however to my
>> understanding this only yields total times/percentages.
>> 
>> I did find references to HPX supporting TAU through APEX, however the
>> HPX_WITH_TAU flag was removed in
>> https://github.com/STEllAR-GROUP/hpx/pull/2380
>> 
>> Was TAU support dropped or did the process of building hpx with tau
>> change? If so, how would I go about building it.
>> 
>> If it was dropped are there any other ways to trace HPX in a vampir trace
>> / gantt-chart like fashion?
>> 
>> Best regards,
>> 
>> Kilian Werner
>> _______________________________________________
>> hpx-users mailing list
>> [email protected]
>> https://mail.cct.lsu.edu/mailman/listinfo/hpx-users
> 
> 

--
Kevin Huck, PhD
Research Associate / Computer Scientist
OACISS - Oregon Advanced Computing Institute for Science and Society
University of Oregon
[email protected]
http://tau.uoregon.edu







_______________________________________________
hpx-users mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to