Karol -
Unfortunately, those instructions are out of date. There is no HPX/TAU
integration any more.
Instead, what you can do is use APEX to interface with TAU.
Remove these CMake options:
> -DHPX_WITH_TAU=TRUE \
> -DTAU_ROOT=$HOME/libs/tau-2.26 \
> -DTAU_ARCH=x86_64 \
> -DTAU_OPTIONS=-mpi-pthread \
And keep/use these CMake options:
> -DHPX_WITH_APEX=TRUE \
> -DAPEX_WITH_ACTIVEHARMONY=TRUE \
> -DAPEX_WITH_PAPI=FALSE \
> -DAPEX_WITH_MSR=FALSE \
> -DAPEX_WITH_OTF2=FALSE \
> -DACTIVEHARMONY_ROOT=$HOME/packages/harmony/ \
After configuring and building HPX, build TAU with:
git clone https://github.com/UO-OACISS/tau2.git
cd tau2
./configure -mpi -pthread -bfd=download
make install
Then add the TAU bin directory to your path (see the message at the end of the
"configure" step).
Then, to run the program, do:
export APEX_TAU=1
tau_exec -T mpi,pthread -ebs
APEX will measure the HPX tasks, passing them to TAU as timers. TAU will also
use event based sampling (-ebs) to periodically sample the program to build a
hybrid timer/sample profile. You can then load the profiles into the TAU
program "paraprof" to visualize the data.
If you have access to the Vampir trace analysis tool, you can also just use
APEX by itself to measure the program. In that case, you would need these HPX
configuration options:
-DAPEX_WITH_OTF2=TRUE \
-DACTIVEHARMONY_ROOT= \
...and you would set APEX_OTF2=1 before running the program to generate an OTF2
trace for Vampir. The OTF2 library can be found here:
https://www.vi-hps.org/projects/score-p/ OTF2 is easy to build with "configure
--prefix=/path" and "make && make install".
Let me know if you run into any problems.
Thanks -
Kevin
> On May 30, 2019, at 4:47 AM, Hartmut Kaiser wrote:
>
> Hey,
>
> I’m cc’ing Kevin Huck on this email. He will be able to help.
>
> Regards Hartmut
> ---
> http://stellar.cct.lsu.edu
> https://github.com/STEllAR-GROUP/hpx
>
> From: hpx-users-boun...@stellar.cct.lsu.edu
> On Behalf Of kniedzie
> Sent: Thursday, May 30, 2019 5:07 AM
> To: hpx-users@stellar.cct.lsu.edu
> Subject: [hpx-users] TAU support v1.3.0
>
> Hi all,
>
> I am trying to use HPX v1.3.0 with TAU. I am following instructions from
> https://khuck.github.io/xpress-apex/usage/#hpx-louisiana-state-university and
> I am trying to integrate it using command:
>
> cmake -DBOOST_ROOT=$HOME/libs/boost_1_62_0 \
> -DCMAKE_INSTALL_PREFIX=$HOME/libs/hpx_1.3.0_build_system_apex \
> -DCMAKE_BUILD_TYPE=RelWithDebInfo \
> -DHPX_WITH_MORE_THAN_64_THREADS=ON \
> -DHPX_WITH_MAX_CPU_COUNT=26400 \
> -DCMAKE_C_COMPILER=cc \
> -DCMAKE_CXX_COMPILER=CC \
> -DCMAKE_C_FLAGS="-latomic" \
> -DCMAKE_CXX_FLAGS="-latomic" \
> -DHPX_WITH_EXAMPLES=OFF \
> -DHPX_WITH_MALLOC=system \
> -DHPX_WITH_STATIC_LINKING=OFF \
> -DHPX_WITH_STATIC_EXE_LINKING=OFF \
> -DHPX_WITH_PARCELPORT_MPI=ON \
> -DMPI_C_COMPILER=cc \
> -DMPI_CXX_COMPILER=CC \
> -DHPX_WITH_APEX=TRUE \
> -DHPX_WITH_TAU=TRUE \
> -DAPEX_WITH_ACTIVEHARMONY=TRUE \
> -DAPEX_WITH_PAPI=FALSE \
> -DAPEX_WITH_MSR=FALSE \
> -DAPEX_WITH_OTF2=FALSE \
> -DACTIVEHARMONY_ROOT=$HOME/packages/harmony/ \
> -DTAU_ROOT=$HOME/libs/tau-2.26 \
> -DTAU_ARCH=x86_64 \
> -DTAU_OPTIONS=-mpi-pthread \
> $HOME/packages/hpx
>
> I receive:
>
> CMake Warning:
> Manually-specified variables were not used by the project:
>
> HPX_WITH_STATIC_EXE_LINKING
> TAU_ARCH
> TAU_OPTIONS
> TAU_ROOT
> HPX_WITH_TAU
>
>
>
> I checked CMakeLists.txt and there are not variables for TAU support.
>
> So my questions are:
>
> Does hpx still support tau?
>
> If yes, how can I integrate it?
>
> If no, are there any alternatives?
>
> Best,
>
> Karol Niedzielewski
>
> Interdyscyplinarne Centrum Modelowania Matematycznego i Komputerowego (ICM),
> Uniwersytet Warszawski // Interdisciplinary Centre for Mathematical and
> Computational Modelling (ICM), University of Warsaw
>
> ul. Kupiecka 32, 03-046 Warsaw, Poland
> www.icm.edu.pl
--
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