diff --git a/LLVM-openmp-8.0.tar.gz b/LLVM-openmp-8.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..277a71fe0252366e9f4ba989298949c03aa0694c Binary files /dev/null and b/LLVM-openmp-8.0.tar.gz differ diff --git a/ext.tgz b/ext.tgz new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/ext.tgz00 b/ext.tgz00 new file mode 100644 index 0000000000000000000000000000000000000000..c0458c6b79fcab23310502e7161dff191fff45ee Binary files /dev/null and b/ext.tgz00 differ diff --git a/ext.tgz01 b/ext.tgz01 new file mode 100644 index 0000000000000000000000000000000000000000..29c113ae3a469070d10d324eeb63b5c184e8c596 Binary files /dev/null and b/ext.tgz01 differ diff --git a/tau-2.33.tar.gz b/tau-2.33.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..61661850f54a02874df1ff105836eed836a408f3 Binary files /dev/null and b/tau-2.33.tar.gz differ diff --git a/tau.spec b/tau.spec new file mode 100644 index 0000000000000000000000000000000000000000..7783d7edf05f8dd3eb23398a7ea2893c69f2ab04 --- /dev/null +++ b/tau.spec @@ -0,0 +1,86 @@ +%define debug_package %{nil} +%ifarch x86_64 +%global Arch %{_arch} +%endif +%ifarch aarch64 +%global Arch arm64_linux +%endif + +Name: tau +Version: 2.33 +Release: 1 +Summary: TAU Performance System® is a portable profiling and tracing toolkit for performance analysis of parallel programs written in Fortran, C, C++, UPC, Java, Python. +URL: https://www.cs.uoregon.edu/research/tau/home.php +License: TAU + +Source0: https://www.cs.uoregon.edu/research/tau/tau_releases/%{name}-%{version}.tar.gz +Source1: http://tau.uoregon.edu/LLVM-openmp-8.0.tar.gz +Source100: http://tau.uoregon.edu/ext.tgz +Source101: http://tau.uoregon.edu/ext.tgz00 +Source102: http://tau.uoregon.edu/ext.tgz01 + +BuildRequires: openmpi-devel java-devel cmake gcc-c++ perl + +ExclusiveArch: x86_64 aarch64 + +%description +TAU is a program and performance analysis tool framework being developed for the DOE Office of Science, ASC initiatives at LLNL, the ZeptoOS project at ANL, and the Los Alamos National Laboratory. TAU provides a suite of static and dynamic tools that provide graphical user interaction and interoperation to form an integrated analysis environment for parallel Fortran, C++, C, Java, and Python applications. In particular, a robust performance profiling facility available in TAU has been applied extensively in the ACTS toolkit. Also, recent advancements in TAU's code analysis capabilities have allowed new static tools to be developed, such as an automatic instrumentation tool. These two features of the TAU framework are described below. + +%package devel +Summary: Files for development of applications which will use %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +TAU is a program and performance analysis tool framework being developed for the DOE Office of Science, ASC initiatives at LLNL, the ZeptoOS project at ANL, and the Los Alamos National Laboratory. TAU provides a suite of static and dynamic tools that provide graphical user interaction and interoperation to form an integrated analysis environment for parallel Fortran, C++, C, Java, and Python applications. In particular, a robust performance profiling facility available in TAU has been applied extensively in the ACTS toolkit. Also, recent advancements in TAU's code analysis capabilities have allowed new static tools to be developed, such as an automatic instrumentation tool. These two features of the TAU framework are described below. + +%prep +cat %{SOURCE101} %{SOURCE102} > %{SOURCE100} +%autosetup -n %{name}-%{version} -p1 +%__cp -af %{SOURCE1} . +%__tar -xf %{SOURCE100} + +%build +./configure -c++=mpicxx -cc=mpicc -fortran=mpif90 -mpi -ompt +%make_build + +%install +%make_install + +install -d $RPM_BUILD_ROOT/opt/tau + +for item in $(find %{Arch}/bin/ -type f) %{Arch}/lib/Makefile.*; do + sed -i 's|/home/abuild/rpmbuild/BUILD/tau-2.33|/opt/tau|g' $item +done + +install -d $RPM_BUILD_ROOT/opt/tau/%{Arch} +%__cp -ar %{Arch}/bin $RPM_BUILD_ROOT/opt/tau/%{Arch} +%__cp -ar %{Arch}/lib $RPM_BUILD_ROOT/opt/tau/%{Arch} + +install -d $RPM_BUILD_ROOT/%{_includedir} +%__cp -ar %{Arch}/include/* $RPM_BUILD_ROOT%{_includedir} + +%files +%license COPYRIGHT LICENSE +%doc Changes INSTALL README +%dir /opt/tau/ +/opt/tau/%{Arch}/bin/tau* +/opt/tau/%{Arch}/bin/perf* +/opt/tau/%{Arch}/bin/{configure-1.4,jracy,jumpshot,opari,paraprof,phaseconvert,portal.py,pprof,ppscript,pycoolr,slog2print,trace2profile} +/opt/tau/%{Arch}/bin/pycoolrgui/pycoolr-plot/*.py +/opt/tau/%{Arch}/bin/pycoolrgui/pycoolr-plot/configs/*.cfg +/opt/tau/%{Arch}/bin/tcollect10.ini +%exclude /opt/tau/%{Arch}/bin/pycoolrgui/README +/opt/tau/%{Arch}/lib/* + +%files devel +%{_includedir}/* + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%changelog +* Fri Dec 29 2023 panchenbo - 2.33-1 +- project init diff --git a/tau.yaml b/tau.yaml new file mode 100644 index 0000000000000000000000000000000000000000..21b9a5b09328c2b0e75444f3751e17d18fcb3453 --- /dev/null +++ b/tau.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: UO-OACISS/tau2 +tag_prefix: +seperator: