1 # TODO: CUDA, MPI, Load Leveler(?)
2 # - find gaspi_logger sources and compile it
5 %bcond_without f90 # Fortran bindings
7 Summary: GPI-2 - API for asynchronous communication
8 Summary(pl.UTF-8): GPI-2 - API do komunikacji asynchronicznej
14 Source0: https://www.openfabrics.org/downloads/gpi2/%{name}-%{version}.tar.gz
15 # Source0-md5: 83598c7cfacf5b47892af667729a111b
16 Patch0: %{name}-nosse.patch
17 Patch1: %{name}-format.patch
18 URL: http://www.gpi-site.com/gpi2/
19 BuildRequires: doxygen
20 %{?with_f90:BuildRequires: gcc-fortran >= 5:4.0}
21 BuildRequires: libibverbs-devel >= 1.1.6
22 Requires: libibverbs >= 1.1.6
23 # FIXME: gaspi_logger sources are missing
24 ExclusiveArch: %{ix86} %{x8664}
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 GPI-2 is the second generation of GPI (http://www.gpi-site.com/). GPI-2
29 implements the GASPI specification (http://www.gaspi.de/), an API
30 specification which originates from the ideas and concepts of GPI.
32 GPI-2 is an API for asynchronous communication. It provides a
33 flexible, scalable and fault tolerant interface for parallel
36 %description -l pl.UTF-8
37 GPI-2 to druga generacja GPI (http://www.gpi-site.com/). GPI-2
38 jest implementacją specyfikacji GASPI (http://www.gaspi.de/) - API
39 wywodzącego się z idei GPI.
41 GPI-2 to API do komunikacji asynchronicznej. Zapewnia elastyczny,
42 skalowalny i odporny na awarie interfejs do aplikacji równoległych.
49 # precompiled binaries
50 # FIXME: sources are missing
51 #%{__rm} bin/gaspi_logger
55 %{__make} -C src depend
58 CFLAGS="%{rpmcflags} -Wall -D_GNU_SOURCE"
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}}
73 install bin/gaspi_run.ssh $RPM_BUILD_ROOT%{_bindir}/gaspi_run
74 install bin/ssh.spawner bin/gaspi_cleanup bin/gaspi_logger $RPM_BUILD_ROOT%{_bindir}
75 cp -pr include $RPM_BUILD_ROOT%{_includedir}
76 cp -p lib64/lib* $RPM_BUILD_ROOT%{_libdir}
79 rm -rf $RPM_BUILD_ROOT
82 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_bindir}/gaspi_cleanup
85 %attr(755,root,root) %{_bindir}/gaspi_logger
86 %attr(755,root,root) %{_bindir}/gaspi_run
87 %attr(755,root,root) %{_bindir}/ssh.spawner
89 %{_libdir}/libGPI2-dbg.a
90 %{_includedir}/GASPI.h
91 %{_includedir}/GASPI_GPU.h
92 %{_includedir}/GASPI_Threads.h
93 %{_includedir}/PGASPI.h
94 %{_includedir}/gaspi.mod
95 %{_includedir}/gaspi_types.mod