mpgrafic (0.3.10-1) unstable; urgency=low
authorBoud Roukema <boud-debian@cosmo.torun.pl>
Sat, 28 Jan 2017 23:33:07 +0000 (23:33 +0000)
committerBoud Roukema <boud-debian@cosmo.torun.pl>
Sat, 28 Jan 2017 23:33:07 +0000 (23:33 +0000)
  * Portability: Bypass fftw2/openmpi fortran-to-C
    interfacing bug for s390x architecture by adding
    fortran-to-C wrappers to directly call the fftw2 C function
    called by src/mpgrafic.f90. This does not solve
    Debian bug #851918 - openmpi and fftw2
    have preprocessor macros MPI_COMM_F2C and FFTW_MPI_COMM_F2C,
    respectively, which are supposed to handle this
    cleanly, but at least on s390x, do not. However, version 0.3.10
    should solve the bug from mpgrafic's point of view.
    (Closes: #851923)

[dgit import unpatched mpgrafic 0.3.10-1]

16 files changed:
1  2 
debian/README.Debian
debian/changelog
debian/compat
debian/control
debian/copyright
debian/docs
debian/mpgrafic.examples
debian/mpgrafic.manpages
debian/patches/01-find-debian-example-files.patch
debian/patches/02-force-regression-test-fail.patch
debian/patches/series
debian/rules
debian/source/format
debian/source/options
debian/upstream/metadata
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..213c6b0ee59dce4f09a211ab0820fe8792418f37
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,7 @@@
++mpgrafic for Debian
++-------------------
++
++  * The --help option has an extra comment to help the user find
++    example files in /usr/share/doc/mpgrafic/examples.
++
++ -- Boud Roukema <boud-debian@cosmo.torun.pl>  Tue, 27 Dec 2016
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..3260b5449f13823736bdb5c764dabd29018459fc
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,94 @@@
++mpgrafic (0.3.10-1) unstable; urgency=low
++
++  * Portability: Bypass fftw2/openmpi fortran-to-C
++    interfacing bug for s390x architecture by adding
++    fortran-to-C wrappers to directly call the fftw2 C function
++    called by src/mpgrafic.f90. This does not solve
++    Debian bug #851918 - openmpi and fftw2
++    have preprocessor macros MPI_COMM_F2C and FFTW_MPI_COMM_F2C,
++    respectively, which are supposed to handle this
++    cleanly, but at least on s390x, do not. However, version 0.3.10
++    should solve the bug from mpgrafic's point of view.
++    (Closes: #851923)
++
++ -- Boud Roukema <boud-debian@cosmo.torun.pl>  Sun, 29 Jan 2017 00:33:07 +0100
++
++mpgrafic (0.3.9-1) unstable; urgency=low
++
++  * portability: lower precision printed float mppower.f90;
++    partial code tidying based on strict compiler warnings;
++    iseed, seeds -> c_long -> up to 4e9 cores can run with different seeds
++    (if MaxParallelism is increased)
++
++ -- Boud Roukema <boud-debian@cosmo.torun.pl>  Mon, 23 Jan 2017 00:15:32 +0100
++
++mpgrafic (0.3.8-1) unstable; urgency=low
++
++  * v0.3.8  portability: reproducible lower precision printed floats;
++    iso_C_binding; avoid implementation-dependent integer sizes;
++    avoid implementation-dependent fortran kind values
++
++ -- Boud Roukema <boud-debian@cosmo.torun.pl>  Sun, 22 Jan 2017 03:32:46 +0100
++
++mpgrafic (0.3.7.8-1) unstable; urgency=low
++
++  * v0.3.7.7 regression test written but forgot to include it
++  * v0.3.7.8 regression test - precision requirements, 'kind' portability,
++    debian/rules - more diagnostic info
++
++ -- Boud Roukema <boud-debian@cosmo.torun.pl>  Fri, 20 Jan 2017 14:24:00 +0100
++
++mpgrafic (0.3.7.6-2) unstable; urgency=low
++
++  * debian/control vcs-* s/bitbucket/anonscm.debian/g ; metadata +bitbucket
++
++ -- Boud Roukema <boud-debian@cosmo.torun.pl>  Thu, 19 Jan 2017 14:53:29 +0100
++
++mpgrafic (0.3.7.6-1) UNRELEASED; urgency=low
++
++  * New upstream release
++  * v0.3.7.6 - correct shell error so that regression test logs output
++
++ -- Boud Roukema <boud-debian@cosmo.torun.pl>  Thu, 19 Jan 2017 12:25:06 +0100
++
++mpgrafic (0.3.7.5-1) unstable; urgency=low
++
++  * New upstream release
++  * v0.3.7.5 - revert allow-run-as-root changes;
++    drop foreign and 1.4 automake options;
++    downgrade debian status of regression test - log output but
++    continue the build, since failure is not (yet) evidence of a bug
++
++ -- Boud Roukema <boud-debian@cosmo.torun.pl>  Wed, 18 Jan 2017 20:30:22 +0100
++
++mpgrafic (0.3.7.4-1) unstable; urgency=low
++
++  * New upstream release
++  * v0.3.7.1 - configure.ac: prioritise mpifort over deprecated mpif90
++  * v0.3.7.2 - avoid mpirun running as root if possible
++  * v0.3.7.4 - allow running make check as root if openmpi@debian
++
++ -- Boud Roukema <boud-debian@cosmo.torun.pl>  Mon, 16 Jan 2017 23:18:27 +0100
++
++mpgrafic (0.3.7-1) unstable; urgency=low
++
++  * New upstream release
++  * v0.3.5 - regression test - fast full run should match v0.3.4 output
++  * v0.3.6 - minor configuration file simplifications
++  * v0.3.6.[1234] - regression test portability
++  * v0.3.7 - matches 0.3.6.4
++
++ -- Boud Roukema <boud-debian@cosmo.torun.pl>  Sun, 15 Jan 2017 02:06:54 +0100
++
++mpgrafic (0.3.4-1) unstable; urgency=low
++
++  * Minor upstream and debian changes to better satisfy debian standards
++  * Upstream replacement of use of obsolete pause command
++
++ -- Boud Roukema <boud-debian@cosmo.torun.pl>  Thu, 05 Jan 2017 23:47:21 +0100
++
++mpgrafic (0.3.2.1-1) unstable; urgency=low
++
++  * Initial release (Closes: #849427)
++
++ -- Boud Roukema <boud-debian@cosmo.torun.pl>  Tue, 27 Dec 2016 04:08:41 +0100
diff --cc debian/compat
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++9
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..35f0a060d5aaad1c21c76bedc49b27be1ba1610d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,33 @@@
++Source: mpgrafic
++Section: science
++Priority: optional
++Maintainer: Debian Astro Team <debian-astro-maintainers@lists.alioth.debian.org>
++Uploaders: Boud Roukema <boud-debian@cosmo.torun.pl>
++Build-Depends: debhelper (>= 9),
++               autotools-dev,
++               chrpath,
++               fftw-dev (>= 2.1.5),
++               libgsl-dev (>= 2.3),
++               gfortran,
++               mpi-default-dev,
++               mpi-default-bin,
++               perl
++Standards-Version: 3.9.8
++Homepage: http://www2.iap.fr/users/pichon/mpgrafic.html
++Vcs-Git: https://anonscm.debian.org/git/debian-astro/packages/mpgrafic.git
++Vcs-Browser: https://anonscm.debian.org/git/debian-astro/packages/mpgrafic.git
++
++Package: mpgrafic
++Architecture: any
++Depends: ${shlibs:Depends}, ${misc:Depends}, mpi-default-bin
++Recommends: gnudatalanguage
++Description: MPI version of N-body initial conditions grafic package
++ mpgrafic produces initial conditions files for N-body simulations of
++ cosmological large-scale structure formation. It is a free-licensed,
++ MPI-parallelised, rewritten version of Ed Bertschinger's grafic-1
++ program, producing output files in the grafic format. It includes
++ options for an Eisenstein and Hu baryonic wiggles power spectrum, for
++ using a low-resolution map for large-scale modes in the spirit of
++ grafic-2, and together with constrfield, can be used for generating
++ constrained initial conditions. Details are given in Prunet et al
++ (2008) http://cdsads.u-strasbg.fr/abs/2008ApJS..178..179P.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c1c79e54a59a2fa9e9c1ae0758fd9f4ed31bbb50
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,30 @@@
++Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: mpgrafic
++Upstream-Contact: Boud Roukema  (boud cosmo.torun.pl)
++Source: https://broukema@bitbucket.org/broukema/mpgrafic.git
++
++Files: *
++Copyright: 2008-2016, Simon Prunet (prunet iap.fr)
++           2008-2016, Christophe Pichon
++           2016, Boud Roukema (boud-debian cosmo.torun.pl)
++License: GPL-2+
++ This program is free software; you can redistribute it
++ and/or modify it under the terms of the GNU General Public
++ License as published by the Free Software Foundation; either
++ version 2 of the License, or (at your option) any later
++ version.
++ .
++ This program is distributed in the hope that it will be
++ useful, but WITHOUT ANY WARRANTY; without even the implied
++ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
++ PURPOSE.  See the GNU General Public License for more
++ details.
++ .
++ You should have received a copy of the GNU General Public
++ License along with this package; if not, write to the Free
++ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
++ Boston, MA  02110-1301 USA
++ .
++ On Debian systems, the full text of the GNU General Public
++ License version 2 can be found in the file
++ `/usr/share/common-licenses/GPL-2'.
diff --cc debian/docs
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c17f03764be01a6d66a8063cf1734f71ef5eff68
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++AUTHORS
++NEWS
++README
++TODO
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..43721a838d000971fc54ae13eb87c5d23c0aa281
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,8 @@@
++Input.stdin
++Output.stdout
++gdl
++gdl/powerspec.pro
++gdl/read_grafic.pro
++gdl/read_white.pro
++gdl/write_grafic.pro
++idl
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..05e6fd96c0dc1599ef2cafbfcc6b9550baa0ddf7
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++mpgrafic.1
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..5b0460a814db814317feabd44a59f711cecc384d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,17 @@@
++Description: Add an extra comment to the --help option so that the
++ user can more easily find example input/output files in
++ /usr/share/doc/mpgrafic/examples/. This is valid for debian, but not
++ for upstream in general.
++Forwarded: not-needed
++Author: Boud Roukema <boud-debian@cosmo.torun.pl>
++--- a/src/mpgrafic.f90
+++++ b/src/mpgrafic.f90
++@@ -131,6 +131,8 @@
++         write(*,'(a)')'Most recent source code:'
++         write(*,'(a)')'git clone https://broukema@bitbucket.org/broukema/mpgrafic.git'
++         write(*,'(a)')''
+++        write(*,'(a)')'Example input/output files: see /usr/share/doc/mpgrafic/examples/'
+++        write(*,'(a)')''
++         write(*,'(a)')' -?, --help                 Give this help list'
++         write(*,'(a)')'     --np=INTEGER           Number of particles per dimension'
++         write(*,'(a)')'     --usage                Give a short usage message'
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..fde01764fae60589a0b251a703dcf39b28a82620
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,17 @@@
++Description: Force the code regression test to fail by modifying
++ the random seed; this should normally not be included in debian/patches/series.
++ Use `quilt import <filename>' and later `quilt delete <filename>'
++ to temporarily apply this patch; `info quilt' for more info.
++Forwarded: not-needed
++Author: Boud Roukema <boud-debian@cosmo.torun.pl>
++--- a/Input.stdin
+++++ b/Input.stdin
++@@ -12,7 +12,7 @@
++ 
++ 
++ 1
++-1234
+++97531
++ white-outfile.dat
++ 0
++ noisefile_dummy.dat
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..cd22ffec163c837d16ce730440fa45668789af2b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++01-find-debian-example-files.patch
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a75c6cf3483f0b15f84a3ed5a3cdc16d5691e5a0
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,46 @@@
++#!/usr/bin/make -f
++
++# Recommendations in https://wiki.debian.org/Hardening, motivated by lintian warnings.
++export DEB_BUILD_MAINT_OPTIONS = hardening=+all
++DPKG_EXPORT_BUILDFLAGS = 1
++include /usr/share/dpkg/buildflags.mk
++
++# To run the first test program in `make check', mpirun is called.
++# This may fail if run as root, e.g. during automated building in
++# a chroot gaol. So for debian builds, running mpirun - on a single
++# processor - is allowed.
++export MPI_ALLOW_RUN_AS_ROOT = --allow-run-as-root
++
++%:
++      dh $@  --with autotools-dev
++
++# https://lintian.debian.org/tags/binary-or-shlib-defines-rpath.html
++# https://wiki.debian.org/RpathIssue
++# TODO: Where is r(un)path inserted in upstream? [not obvious]
++override_dh_install:
++      chrpath -d $(CURDIR)/debian/mpgrafic/usr/bin/mpgrafic
++      dh_install
++
++# 2017-01-17: debian/0.3.7.5-1: Data on failures of the test script
++# regression-0.3.7.sh on various architectures is needed in order to
++# make both the source code and the test reproducible. This override
++# is intended to be temporary only, while obtaining data on failures
++# from the log files of builds.
++override_dh_auto_test:
++      # since v0.3.7.8: log a diagnostic, and then return a fail if
++      # dh_auto_test failed
++      if dh_auto_test ; then \
++       printf "+++regression test diagnostic+++\n"; \
++       grep ARCH_DEFAULT_MPI_IMPL /usr/share/mpi-default-dev/debian_defaults; \
++       printf "diff:\n"; \
++       diff -u Output.stdout.np32 Output.stdout.np32.tmp; \
++       printf "+++/regression test diagnostic+++\n"; else \
++       printf "+++regression test diagnostic+++\n"; \
++       grep ARCH_DEFAULT_MPI_IMPL /usr/share/mpi-default-dev/debian_defaults; \
++       printf "diff:\n"; \
++       diff -u Output.stdout.np32 Output.stdout.np32.tmp; \
++       uname -a; \
++       printf "Processors on this machine:\n"; \
++       grep processor /proc/cpuinfo; \
++       printf "+++/regression test diagnostic+++\n"; \
++       false ; fi
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..21f55efca16606b5bb5fc0a2239055b6b0e1e39e
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++extend-diff-ignore = "(^|/)(config\.(sub|guess)|Makefile|src/.*\.mod|src/Makefile\.in|ic_.*[bxyz]|[pw].*\.dat|stamp-h1|test-suite\.log|Output.*\.tmp.*|reg.*sh\.[lt][or][gs])$"
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..02ad9438195edb093d767f90e1182aafb1230d72
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,16 @@@
++ASCL-Id: 1304.014
++Name: mpgrafic
++Contact: boud-debian cosmo.torun.pl
++Repository: git@bitbucket.org:broukema/mpgrafic.git
++Repository-Browse: https://bitbucket.org/broukema/mpgrafic
++Bug-Database: https://bitbucket.org/broukema/mpgrafic/issues
++Reference:
++  Author: Prunet, S. and Pichon, C. and Aubert, D. and Pogosyan, D. and Teyssier, R. and Gottloeber, S.
++  Title: Initial Conditions For Large Cosmological Simulations
++  Journal: Astrophysical Journal Supplement Series
++  Year: 2008
++  Volume: 178
++  Pages: 179-188
++  DOI: 10.1086/590370
++  Eprint: https://arXiv.org/abs/0804.3536
++  URL: http://cdsads.u-strasbg.fr/abs/2008ApJS..178..179P
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..18e82c8e618e8970faee468c51a9d03f6009ceca
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++# watch control file for uscan
++version=3
++https://bitbucket.org/broukema/mpgrafic/downloads?tab=tags .*/v(\d\S+)\.tar\.gz debian uupdate