r43978 - in /packages/mrmpi: ./ trunk/ trunk/debian/ trunk/debian/patches/

malat-guest at users.alioth.debian.org malat-guest at users.alioth.debian.org
Wed Oct 26 18:32:41 UTC 2011


Author: malat-guest
Date: Wed Oct 26 18:32:41 2011
New Revision: 43978

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=43978
Log:
start working on MapReduce-MPI, shipped within VTK

Added:
    packages/mrmpi/
    packages/mrmpi/trunk/
    packages/mrmpi/trunk/debian/
    packages/mrmpi/trunk/debian/README.Debian
    packages/mrmpi/trunk/debian/changelog
    packages/mrmpi/trunk/debian/compat
    packages/mrmpi/trunk/debian/control
    packages/mrmpi/trunk/debian/copyright
    packages/mrmpi/trunk/debian/patches/
    packages/mrmpi/trunk/debian/patches/addcmake.patch
    packages/mrmpi/trunk/debian/patches/series
    packages/mrmpi/trunk/debian/rules   (with props)

Added: packages/mrmpi/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/mrmpi/trunk/debian/README.Debian?rev=43978&op=file
==============================================================================
--- packages/mrmpi/trunk/debian/README.Debian (added)
+++ packages/mrmpi/trunk/debian/README.Debian Wed Oct 26 18:32:41 2011
@@ -1,0 +1,6 @@
+		CableSwig for Debian
+		--------------------
+
+The upstream Cableswig source code includes a copy of gccxml sources
+(a modified version of gcc's front end).  The Debian build, however,
+does not use it, but instead uses gccxml from the gccxml package.

Added: packages/mrmpi/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/mrmpi/trunk/debian/changelog?rev=43978&op=file
==============================================================================
--- packages/mrmpi/trunk/debian/changelog (added)
+++ packages/mrmpi/trunk/debian/changelog Wed Oct 26 18:32:41 2011
@@ -1,0 +1,5 @@
+mrmpi (0.1.0-1) UNRELEASED; urgency=low
+
+  * Initial Debian Upload (Closes: #)
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 26 Oct 2011 19:44:12 +0200

Added: packages/mrmpi/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/mrmpi/trunk/debian/compat?rev=43978&op=file
==============================================================================
--- packages/mrmpi/trunk/debian/compat (added)
+++ packages/mrmpi/trunk/debian/compat Wed Oct 26 18:32:41 2011
@@ -1,0 +1,1 @@
+8

Added: packages/mrmpi/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/mrmpi/trunk/debian/control?rev=43978&op=file
==============================================================================
--- packages/mrmpi/trunk/debian/control (added)
+++ packages/mrmpi/trunk/debian/control Wed Oct 26 18:32:41 2011
@@ -1,0 +1,49 @@
+Source: mrmpi
+Section: devel
+Priority: optional
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Mathieu Malaterre <mathieu.malaterre at gmail.com>,
+Build-Depends: debhelper (>= 8), cmake (>= 2.6.3), mpi-default-dev
+Standards-Version: 3.9.2
+Homepage: http://www.cs.sandia.gov/~sjplimp/mapreduce.html
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/mrmpi/trunk/
+Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/mrmpi/trunk/
+
+Package: libmrmpi-dev
+Section: libdevel
+Architecture: any
+Depends: libmrmpi1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: Implements MapReduce operation on top of standard MPI message
+ The MapReduce-MPI (MR-MPI) library is open-source software that implements the
+ MapReduce operation popularized by Google on top of standard MPI message
+ passing.
+ .
+ The MR-MPI library is written in C++ and is callable from hi-level langauges
+ such as C++, C, Fortran. A Python wrapper is also included, so MapReduce
+ programs can be written in Python, including map() and reduce() user callback
+ methods. A hi-level scripting interface to the MR-MPI library, called OINK, is
+ also included which can be used to develop and chain MapReduce algorithms
+ together in scripts with commands that simplify data management tasks. OINK has
+ its own manual and doc pages.
+ .
+ This package contains development files needed to build MapReduce-MPI applications.
+
+Package: libmrmpi1
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Implements MapReduce operation on top of standard MPI message
+ The MapReduce-MPI (MR-MPI) library is open-source software that implements the
+ MapReduce operation popularized by Google on top of standard MPI message
+ passing.
+ .
+ The MR-MPI library is written in C++ and is callable from hi-level langauges
+ such as C++, C, Fortran. A Python wrapper is also included, so MapReduce
+ programs can be written in Python, including map() and reduce() user callback
+ methods. A hi-level scripting interface to the MR-MPI library, called OINK, is
+ also included which can be used to develop and chain MapReduce algorithms
+ together in scripts with commands that simplify data management tasks. OINK has
+ its own manual and doc pages.
+ .
+ This package contains the libraries needed to run MapReduce-MPI applications.
+

Added: packages/mrmpi/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/mrmpi/trunk/debian/copyright?rev=43978&op=file
==============================================================================
--- packages/mrmpi/trunk/debian/copyright (added)
+++ packages/mrmpi/trunk/debian/copyright Wed Oct 26 18:32:41 2011
@@ -1,0 +1,35 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Upstream-Name: MapReduce-MPI
+Maintainer: Mathieu Malaterre
+Source: http://www.cs.sandia.gov/~sjplimp/mapreduce.html
+
+Files: *
+Copyright: © 2009 Sandia Corporation.  Under the terms of Contract
+ DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
+ certain rights in this software.
+License: BSD
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ 
+ * Redistributions of source code must retain the above copyright notice,
+   this list of conditions and the following disclaimer.
+ 
+ * Redistributions in binary form must reproduce the above copyright notice,
+   this list of conditions and the following disclaimer in the documentation
+   and/or other materials provided with the distribution.
+ 
+ * Neither the name of Sandia Corporation nor the names of contributors
+   to this software may be used to endorse or promote products derived
+   from this software without specific prior written permission.
+ 
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ 

Added: packages/mrmpi/trunk/debian/patches/addcmake.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/mrmpi/trunk/debian/patches/addcmake.patch?rev=43978&op=file
==============================================================================
--- packages/mrmpi/trunk/debian/patches/addcmake.patch (added)
+++ packages/mrmpi/trunk/debian/patches/addcmake.patch Wed Oct 26 18:32:41 2011
@@ -1,0 +1,113 @@
+This is a shameless copy of the original VTK packaging
+MapReduce-MPI is shipped as convenient copy within VTK
+
+Index: mrmpi-20Jun11/CMakeLists.txt
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ mrmpi-20Jun11/CMakeLists.txt	2011-10-26 19:50:05.000000000 +0200
+@@ -0,0 +1,21 @@
++PROJECT (MAPREDUCE)
++
++IF (VTK_USE_MPI)
++  INCLUDE_DIRECTORIES(${MPI_INCLUDE_PATH})
++  ADD_DEFINITIONS("-DMPICH_IGNORE_CXX_SEEK")
++  IF (MPI_LIBRARY)
++    SET (mrmpi_LIBS "${MPI_LIBRARY}")
++  ELSE (MPI_LIBRARY)
++    MESSAGE("Could not find the required MPI libraries")
++  ENDIF (MPI_LIBRARY)
++  IF (MPI_EXTRA_LIBRARY)   
++    SET(mrmpi_LIBS ${mrmpi_LIBS} "${MPI_EXTRA_LIBRARY}")   
++  ENDIF (MPI_EXTRA_LIBRARY) 
++ELSE (VTK_USE_MPI)
++  SET (mrmpi_LIBS mpistubs)
++  INCLUDE_DIRECTORIES(mrmpi ${VTK_SOURCE_DIR}/Utilities/mrmpi/mpistubs)
++  ADD_SUBDIRECTORY (mpistubs)
++ENDIF (VTK_USE_MPI)
++
++ADD_SUBDIRECTORY (src)
++#ADD_SUBDIRECTORY (examples)
+Index: mrmpi-20Jun11/examples/CMakeLists.txt
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ mrmpi-20Jun11/examples/CMakeLists.txt	2011-10-26 19:49:48.000000000 +0200
+@@ -0,0 +1,10 @@
++SET (example_LIBS mrmpi)
++
++SET (wordfreq_SOURCES wordfreq.cpp)
++ADD_EXECUTABLE (wordfreq ${wordfreq_SOURCES})
++TARGET_LINK_LIBRARIES (wordfreq ${example_LIBS})
++
++SET (rmat_SOURCES rmat.cpp)
++ADD_EXECUTABLE (rmat ${rmat_SOURCES})
++INCLUDE_DIRECTORIES(rmat ${VTK_SOURCE_DIR}/Utilities/mrmpi/src)
++TARGET_LINK_LIBRARIES (rmat ${example_LIBS})
+Index: mrmpi-20Jun11/mpistubs/CMakeLists.txt
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ mrmpi-20Jun11/mpistubs/CMakeLists.txt	2011-10-26 20:16:26.000000000 +0200
+@@ -0,0 +1,22 @@
++SET (mpistubs_SOURCES mpi.cpp)
++
++ADD_LIBRARY (mpistubs ${mpistubs_SOURCES})
++TARGET_LINK_LIBRARIES (mpistubs vtksys)
++IF(VTK_LIBRARY_PROPERTIES)
++  SET_TARGET_PROPERTIES(mpistubs PROPERTIES ${VTK_LIBRARY_PROPERTIES})
++ENDIF(VTK_LIBRARY_PROPERTIES)
++
++IF(NOT VTK_INSTALL_NO_LIBRARIES)
++  INSTALL(TARGETS mpistubs
++    EXPORT ${VTK_INSTALL_EXPORT_NAME}
++    RUNTIME DESTINATION ${VTK_INSTALL_BIN_DIR_CM24} COMPONENT RuntimeLibraries
++    LIBRARY DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT RuntimeLibraries
++    ARCHIVE DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT Development)
++ENDIF(NOT VTK_INSTALL_NO_LIBRARIES)
++
++IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
++  INSTALL(FILES
++    ${CMAKE_CURRENT_SOURCE_DIR}/mpi.h
++    DESTINATION ${VTK_INSTALL_INCLUDE_DIR_CM24}/mrmpi
++    COMPONENT Development)
++ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT)
+Index: mrmpi-20Jun11/src/CMakeLists.txt
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ mrmpi-20Jun11/src/CMakeLists.txt	2011-10-26 20:16:40.000000000 +0200
+@@ -0,0 +1,37 @@
++SET (mrmpi_SOURCES
++        mapreduce.cpp
++        keyvalue.cpp
++        keymultivalue.cpp
++        irregular.cpp
++        hash.cpp
++        memory.cpp
++        error.cpp)
++
++ADD_LIBRARY (MapReduceMPI ${mrmpi_SOURCES})
++TARGET_LINK_LIBRARIES (MapReduceMPI ${mrmpi_LIBS})
++IF(VTK_LIBRARY_PROPERTIES)
++  SET_TARGET_PROPERTIES(MapReduceMPI PROPERTIES ${VTK_LIBRARY_PROPERTIES})
++ENDIF(VTK_LIBRARY_PROPERTIES)
++
++IF(NOT VTK_INSTALL_NO_LIBRARIES)
++  INSTALL(TARGETS MapReduceMPI
++    EXPORT ${VTK_INSTALL_EXPORT_NAME}
++    RUNTIME DESTINATION ${VTK_INSTALL_BIN_DIR_CM24} COMPONENT RuntimeLibraries
++    LIBRARY DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT RuntimeLibraries
++    ARCHIVE DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT Development)
++ENDIF(NOT VTK_INSTALL_NO_LIBRARIES)
++
++IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
++  INSTALL(FILES
++    ${CMAKE_CURRENT_SOURCE_DIR}/cmapreduce.h
++    ${CMAKE_CURRENT_SOURCE_DIR}/error.h
++    ${CMAKE_CURRENT_SOURCE_DIR}/hash.h
++    ${CMAKE_CURRENT_SOURCE_DIR}/irregular.h
++    ${CMAKE_CURRENT_SOURCE_DIR}/keymultivalue.h
++    ${CMAKE_CURRENT_SOURCE_DIR}/keyvalue.h
++    ${CMAKE_CURRENT_SOURCE_DIR}/mapreduce.h
++    ${CMAKE_CURRENT_SOURCE_DIR}/memory.h
++    ${CMAKE_CURRENT_SOURCE_DIR}/mrmpi_config.h
++    DESTINATION ${VTK_INSTALL_INCLUDE_DIR_CM24}/mrmpi
++    COMPONENT Development)
++ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT)

