diff --git a/mpiP-3.5.tar.gz b/mpiP-3.5.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..1038ff524a975c9c7b3ee340336ece220712771c Binary files /dev/null and b/mpiP-3.5.tar.gz differ diff --git a/mpiP.spec b/mpiP.spec new file mode 100644 index 0000000000000000000000000000000000000000..08f6e918e4b53f38f89dff41dde75b8f00a52fc0 --- /dev/null +++ b/mpiP.spec @@ -0,0 +1,48 @@ +Name: mpiP +Version: 3.5 +Release: 1%{?dist} +Summary: A profiling library for MPI applications + + +Group: Development/Tools +License: BSD-3-Clause +URL: https://github.com/LLNL/mpiP +Source0: mpiP-3.5.tar.gz + +BuildRequires: python3 libunwind-devel mpich-devel mpich f2c + +%description +mpiP is a profiling library for MPI applications. +It only collects statistical information about MPI functions, so mpiP +generates less overhead and much less data than tracing +tools. All the information captured by mpiP is task-local. It only +uses communication during report generation, typically at the end of +the experiment, to merge results from all of the tasks into one output +file. + +%prep +%setup -q + +%build +sed -i 's/set dummy python/set dummy python3/' configure +%ifarch aarch64 +export CFLAGS="$CFLAGS -I/usr/include/mpich-aarch64" +%endif +./configure --prefix=/opt +make PYTHON=python3 %{?_smp_mflags} + + +%install +make install DESTDIR=%{buildroot} + + +%files +%doc +/opt + + + + +%changelog +* Tue May 23 2023 liuxingxiang - 3.5-1 +- initial release