Skip to content

Commit 52e1d9c

Browse files
authored
figure out demangle.h location
1 parent 3113ecb commit 52e1d9c

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

install_tau.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,35 @@
55
- At tau source code, configure -prefix=/opt/tau/2.34 -c++=mpicxx -cc=mpicc -mpi -openmp; make install
66
- But this may yield UNRESOLVED UNKNOWN for function name at postprocessing of profiling results
77
- Will need bintuils with -bfd options
8-
- Install binutils with configure command of ./configure --prefix=/opt/bintuils/2.40 --enable=shared --enable-6t4-bit-bfd --enalbe-install-libiberty ...
9-
- Check configure script to check which version of binutils is supported
8+
- Install binutils with configure command of ./configure --prefix=/opt/bintuils/2.42 --enable=shared --enable-6t4-bit-bfd --enalbe-install-libiberty ...
9+
- Check configure script to check which version of binutils is supported
10+
- but apex/cmake/Modules/FindBFD.cmake downloads 2.42 (Feb 2025)
1011
- Details are at apex/cmake/Modules/FindBFD.cmake
1112
- make -j 20; make install
12-
- Make sure that libiberty.a is installed
13+
- Make sure that libiberty.a is installed
14+
- cd /opt/binutils/2.42/include; ln -s libiberty ./extra # include/libiberty is not searched from TAU for demangle.sh
1315
- Install libunwind: autoconf -i; configure --prefix=/opt/libunwind/1.6.2 ; make -j 10; make install
1416
- Install papi: cd src; configure --prefix=/opt/papi; make -j 10; make instal
1517
- Then configure tau as configure -prefix=/opt/tau/2.34 -bfd=/opt/bin/utils/2.40 -unwind=/opt/libunwind/1.6.2 -papi=/opt/papi/ -c++=mpicxx -cc=mpicc -mpi -openmp; make install
18+
- For environmental variables
19+
- TAU_VERBOSE=1
20+
- TAU_OPTIONS=-optCompInst
21+
- TAU_SAMPLING=1
22+
- TAU_CALLPATH=1
23+
- TAU_CALLPATH_DEPTH=100
24+
- TAU_METRICS=TIME,PAPI_L1_DCM
25+
- TAU_MAKEFILE=..../Makefile.tau-papi-mpi-openmp
1626

1727
## TAU + PDT
1828
- Install PDT first. MPI not required
1929
- At tau, configure -prefix=/opt/tau/2.34 -bfd=/opt/bin/utils/2.43 -unwind=/opt/libunwind/1.6.2 -papi=/opt/papi -pdt=/opt/pdt/ -c++=mpicxx -cc=mpicc -mpi -openmp; make install
30+
- support for C++ may not work well
2031
- PDT may be deprecated. See SALT coupling
2132

2233
## TAU with cmake
2334
- cmake may not work well due to instrument optimzation
2435
- Edit configure script with tau_cc.sh and tau_cxx.sh
2536
- export TAU_OPTIONS=-optDisable
26-
- configure
37+
- configure; # TAU will pass through, not disrupting the source code/cmake
2738
- export TAU_OPTIONS=-optCompInst
2839
- make -j 40

0 commit comments

Comments
 (0)