Added: packages/mrmpi/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/mrmpi/trunk/debian/patches/series?rev=43978&op=file
==============================================================================
--- packages/mrmpi/trunk/debian/patches/series (added)
+++ packages/mrmpi/trunk/debian/patches/series Wed Oct 26 18:32:41 2011
@@ -1,0 +1,1 @@
+addcmake.patch

Added: packages/mrmpi/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/mrmpi/trunk/debian/rules?rev=43978&op=file
==============================================================================
--- packages/mrmpi/trunk/debian/rules (added)
+++ packages/mrmpi/trunk/debian/rules Wed Oct 26 18:32:41 2011
@@ -1,0 +1,28 @@
+#!/usr/bin/make -f
+
+DPKG_EXPORT_BUILDFLAGS = 1
+-include /usr/share/dpkg/buildflags.mk
+
+CMAKE_FLAGS = \
+	-DCMAKE_BUILD_TYPE:STRING=RELEASE \
+	-DCMAKE_SKIP_RPATH:BOOL=ON \
+
+pkg_run = mrmpi
+pkg_dev = libmrmpi-dev
+
+%:
+	dh $@ --buildsystem=cmake --parallel
+
+override_dh_auto_configure:
+	dh_auto_configure -- $(CMAKE_FLAGS)
+
+override_dh_install:
+	# Runtime Package
+	dh_install -p$(pkg_run) usr/bin
+	dh_install -p$(pkg_run) usr/lib/CableSwig
+	# Development Package
+	dh_install -p$(pkg_dev) usr/include
+	dh_install -p$(pkg_dev) --autodest usr/lib/lib*.a
+
+get-orig-source:
+	wget http://www.cs.sandia.gov/~sjplimp/tars/mrmpi.tar.gz

Propchange: packages/mrmpi/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




More information about the debian-science-commits mailing list