debian/0000755000000000000000000000000012321501662007164 5ustar debian/watch0000644000000000000000000000016111443203064010212 0ustar version=3 http://ab-initio.mit.edu/wiki/index.php/Meep_download http://ab-initio.mit.edu/meep/meep-(.*)\.tar\.gz debian/libmeep-mpich2-dev.install0000644000000000000000000000007011763574302014134 0ustar usr/include usr/lib/libmeep_mpich2.so usr/lib/pkgconfig debian/README.source0000644000000000000000000000353511671615250011357 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/meep-mpich2.docs0000644000000000000000000000002111443203064012134 0ustar NEWS README TODO debian/libmeep-mpich2-6.install0000644000000000000000000000011211763574514013525 0ustar usr/lib/libmeep_mpich2.so.* usr/share/meep-mpich2/* usr/share/meep-mpich2 debian/libmeep-mpich2-6.lintian0000644000000000000000000000025211763635314013516 0ustar #due to arch- and optimisation-dependent symbols the symbols-file is not #maintainable and FTBSs occur on lots of architectures libmeep-mpich2-6: no-symbols-control-file debian/rules0000755000000000000000000000557012155132771010261 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk package = meep-mpich2 soname = 6 lm = lib$(package)-$(soname) lmd = lib$(package)-dev # 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) CONFIGURE_FLAGS = --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --with-libctl=/usr/share/libctl3 \ --enable-shared --with-pic --enable-cxx \ --with-mpi=yes configure: configure-stamp-mpich2 configure-stamp-mpich2: dh_testdir mkdir -p debian/build-mpich2 cat configure | \ sed "s/PACKAGE_NAME='meep'/PACKAGE_NAME='meep-mpich2'/g" |\ sed "s/PACKAGE='meep'/PACKAGE='meep-mpich2'/g" > configure-mpich2 chmod 755 configure-mpich2 cd debian/build-mpich2 && \ F77=gfortran ../../configure-mpich2 $(CONFIGURE_FLAGS) rm -f configure-mpich2 touch configure-stamp-mpich2 build: build-arch build-indep build-arch: build-stamp-mpich2 build-indep: build-stamp-mpich2 build-stamp-mpich2: configure-stamp-mpich2 dh_testdir $(MAKE) -C debian/build-mpich2/ touch build-stamp-mpich2 clean: dh_testdir dh_testroot -rm -rf debian/build-mpich2 dh_clean configure-stamp* build-stamp* install-stamp* install: install-mpich2 # Lintian overrides set -e; \ cd debian ; \ for i in *.lintian ; do \ [ -r "$$i" ] && { \ mkdir -p "$${i%%.lintian}/usr/share/lintian/overrides" ;\ install -m 644 "$$i" "$${i%%.lintian}/usr/share/lintian/overrides/$${i%%.lintian}" ;\ } ;\ done install-mpich2: build-stamp-mpich2 dh_testdir dh_testroot mkdir -p debian/build-mpich2/tmpinst $(MAKE) -C debian/build-mpich2/ install prefix=$(CURDIR)/debian/build-mpich2/tmpinst/usr /usr/bin/chrpath -d debian/build-mpich2/tmpinst/usr/lib/libmeep_mpich2.so /usr/bin/chrpath -d debian/build-mpich2/tmpinst/usr/bin/meep-mpich2 mv debian/build-mpich2/tmpinst/usr/include/meep-mpich2 debian/build-mpich2/tmpinst/usr/include/meep dh_install -pmeep-mpich2 -p$(lm) -p$(lmd) \ --sourcedir=debian/build-mpich2/tmpinst binary-indep: binary-arch: build install dh_testdir dh_testroot dh_installdocs dh_installman dh_installman -pmeep-mpich2 debian/meep-mpich2.1 dh_installchangelogs ChangeLog dh_link dh_strip dh_compress dh_fixperms dh_makeshlibs -p$(lm) dh_installdeb dh_shlibdeps -pmeep-mpich2 dh_shlibdeps -p$(lm) dh_gencontrol dh_md5sums dh_builddeb -pmeep-mpich2 -p$(lm) -p$(lmd) binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure install-mpich2 debian/libmeep-mpich2-6.postrm0000644000000000000000000000012411443203064013366 0ustar #!/bin/sh set -e if [ "$1" = "remove" ]; then ldconfig fi #DEBHELPER# exit 0 debian/libmeep-mpich2-6.postinst0000644000000000000000000000012711443203064013730 0ustar #!/bin/sh set -e if [ "$1" = "configure" ]; then ldconfig fi #DEBHELPER# exit 0 debian/meep-mpich2.install0000644000000000000000000000001011443203064012650 0ustar usr/bin debian/copyright0000644000000000000000000000125011763623302011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: MEEP Upstream-Source: http://ab-initio.mit.edu/wiki/index.php/Meep Files: * Copyright: Copyright 2005-2008 Massachusetts Institute of Technology. Comment: Upstream-Maintainer: Steven G. Johnson 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. Files: debian/* Copyright: Copyright 2012 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/docs0000644000000000000000000000002111443203064010027 0ustar NEWS README TODO debian/source/0000755000000000000000000000000011671615130010467 5ustar debian/source/format0000644000000000000000000000001411671615130011675 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011763624354010630 5ustar debian/patches/package-name.patch0000644000000000000000000000114411763624354014162 0ustar Description: As this is a spin-off, the package name has to be patched Author: Thorsten Alteholz Index: meep-mpich2-1.1.1/configure =================================================================== --- meep-mpich2-1.1.1.orig/configure 2010-09-14 20:06:48.000000000 +0200 +++ meep-mpich2-1.1.1/configure 2011-12-13 10:29:17.000000000 +0100 @@ -3897,7 +3897,7 @@ fi CXX=$MPICXX - MEEP_SUFFIX="${MEEP_SUFFIX}_mpi" + MEEP_SUFFIX="${MEEP_SUFFIX}_mpich2" # Detect stupid MPICH problem with SEEK_SET conflicting between # the mpi.h header file and the stdio.h header file in C++ debian/patches/series0000644000000000000000000000002311671615330012030 0ustar package-name.patch debian/compat0000644000000000000000000000000211763574024010375 0ustar 9 debian/control0000644000000000000000000001143411773132262010600 0ustar Source: meep-mpich2 Section: science Priority: optional Maintainer: Thorsten Alteholz Build-Depends: gfortran, debhelper (>= 9), autotools-dev, libctl-dev (>= 3.0.3-3), pkg-config, libharminv-dev (>= 1.1), zlib1g-dev, libfftw3-dev, libhdf5-mpich2-dev, libgsl0-dev, liblapack-dev, libmpich2-dev, libatlas-base-dev, chrpath, dpkg-dev (>= 1.16.1~) Standards-Version: 3.9.3 Homepage: http://ab-initio.mit.edu/wiki/index.php/Meep DM-Upload-Allowed: yes Package: meep-mpich2 Architecture: any Depends: ${shlibs:Depends}, mpich2, ${misc:Depends} Description: software package for FDTD simulation, parallel (OpenMPI) version Meep (or MEEP) is a free finite-difference time-domain (FDTD) simulation software package developed at MIT to model electromagnetic systems. . Its features include: * Simulation in 1d, 2d, 3d, and cylindrical coordinates. * Distributed memory parallelism on any system supporting the MPI standard. * Dispersive (including loss/gain) and nonlinear (Kerr & Pockels) materials. Magnetic permeability and electric/magnetic conductivities. * PML absorbing boundaries and/or perfect conductor and/or Bloch-periodic boundary conditions. * Exploitation of symmetries to reduce the computation size . even/odd mirror symmetries and 90/180 degree rotations. * Complete scriptability - either via a Scheme scripting front-end (as in libctl and MPB), or callable as a C++ library. * Field output in the HDF5 standard scientific data format, supported by many visualization tools. * Arbitrary material and source distributions. * Field analyses including flux spectra, frequency extraction, and energy integrals; completely programmable. * Multi-parameter optimization, root-finding, integration, etcetera (via libctl). . This package contains the MPICH2 version of the software. Package: libmeep-mpich2-6 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: library for using parallel (OpenMPI) version of meep Meep (or MEEP) is a free finite-difference time-domain (FDTD) simulation software package developed at MIT to model electromagnetic systems. . Its features include: * Simulation in 1d, 2d, 3d, and cylindrical coordinates. * Distributed memory parallelism on any system supporting the MPI standard. * Dispersive (including loss/gain) and nonlinear (Kerr & Pockels) materials. Magnetic permeability and electric/magnetic conductivities. * PML absorbing boundaries and/or perfect conductor and/or Bloch-periodic boundary conditions. * Exploitation of symmetries to reduce the computation size . even/odd mirror symmetries and 90/180 degree rotations. * Complete scriptability - either via a Scheme scripting front-end (as in libctl and MPB), or callable as a C++ library. * Field output in the HDF5 standard scientific data format, supported by many visualization tools. * Arbitrary material and source distributions. * Field analyses including flux spectra, frequency extraction, and energy integrals; completely programmable. * Multi-parameter optimization, root-finding, integration, etcetera (via libctl). . This package contains the MPICH2 version of the library. Package: libmeep-mpich2-dev Section: libdevel Architecture: any Conflicts: libmeep-dev, libmeep-mpi-dev, libmeep-mpich-dev, libmeep-openmpi-dev, libmeep-mpi-default-dev, libmeep-lam4-dev Depends: libmeep-mpich2-6 (= ${binary:Version}), ${misc:Depends} Description: development library for using parallel (OpenMPI) version of meep Meep (or MEEP) is a free finite-difference time-domain (FDTD) simulation software package developed at MIT to model electromagnetic systems. . Its features include: * Simulation in 1d, 2d, 3d, and cylindrical coordinates. * Distributed memory parallelism on any system supporting the MPI standard. * Dispersive (including loss/gain) and nonlinear (Kerr & Pockels) materials. Magnetic permeability and electric/magnetic conductivities. * PML absorbing boundaries and/or perfect conductor and/or Bloch-periodic boundary conditions. * Exploitation of symmetries to reduce the computation size . even/odd mirror symmetries and 90/180 degree rotations. * Complete scriptability - either via a Scheme scripting front-end (as in libctl and MPB), or callable as a C++ library. * Field output in the HDF5 standard scientific data format, supported by many visualization tools. * Arbitrary material and source distributions. * Field analyses including flux spectra, frequency extraction, and energy integrals; completely programmable. * Multi-parameter optimization, root-finding, integration, etcetera (via libctl). . This package contains some files for developing software linked to MPICH2. debian/changelog0000644000000000000000000000172212321501662011040 0ustar meep-mpich2 (1.1.1-10build1) trusty; urgency=medium * Rebuild against libmpich10. -- Colin Watson Thu, 10 Apr 2014 12:42:41 +0100 meep-mpich2 (1.1.1-10) unstable; urgency=low * debian/rules: mv /usr/include/meep-mpich2 to /usr/include/meep (Closes: #711768) -- Thorsten Alteholz Sun, 09 Jun 2013 11:00:00 +0200 meep-mpich2 (1.1.1-9) unstable; urgency=low * debian/control: add more Conflicts: * debian/control: fix typo in mpich2 dependency -- Thorsten Alteholz Thu, 28 Jun 2012 20:00:00 +0200 meep-mpich2 (1.1.1-8) unstable; urgency=low * this package is a spin-off of meep-openmpi (1.1.1-8) As requested by users this package is linked against mpich2 instead of openmpi * debian/control: depend on debhelper >=9 * debian/control: standards version changed to 3.9.3 (no changes) -- Thorsten Alteholz Wed, 06 Jun 2012 18:00:00 +0200 debian/meep-mpich2.10000644000000000000000000000203411763574733011375 0ustar .TH MEEP-MPICH2 1 "November 18, 2006" "meep-mpich2" "meep-mpich2" .SH NAME meep-mpich2 \- finite-difference time-domain simulations .SH SYNOPSIS .B meep-mpich2 [options] [definitions] [ctl files] .br .SH DESCRIPTION \fBmeep-mpich2\fP is a free finite-difference time-domain (FDTD) simulation software package developed at MIT to model electromagnetic systems. .SH OPTIONS These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. .TP .B \-h, \-\-help Show summary of options. .TP .B \-V, \-\-version Show version of program. .TP .B \-v, \-\-verbose Enable verbose output. .TP .B \-\-spec\-file= Use for spec. file. .SH DEFINITIONS Assignements of the form = .SH CONTROL FILES Zero or more Scheme/ctl files to execute. .SH AUTHOR meep-mpich2 was written by Steven G. Johnson . .PP This manual page was written by Loic Le Guyader , for the Debian project (but may be used by others).