In order to collect and write the OTF2 trace, please set the environment variable APEX_OTF2=1. For example:
export APEX_OTF2=1 ./apex_fibonacci or APEX_OTF2=1 ./apex_fibonacci Thanks - Kevin > On Dec 10, 2019, at 4:33 AM, Hartmut Kaiser <hartmut.kai...@gmail.com> wrote: > > Just cc'ing Kevin to make sure this gets the necessary attention... > > Regards Hartmut > --------------- > http://stellar.cct.lsu.edu > https://github.com/STEllAR-GROUP/hpx > > >> -----Original Message----- >> From: hpx-users-boun...@stellar.cct.lsu.edu <hpx-users- >> boun...@stellar.cct.lsu.edu> On Behalf Of Jong, K. de (Kor) >> Sent: Tuesday, December 10, 2019 4:23 AM >> To: hpx-users@stellar.cct.lsu.edu >> Subject: Re: [hpx-users] HPX 1.4.0 release candidate 2 >> >> On 12/6/19 5:28 PM, Simberg Mikael wrote: >>> APEX integration has also >>> been updated and can be enabled with -DHPX_WITH_APEX=ON and >>> -DHPX_WITH_APEX_TAG=develop. The latter option will be unnecessary for >>> the final release. >> >> I am interested in generating traces in OTF2 format to load into Vampir. >> For that I am testing 1.4.0-rc2 with support for APEX and OTF2. >> >> Building HPX with support for APEX works fine, great! I have also built >> OTF2 (version 2.2) and passed in the APEX_WITH_OTF2 flag. I noticed that >> otf2_listener.cpp.o was being built. I have no reason to believe the >> resulting HPX does not have support for APEX+OTF2. Also: >> >> ./fibonacci --hpx:info | grep APEX >> HPX_WITH_APEX=ON >> HPX_WITH_APEX_NO_UPDATE=OFF >> >> When I try this, no trace is printed, though: >> >> APEX_SCREEN_OUTPUT=1 ./fibonacci >> >> When I try this, a trace is printed: >> >> APEX_SCREEN_OUTPUT=1 ./apex_fibonacci >> >> I expected the first command to also print a trace. Is automatic >> instrumentation of HPX with APEX maybe not working yet in 1.4.0-rc2? >> >> Kor >> _______________________________________________ >> hpx-users mailing list >> hpx-users@stellar.cct.lsu.edu >> 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 kh...@cs.uoregon.edu http://tau.uoregon.edu _______________________________________________ hpx-users mailing list hpx-users@stellar.cct.lsu.edu https://mail.cct.lsu.edu/mailman/listinfo/hpx-users