debian/0000775000000000000000000000000012253517245007176 5ustar debian/rules0000775000000000000000000001041511672060037010253 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) src_toplevel = $(shell pwd) DEST_DIR = $(CURDIR)/debian/mpb/usr DEST_DIR_MPI = $(CURDIR)/debian/mpb-mpi/usr BUILD_DIR = $(CURDIR)/debian/build BUILD_DIR_INV = $(CURDIR)/debian/buildi BUILD_DIR_MPI = $(CURDIR)/debian/buildm BUILD_DIR_MPI_INV = $(CURDIR)/debian/buildmi CONFIG_OPTS = --build=$(DEB_BUILD_GNU_TYPE) \ --cache-file=../config.cache \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --with-libctl=/usr/share/libctl3 plop = $(shell test -f /usr/lib/atlas/liblapack.so && echo plop) ifeq ($(plop),plop) CONFIG_OPTS += --with-lapack=/usr/lib/atlas/liblapack.so endif clean: dh_testdir dh_testroot dh_clean debian/config.cache config.sub config.guess stamp-h \ autotools-stamp *-normal-stamp *-inv-stamp \ *-mpi-stamp *-mpi-inv-stamp rm -rf $(BUILD_DIR) $(BUILD_DIR_INV) \ $(BUILD_DIR_MPI) $(BUILD_DIR_MPI_INV) # Configuration autotools-stamp: dh_testdir rm -f config.sub config.guess ln -s /usr/share/misc/config.sub config.sub ln -s /usr/share/misc/config.guess config.guess touch autotools-stamp configure: configure-normal-stamp configure-inv-stamp configure-mpi-stamp configure-mpi-inv-stamp configure-normal-stamp: autotools-stamp dh_testdir mkdir -p $(BUILD_DIR) ( cd $(BUILD_DIR) && F77=gfortran ../../configure $(CONFIG_OPTS) ) touch configure-normal-stamp configure-inv-stamp: autotools-stamp dh_testdir mkdir -p $(BUILD_DIR_INV) ( cd $(BUILD_DIR_INV) && F77=gfortran ../../configure --with-inv-symmetry $(CONFIG_OPTS) ) touch configure-inv-stamp configure-mpi-stamp: autotools-stamp dh_testdir mkdir -p $(BUILD_DIR_MPI) ( cd $(BUILD_DIR_MPI) && F77=gfortran ../../configure --with-mpi $(CONFIG_OPTS) ) touch configure-mpi-stamp configure-mpi-inv-stamp: autotools-stamp dh_testdir mkdir -p $(BUILD_DIR_MPI_INV) ( cd $(BUILD_DIR_MPI_INV) && F77=gfortran ../../configure --with-mpi --with-inv-symmetry $(CONFIG_OPTS) ) touch configure-mpi-inv-stamp # Build build: build-arch build-indep build-arch: build-normal-stamp build-inv-stamp build-mpi-stamp build-mpi-inv-stamp build-indep: build-normal-stamp build-inv-stamp build-mpi-stamp build-mpi-inv-stamp build-normal-stamp: configure-normal-stamp dh_testdir ( cd $(BUILD_DIR) && $(MAKE) ) touch build-normal-stamp build-inv-stamp: configure-inv-stamp dh_testdir ( cd $(BUILD_DIR_INV) && $(MAKE) ) touch build-inv-stamp build-mpi-stamp: configure-mpi-stamp dh_testdir ( cd $(BUILD_DIR_MPI) && $(MAKE) ) touch build-mpi-stamp build-mpi-inv-stamp: configure-mpi-inv-stamp dh_testdir ( cd $(BUILD_DIR_MPI_INV) && $(MAKE) ) touch build-mpi-inv-stamp # Installation install: install-doc install-bin install-doc: dh_testdir dh_testroot dh_installdirs -i dh_install -i install-bin: build dh_testdir dh_testroot dh_installdirs -a ( cd $(BUILD_DIR) && $(MAKE) install prefix=$(DEST_DIR) ) ( cd $(BUILD_DIR_INV) && $(MAKE) install prefix=$(DEST_DIR) ) ( cd $(BUILD_DIR_MPI) && $(MAKE) install prefix=$(DEST_DIR_MPI) ) ( cd $(BUILD_DIR_MPI_INV) && $(MAKE) install prefix=$(DEST_DIR_MPI) ) rm -rf $(DEST_DIR_MPI)/share # Build architecture-independent files here. binary-indep: install-doc dh_testdir -i dh_testroot -i dh_installdocs -i dh_installexamples -i dh_installman -i dh_installchangelogs -i ChangeLog dh_link -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_perl -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i # Build architecture-dependent files here. binary-arch: install-bin dh_testdir -a dh_testroot -a dh_installdocs -a dh_installexamples -a dh_installmenu -a dh_installcron -a dh_installman -a dh_installchangelogs -a ChangeLog dh_link -a dh_strip -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch .PHONY: clean configure build install install-doc install-bin binary-indep binary-arch binary debian/watch0000664000000000000000000000016111315530112010207 0ustar version=3 http://ab-initio.mit.edu/wiki/index.php/MPB_download http://ab-initio\.mit\.edu/mpb/mpb-(.*)\.tar\.gz debian/changelog0000664000000000000000000002311612253517245011053 0ustar mpb (1.4.2-18build1) trusty; urgency=medium * No-change rebuild for libopenmpi1.3 -> libopenmpi1.6 transition. -- Logan Rosen Mon, 16 Dec 2013 01:33:02 -0500 mpb (1.4.2-18) unstable; urgency=low * debian/patches/13-hdf5-1.6-api.patch: new patch, enables HDF5 1.6 compatibility macro definitions. (Closes: #657203) patch thankfully created by Sébastien Villemot -- Thorsten Alteholz Sun, 19 Feb 2012 15:00:00 +0100 mpb (1.4.2-17) unstable; urgency=low * debian/control: depend on debhelper >=8 * debian/control: dependency on dpatch removed * debian/control: standards version changed to 3.9.2 (no changes) * debian/control: some Build-Depensds dropped (got in with other dependencies) * debian/control: Recommends: loop solved * debian/rules: build-arch and build-indep according to lintian recommendation added * debian/rules: dpatch targets removed * debian/README.source: changed from dpatch to quilt * debian/source/format: 3.0 (quilt) * debian/copyright: changed to DEP5 -- Thorsten Alteholz Tue, 13 Dec 2011 18:00:00 +0100 mpb (1.4.2-16) unstable; urgency=low * debian/control: dependency of mpb-mpi corrected * debian/control: dependency on libhdf5-seriald-dev added again -- Thorsten Alteholz Thu, 11 Nov 2010 18:00:00 +0100 mpb (1.4.2-15) unstable; urgency=low * debian/control: bump Standards Version to 3.9.1. (No changes needed). * debian/control: Conflicts: replaced by Breaks: for mpb-doc * debian/control: add dependency on mpi-default-dev (Closes: #571444) - this is needed to always depend on a working version of MPI on any architecture - dependency on libmpich1.0-dev and libhdf5-seriald-dev is not needed anymore - remove build-conflicts on lam-dev, this is automatically handled by mpi-default-dev now -- Thorsten Alteholz Wed, 28 Jul 2010 19:00:00 +0200 mpb (1.4.2-14) unstable; urgency=low * debian/control: bump Standards Version to 3.8.3. (No changes needed). * debian/control: add ${misc:Depends} to all targets * debian/control: DM-Upload-Allowed added * debian/control: dependency on dpatch added * changed all modifications in src files to patches * debian/rules: patch targets added * debian/copyright: copyright refers to GPL-2 instead of GPL now * README.source added * patch for sh4 support added (Closes: #561446) -- Thorsten Alteholz Wed, 06 Jan 2010 18:00:00 +0100 mpb (1.4.2-13) unstable; urgency=low * New Maintainer (Closes: #481040) * Bump Standards Version to 3.8.1. (No changes needed). * according to request in #518804 mpb must depend on guile-1.8 now * debian/control: make dependency of debhelper >=7.2.3 due to postinst-has-useless-call-to-install-docs lintian warning -- Thorsten Alteholz Tue, 14 Apr 2009 20:00:00 +0200 mpb (1.4.2-12) unstable; urgency=low * QA upload. + Set maintainer to Debian QA Group . * Move homepage from package descriptions to source. (Closes: #439577). * mpb-ctl/Makefile.in remove -s on INSTALL. (Closes: #437585). * Minor layout change to debian/copyright layout. + Update FSF address. * Fix some manpage warnings. * Bump Standards Version to 3.8.0. (No changes needed). -- Barry deFreese Fri, 05 Dec 2008 11:06:59 -0500 mpb (1.4.2-11.1) unstable; urgency=low * Non-maintainer upload. * Use gfortran, Closes: #468879, #467351 Thanks Rafael Laboissiere, Kumar Appaiah * use binNMU compatigle binary:Version substvar. -- Riku Voipio Sun, 09 Mar 2008 13:21:16 +0200 mpb (1.4.2-11) unstable; urgency=low * New Maintainer (Closes: #393107) * watch file * fix --host and --build in debian/rules * Upstream author in the manpage * Changed debhelper and policy version -- Loïc Le Guyader Sat, 28 Apr 2007 10:03:26 +0200 mpb (1.4.2-10) unstable; urgency=low * Orphan package. -- Josselin Mouette Sun, 15 Oct 2006 03:16:43 +0200 mpb (1.4.2-9) unstable; urgency=low * Rebuild against libctl 3. * Build-depend on it. * Use gfortran instead of g77. * Standards-version is 3.7.0. -- Josselin Mouette Mon, 1 May 2006 23:32:33 +0200 mpb (1.4.2-8) unstable; urgency=low * Rebuild for the C++ transition. + Build-depend on latest mpich and hdf5 packages. * Standards-version is 3.6.2. -- Josselin Mouette Sat, 3 Sep 2005 17:14:32 +0200 mpb (1.4.2-7) unstable; urgency=low * Rebuild against HDF5 1.6.4. * Build against atlas3, with a fallback on lapack3. * Use the new mpich dependency system. -- Josselin Mouette Sat, 18 Jun 2005 01:26:32 +0200 mpb (1.4.2-6) unstable; urgency=low * debian/control: use atlas 2 on architectures where atlas 3 doesn't work. -- Josselin Mouette Mon, 24 May 2004 13:40:05 +0200 mpb (1.4.2-5) unstable; urgency=low * Rebuild against HDF5 1.6.2 and atlas 3. * Various cleanups in debian/rules. * Remove recommendation (closes: #240543). * Provide examples in mpb-doc (closes: #243220). -- Josselin Mouette Thu, 13 May 2004 16:30:27 +0200 mpb (1.4.2-4) unstable; urgency=low * Rebuild against HDF5 1.6.1. * Standards-version is 3.6.1, no changes. * Use debian/compat instead of DH_COMPAT. -- Josselin Mouette Tue, 4 Nov 2003 09:28:17 +0100 mpb (1.4.2-3) unstable; urgency=low * Rebuild against new hdf5 packages. -- Josselin Mouette Thu, 24 Jul 2003 12:32:18 +0200 mpb (1.4.2-2) unstable; urgency=low * Rebuild against HDF5 1.6.0. * Now mpb-doc suggests doc-base. * Standards-version is 3.6.0. * Removed shlibs.local. -- Josselin Mouette Wed, 16 Jul 2003 22:53:01 +0200 mpb (1.4.2-1) unstable; urgency=low * New upstream release. * debian/control: removed unuseful recommends. * Build against HDF5 1.4.5, update build-depends accordingly. -- Josselin Mouette Mon, 10 Mar 2003 17:22:39 +0100 mpb (1.4.1-3) unstable; urgency=low * Rebuild against Guile 1.6. * Build-depend on guile-1.6-dev and libctl-dev 2.2-3. * Standards-version 3.5.8. * Use debhelper mode 4 and dh_install. * Added shlibs.local to prevent duplicate relationship in the package's dependencies. * Build a mpich version. Please test it ! -- Josselin Mouette Wed, 5 Feb 2003 14:30:33 +0100 mpb (1.4.1-2) unstable; urgency=medium * Rebuild against HDF 1.4.4, with a build dependency. * Add a link to the upstream website. * Remove shlibs.local. -- Josselin Mouette Fri, 27 Sep 2002 11:47:32 +0200 mpb (1.4.1-1) unstable; urgency=medium * New upstream release, fixes important bugs. * Build depend on autotools-dev instead of providing latest config.sub and config.guess. * mpb-doc recommends libctl-doc. -- Josselin Mouette Tue, 17 Sep 2002 09:55:54 +0200 mpb (1.4-1) unstable; urgency=low * New upstream release * Build depend on libctl 2.2 * debian/ rules,control: standards version is now 3.5.7 -- Josselin Mouette Fri, 13 Sep 2002 13:54:34 +0200 mpb (1.3-6) unstable; urgency=low * debian/rules: forgot to export gcc3 to configure on alphas. -- Josselin Mouette Tue, 30 Apr 2002 00:43:50 +0200 mpb (1.3-5) unstable; urgency=low * debian/mpbi.1: minor correction. * debian/control: moved mpb-doc to section doc. -- Josselin Mouette Mon, 29 Apr 2002 16:19:38 +0200 mpb (1.3-4) unstable; urgency=low * debian/rules: added mpbi, built with inversion symmetry. * */Makefile.in: added VPATH for fine building of 2 versions. * */Makefile.in: substituted all .. and . with $srcdir and $top_srcdir. * Added manpage for mpbi and mpbi-split. * debian/control: added build-depends on g77-3.0 for alpha. * debian/rules: using gcc 3.0 on alpha. -- Josselin Mouette Mon, 29 Apr 2002 14:12:52 +0200 mpb (1.3-3) unstable; urgency=low * Split into mpb and mpb-doc -- Josselin Mouette Thu, 25 Apr 2002 10:38:36 +0200 mpb (1.3-2) unstable; urgency=low * debian/control: changed maintainer email. * First upload to Debian (closes: #143266, #121171). -- Josselin Mouette Wed, 17 Apr 2002 10:52:40 +0200 mpb (1.3-1) unstable; urgency=low * New upstream release -- Josselin Mouette Tue, 12 Mar 2002 14:07:39 +0100 mpb (1.2.2-2) unstable; urgency=low * Corrected build-depends (added g77) -- Josselin Mouette Mon, 10 Dec 2001 13:33:30 +0100 mpb (1.2.2-1) unstable; urgency=low * New upstream release -- Josselin Mouette Mon, 10 Dec 2001 11:24:32 +0100 mpb (1.2.1-1) unstable; urgency=low * New upstream release -- Josselin Mouette Tue, 4 Dec 2001 12:43:28 +0100 mpb (1.2-3) unstable; urgency=low * Moved HTML doc to /usr/share/doc/mpb/html * Added doc-base entry -- Josselin Mouette Thu, 29 Nov 2001 10:56:50 +0100 mpb (1.2-2) unstable; urgency=low * Added manpage for mpb-split -- Josselin Mouette Tue, 27 Nov 2001 14:33:06 +0100 mpb (1.2-1) unstable; urgency=low * New upstream release -- Josselin Mouette Mon, 19 Nov 2001 13:07:03 +0100 mpb (1.1.1-1) unstable; urgency=low * Initial Release. -- Josselin Mouette Tue, 23 Oct 2001 19:06:26 +0200 debian/mpb-doc.examples0000664000000000000000000000002311315530112012234 0ustar mpb-ctl/examples/* debian/compat0000664000000000000000000000000211671623623010375 0ustar 8 debian/mpb-mpi.10000664000000000000000000000314611315530112010607 0ustar .\" 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 program; if not, write to the Free Software .\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA .\" .TH MPB-MPI 1 "Feb 5, 2003" "MPB" "MIT Photonic-Bands Package" .SH NAME mpb-mpi \- parallel (MPI) version of mpb .br mpbi-mpi \- parallel (MPI) version of mpbi .SH DESCRIPTION This manual page documents briefly the .B mpb-mpi and .B mpbi-mpi commands. This manual page was written for the Debian GNU/Linux distribution because the original programs don't have a manual page. .PP .B mpb-mpi is a version of .B mpb built with MPI support through the mpich implementation. It can be run over a computer cluster to achieve distributed computations. .PP .B mpbi-mpi is equivalent to .B mpb-mpi but requires, like .BR mpbi , photonic structures respecting inversion symmetry. .SH SEE ALSO .BR mpb (1), mpbi (1). .SH AUTHOR mpbi was written by Steven G. Johnson . This manual page was written by Josselin Mouette , for the Debian GNU/Linux system (but may be used by others). debian/README.source0000664000000000000000000000353511671624030011355 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. To configure quilt to use debian/patches instead of patches, you want either to export QUILT_PATCHES=debian/patches in your environment or use this snippet in your ~/.quiltrc: for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then export QUILT_PATCHES=debian/patches break fi done To get the fully patched source after unpacking the source package, cd to the root level of the source package and run: quilt push -a The last patch listed in debian/patches/series will become the current patch. To add a new set of changes, first run quilt push -a, and then run: quilt new where is a descriptive name for the patch, used as the filename in debian/patches. Then, for every file that will be modified by this patch, run: quilt add before editing those files. You must tell quilt with quilt add what files will be part of the patch before making changes or quilt will not work properly. After editing the files, run: quilt refresh to save the results as a patch. Alternately, if you already have an external patch and you just want to add it to the build system, run quilt push -a and then: quilt import -P /path/to/patch quilt push -a (add -p 0 to quilt import if needed). as above is the filename to use in debian/patches. The last quilt push -a will apply the patch to make sure it works properly. To remove an existing patch from the list of patches that will be applied, run: quilt delete You may need to run quilt pop -a to unapply patches first before running this command. debian/mpb-mpi.manpages0000664000000000000000000000002111315530112012227 0ustar debian/mpb-mpi.1 debian/mpb.links0000664000000000000000000000007211315530112010777 0ustar usr/share/man/man1/mpbi.1 usr/share/man/man1/mpbi-split.1 debian/mpb-doc.doc-base0000664000000000000000000000125211315530112012100 0ustar Document: mpb Title: MIT Photonic Bands Manual Author: Steven G. Johnson Abstract: This manual documents MPB. The MIT Photonic-Bands package is a free program for computing the band structures (dispersion relations) and electromagnetic modes of periodic dielectric structures, on both serial and parallel computers. It was developed by Steven G. Johnson at MIT in the Joannopoulos Ab Initio Physics group, and designed to study photonic crystal structures. . This documentation explains how to install mpb and use of its basic and advanced features. Section: Science/Chemistry Format: HTML Index: /usr/share/doc/mpb-doc/html/index.html Files: /usr/share/doc/mpb-doc/html/* debian/copyright0000664000000000000000000000260011671635554011136 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: MPB Upstream-Source: http://ab-initio.mit.edu/wiki/index.php/MPB Files: * Copyright: Copyright 1999-2002 Massachusetts Institute of Technology. Comment: Upstream-Author: Steven G. Johnson License: GPL-2+ MIT Photonic-Bands 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 library; 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 can be found in the `/usr/share/common-licenses/GPL-2' file. Files: debian/* Copyright: Copyright 2001, Josselin Mouette Copyright: Copyright 2010,2011 Thorsten Alteholz License: GPL-2+ On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-2' file. debian/source/0000775000000000000000000000000011671624053010475 5ustar debian/source/format0000664000000000000000000000001411671624053011703 0ustar 3.0 (quilt) debian/mpb-mpi.links0000664000000000000000000000007311315530112011563 0ustar usr/share/man/man1/mpb-mpi.1 usr/share/man/man1/mpbi-mpi.1 debian/mpb.manpages0000664000000000000000000000001611315530112011450 0ustar debian/mpbi.1 debian/mpbi.10000664000000000000000000000315111315530112010171 0ustar .\" 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 program; if not, write to the Free Software .\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA .\" .TH MPBI 1 "April 29, 2002" "MPB" "MIT Photonic-Bands Package" .SH NAME mpbi \- mpb with inversion symmetry .br mpbi-split \- mpb-split with inversion symmetry .SH DESCRIPTION This manual page documents briefly the .B mpbi and .B mpbi-split commands. This manual page was written for the Debian GNU/Linux distribution because the original programs don't have a manual page. .PP .B mpbi is a version of .B mpb built with requiring inversion symmetry. It can only compute the eigenstates of structures with inversion symmetry, but runs twice as fast as .B mpb and requires half as much memory. .PP .B mpbi-split is equivalent to .B mpb-split but runs .B mpbi instances. .SH SEE ALSO .BR mpb (1), mpb-split (1). .SH AUTHOR mpbi was written by Steven G. Johnson . This manual page was written by Josselin Mouette , for the Debian GNU/Linux system (but may be used by others). debian/mpb-doc.install0000664000000000000000000000004111315530112012064 0ustar doc/* usr/share/doc/mpb-doc/html debian/control0000664000000000000000000000433311671644570010611 0ustar Source: mpb Section: science Priority: optional Maintainer: Thorsten Alteholz Build-Depends: debhelper (>= 8), autotools-dev, liblapack-dev, fftw-dev, libctl-dev (>=3.0.3-3), gfortran, mpi-default-dev, libhdf5-serial-dev Standards-Version: 3.9.2 Homepage: http://ab-initio.mit.edu/mpb/ DM-Upload-Allowed: yes Package: mpb Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: h5utils Suggests: mpb-doc Description: MIT Photonic-Bands The MIT Photonic-Bands package is a free program for computing the band structures (dispersion relations) and electromagnetic modes of periodic dielectric structures, on both serial and parallel computers. It was developed by Steven G. Johnson at MIT in the Joannopoulos Ab Initio Physics group, and designed to study photonic crystal structures. Package: mpb-mpi Architecture: any Depends: ${shlibs:Depends}, mpb (>= ${binary:Version}), mpi-default-bin, ${misc:Depends} Description: MIT Photonic-Bands, parallel (mpich) version The MIT Photonic-Bands package is a free program for computing the band structures (dispersion relations) and electromagnetic modes of periodic dielectric structures, on both serial and parallel computers. It was developed by Steven G. Johnson at MIT in the Joannopoulos Ab Initio Physics group, and designed to study photonic crystal structures. . This package contains a parallel version of MPB, using the mpich implementation of the MPI protocol. It allows for calculations on clusters of computers. . Note that you must install libhdf5-mpich if your cluster doesn't have a common filesystem available on all nodes. Package: mpb-doc Architecture: all Breaks: mpb (<= 1.3-2) Section: doc Recommends: libctl-doc Depends: ${misc:Depends} Suggests: doc-base, mpb Description: MIT Photonic-Bands documentation The MIT Photonic-Bands package is a free program for computing the band structures (dispersion relations) and electromagnetic modes of periodic dielectric structures, on both serial and parallel computers. It was developed by Steven G. Johnson at MIT in the Joannopoulos Ab Initio Physics group, and designed to study photonic crystal structures. . This package contains the documentation in HTML format. debian/docs0000664000000000000000000000002111315530112010024 0ustar NEWS README TODO debian/patches/0000775000000000000000000000000011720200755010616 5ustar debian/patches/09-tests-Makefile.in.patch0000664000000000000000000000101411672115261015346 0ustar Author: Thorsten Alteholz Description: handle srcdir and top_srcdir --- mpb-1.4.2.orig/tests/Makefile.in +++ mpb-1.4.2/tests/Makefile.in @@ -2,9 +2,13 @@ SHELL = @SHELL@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + CC = @CC@ CFLAGS = @CFLAGS@ -CPPFLAGS = -I../src/util -I../src/matrices -I../src/maxwell @CPPFLAGS@ +CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I$(top_srcdir)/src/maxwell -I. @CPPFLAGS@ DEFS = @DEFS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ debian/patches/07-src-maxwell-Makefile.in.patch0000664000000000000000000000074311672115247016454 0ustar Author: Thorsten Alteholz Description: handle srcdir and top_srcdir --- mpb-1.4.2.orig/src/maxwell/Makefile.in +++ mpb-1.4.2/src/maxwell/Makefile.in @@ -2,9 +2,13 @@ SHELL = @SHELL@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + CC = @CC@ CFLAGS = @CFLAGS@ -CPPFLAGS = -I../util -I../matrices @CPPFLAGS@ +CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I. @CPPFLAGS@ DEFS = @DEFS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ debian/patches/series0000664000000000000000000000054211720200755012034 0ustar 01-Makefile.in.patch 02-mpb-ctl-Makefile.in.patch 03-mpb-ctl-mpb-split.1.patch 04-mpb-ctl-mpb.1.patch 05-src-matrices-Makefile.in.patch 06-src-matrixio-Makefile.in.patch 07-src-maxwell-Makefile.in.patch 08-src-util-Makefile.in.patch 09-tests-Makefile.in.patch 10-utils-Makefile.in.patch 11-utils-mpb-data.1.patch 12-configure.patch 13-hdf5-1.6-api.patch debian/patches/10-utils-Makefile.in.patch0000664000000000000000000000166611672115264015354 0ustar Author: Thorsten Alteholz Description: handle srcdir and top_srcdir --- mpb-1.4.2.orig/utils/Makefile.in +++ mpb-1.4.2/utils/Makefile.in @@ -1,10 +1,15 @@ # Variables substituted by the autoconf configure script: SHELL = @SHELL@ +mandir = @mandir@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ CC = @CC@ CFLAGS = @CFLAGS@ -CPPFLAGS = -I../src/util -I../src/matrices -I../src/matrixio @CPPFLAGS@ +CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I$(top_srcdir)/src/matrixio -I. @CPPFLAGS@ DEFS = @DEFS@ -DMPB_VERSION='"'"@MPB_VERSION@"'"' LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ @@ -38,7 +43,7 @@ $(INSTALL) -d $(prefix)/bin $(INSTALL) -m 0755 -s mpb-data $(prefix)/bin/`echo mpb-data|sed '$(transform)'` $(INSTALL) -d $(mandir)/man1 - $(INSTALL) -m 0644 mpb-data.1 $(mandir)/man1 + $(INSTALL) -m 0644 $(srcdir)/mpb-data.1 $(mandir)/man1 clean: rm -f mpb-data mpb-data.o core debian/patches/01-Makefile.in.patch0000664000000000000000000000047611672115211014204 0ustar Author: Thorsten Alteholz Description: differentiate between top_srcdir and srcdir --- mpb-1.4.2.orig/Makefile.in +++ mpb-1.4.2/Makefile.in @@ -2,6 +2,10 @@ SHELL = @SHELL@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + CC = @CC@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ debian/patches/13-hdf5-1.6-api.patch0000664000000000000000000000064111720200755013760 0ustar Description: Enable HDF5 1.6 compatibility macro definitions Bug-Debian: http://bugs.debian.org/657203 Forwarded: no Author: Sébastien Villemot Last-Update: 2012-02-17 --- a/src/matrixio/matrixio.h +++ b/src/matrixio/matrixio.h @@ -21,6 +21,7 @@ #include #if defined(HAVE_HDF5) +# define H5_USE_16_API # include typedef hid_t matrixio_id; #else /* no HDF */ debian/patches/06-src-matrixio-Makefile.in.patch0000664000000000000000000000076511672115243016636 0ustar Author: Thorsten Alteholz Description: handle srcdir and top_srcdir --- mpb-1.4.2.orig/src/matrixio/Makefile.in +++ mpb-1.4.2/src/matrixio/Makefile.in @@ -2,9 +2,13 @@ SHELL = @SHELL@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + CC = @CC@ CFLAGS = @CFLAGS@ -CPPFLAGS = -I../util -I../matrices -I. @CPPFLAGS@ +CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I$(srcdir) -I. @CPPFLAGS@ DEFS = @DEFS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ debian/patches/02-mpb-ctl-Makefile.in.patch0000664000000000000000000000345111672115224015541 0ustar Author: Thorsten Alteholz Description: use srcdir and top_srcdir --- mpb-1.4.2.orig/mpb-ctl/Makefile.in +++ mpb-1.4.2/mpb-ctl/Makefile.in @@ -13,6 +13,12 @@ SHELL = @SHELL@ +mandir = @mandir@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + ############################################################################## # Makefile.in for programs using libctl (assumes that autoconf is @@ -37,8 +43,8 @@ ../src/util/util.a MY_LDFLAGS = # extra -L flags go here -MY_CPPFLAGS = -I. -I../src/util -I../src/matrices -I../src/matrixio \ - -I../src/maxwell +MY_CPPFLAGS = -I$(srcdir) -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I$(top_srcdir)/src/matrixio \ + -I$(top_srcdir)/src/maxwell MY_DEFS = -DHAVE_CTL_HOOKS=1 -DHAVE_CTL_EXPORT_HOOK=1 # The following variables should be detected and set by autoconf: @@ -134,11 +140,11 @@ install-mpb: $(PROGRAM_NAME) $(INSTALL) -d $(prefix)/bin - $(INSTALL) -m 0755 -s .$(PROGRAM_NAME) $(prefix)/bin/`echo $(PROGRAM_NAME)|sed '$(transform)'` + $(INSTALL) -m 0755 .$(PROGRAM_NAME) $(prefix)/bin/`echo $(PROGRAM_NAME)|sed '$(transform)'` $(INSTALL) -d $(prefix)/share/libctl/specs $(INSTALL) -m 0644 $(SPECIFICATION_FILE) $(prefix)/share/libctl/specs $(INSTALL) -d $(mandir)/man1 - $(INSTALL) -m 0644 $(PROGRAM_NAME).1 $(mandir)/man1 + $(INSTALL) -m 0644 $(srcdir)/$(PROGRAM_NAME).1 $(mandir)/man1 mpb-split-tmp: rm -f mpb-split-tmp @@ -149,7 +155,7 @@ mpb_name=`echo mpb | sed '$(transform)'`; \ $(INSTALL) -m 0755 mpb-split-tmp $(prefix)/bin/$${mpb_name}-split $(INSTALL) -d $(mandir)/man1 - $(INSTALL) -m 0644 mpb-split.1 $(mandir)/man1 + $(INSTALL) -m 0644 $(srcdir)/mpb-split.1 $(mandir)/man1 clean: rm -f $(ALL_OBJECTS) ctl-io.c ctl-io.h main.c geom.c \ debian/patches/05-src-matrices-Makefile.in.patch0000664000000000000000000000071211672115237016603 0ustar Author: Thorsten Alteholz Description: handle srcdir and top_srcdir --- mpb-1.4.2.orig/src/matrices/Makefile.in +++ mpb-1.4.2/src/matrices/Makefile.in @@ -2,9 +2,13 @@ SHELL = @SHELL@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + CC = @CC@ CFLAGS = @CFLAGS@ -CPPFLAGS = -I../util -I. @CPPFLAGS@ +CPPFLAGS = -I$(top_srcdir)/src/util -I$(srcdir) -I. @CPPFLAGS@ DEFS = @DEFS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ debian/patches/03-mpb-ctl-mpb-split.1.patch0000664000000000000000000000124111672115230015456 0ustar Author: Thorsten Alteholz Description: escape quotes --- mpb-1.4.2.orig/mpb-ctl/mpb-split.1 +++ mpb-1.4.2/mpb-ctl/mpb-split.1 @@ -22,7 +22,7 @@ \fINUM-SPLIT\fR [\fIDEFINITION\fR]... [\fICTLFILE\fR]... .SH DESCRIPTION .PP -." Add any additional description here +.\" Add any additional description here mpb-split is a parallelizing front-end to MIT Photonic Bands (MPB). For a computation with several k points, it splits the list of k points over multiple processes. Of course, this will only benefit you @@ -46,9 +46,7 @@ .I mpb-split looks like: .PP -.Vb 1 \& mpb-split num-split foo.ctl >& foo.out -.Ve .PP This causes .I mpb-split debian/patches/08-src-util-Makefile.in.patch0000664000000000000000000000063711672115252015757 0ustar Author: Thorsten Alteholz Description: handle srcdir and top_srcdir --- mpb-1.4.2.orig/src/util/Makefile.in +++ mpb-1.4.2/src/util/Makefile.in @@ -2,9 +2,13 @@ SHELL = @SHELL@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + CC = @CC@ CFLAGS = @CFLAGS@ -CPPFLAGS = -I. @CPPFLAGS@ +CPPFLAGS = -I$(srcdir) -I. @CPPFLAGS@ DEFS = @DEFS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ debian/patches/12-configure.patch0000664000000000000000000000071511672115301014041 0ustar Author: Thorsten Alteholz Description: add -little for architecture sh4 --- mpb-1.4.2.orig/configure +++ mpb-1.4.2/configure @@ -3159,7 +3159,7 @@ ;; # Ignore these flags. - -lang* | -lcrt0.o | -lc | -lgcc | -libmil | -LANG:=*) + -lang* | -lcrt0.o | -lc | -lgcc | -libmil | -little | -LANG:=*) ;; -lkernel32) test x"$CYGWIN" != xyes && ac_cv_flibs="$ac_cv_flibs $ac_arg" debian/patches/11-utils-mpb-data.1.patch0000664000000000000000000000174311672115271015051 0ustar Author: Thorsten Alteholz Description: escape quotes --- mpb-1.4.2.orig/utils/mpb-data.1 +++ mpb-1.4.2/utils/mpb-data.1 @@ -22,7 +22,7 @@ [\fIOPTION\fR]... [\fIHDF5FILE\fR]... .SH DESCRIPTION .PP -." Add any additional description here +.\" Add any additional description here mpb-data is a utility to perform additional processing and transformations of HDF5 files output by MPB, the MIT Photonic-Bands program. In particular, it is designed to make the output more @@ -45,7 +45,7 @@ option, or by using the syntax \fIHDF5FILE:DATASET\fR. .PP .I mpb-data -writes its output datasets as additional datasets in the input file(s), with "-new" appended to the dataset names. Alternatively, it can write its output to a separate file, specified by the +writes its output datasets as additional datasets in the input file(s), with "\-new" appended to the dataset names. Alternatively, it can write its output to a separate file, specified by the .B -o option. .PP debian/patches/04-mpb-ctl-mpb.1.patch0000664000000000000000000000141211672115233014331 0ustar Author: Thorsten Alteholz Description: escape quote --- mpb-1.4.2.orig/mpb-ctl/mpb.1 +++ mpb-1.4.2/mpb-ctl/mpb.1 @@ -22,7 +22,7 @@ [\fIOPTION\fR]... [\fIDEFINITION\fR]... [\fICTLFILE\fR]... .SH DESCRIPTION .PP -." Add any additional description here +.\" Add any additional description here MIT Photonic Bands (MPB) is a free program to compute the band structures (dispersion relations) and electromagnetic modes of periodic dielectric structures, and is applicable both to photonic @@ -39,9 +39,7 @@ .PP A typical invocation of MPB looks like: .PP -.Vb 1 \& mpb foo.ctl >& foo.out -.Ve .PP This causes MPB to process the control file foo.ctl and redirect its output to foo.out. (One typically redirects output to a file, as the output is