<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>170989</bug_id>
          
          <creation_ts>2007-03-15 02:59 0000</creation_ts>
          <short_desc>[science overlay] sci-physics/meep-0.10 new package</short_desc>
          <delta_ts>2008-02-07 14:23:04 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://ab-initio.mit.edu/wiki/index.php/Meep</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>bmschwar@fas.harvard.edu</reporter>
          <assigned_to>sci-physics@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>bmschwar@fas.harvard.edu</who>
            <bug_when>2007-03-15 02:59:27 0000</bug_when>
            <thetext>I attach an ebuild for Meep.

Meep is a Maxwell&apos;s Equations simulator.  It is research-grade fast and accurate, easy to use, and supports distributed-memory supercomputers.  It also produces pretty pictures; check out the website (I am not affiliated with the developers).

I have tested this ebuild, and it works perfectly.  It also passes all of its own self-tests when run with FEATURES=&quot;test&quot;.

Possible issues (all very minor):
1. The ebuild has use-flags for guile and hdf5.  Without these dependencies the program is essentially only usable as a library.  Unfortunately, there is no way to make them &quot;on by default&quot;.

2. The ebuild has use-flags for gsl and fftw.  If these programs are installed but the flags are not set, they will not be listed as dependencies, but they will still be detected by the ./configure and linked in.  If they are later removed from the system, there will be a linking inconsistency requiring a revdep-rebuild.
2a. There may be a bug causing the program to link in LAPACK and BLAS if they are available, even though they are not used.

3. The website claims to support side-by-side installation of MPI and non-MPI versions of the program.  This feature is not made available in this ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bmschwar@fas.harvard.edu</who>
            <bug_when>2007-03-15 17:57:05 0000</bug_when>
            <thetext>I should mention that this is a sort of sister program to sci-physics/mpb, which is in the tree.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bicatali@gentoo.org</who>
            <bug_when>2007-03-16 09:51:01 0000</bug_when>
            <thetext>(In reply to comment #0)
&gt; I attach an ebuild for Meep.

Did you forget something?

Sébastien</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bmschwar@fas.harvard.edu</who>
            <bug_when>2007-03-16 19:20:25 0000</bug_when>
            <thetext>Created an attachment (id=113490)
ebuild for Meep

I guess so.  I could&apos;ve sworn...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bicatali@gentoo.org</who>
            <bug_when>2007-05-03 17:26:11 0000</bug_when>
            <thetext>Hi Ben,

Thanks for your ebuild. I gave a quick look. Here are a few things you could improve:
- fftw: it is a slotted package. which version &gt;=3 or =2.1* ?
- gsl: is it really an option (fftw as well?) to make it a use flag?
- give honour to the doc and examples by installing at least the few ascii files, more with a &quot;doc&quot; and/or an &quot;examples&quot; use flags.
- syntax: year in header, missing a space in DEPENDS
- libctl/guile: according to the installation web page, they are strongly recommended dep. May be you could just drop the USE flag, and force the dep on libctl.

It also looks like it could greatly benefit from the harminv package from the same guys, but it is not in the tree.

Sébastien

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bmschwar@fas.harvard.edu</who>
            <bug_when>2007-05-07 22:25:03 0000</bug_when>
            <thetext>I have been trying to improve this ebuild (but I also need to spend most of my time actually using the program for a class project).  I can answer some of your questions:

fftw and gsl are actually soft dependencies.  fftw adds extracting the spectrum of the time-series of a field-component at a single location, and gsl adds the ability to use a bessel function in your initial conditions.  I know that I have no use for either function.

libctl+guile is more interesting, I think.  You&apos;re right that they&apos;re strongly recommended, but definitely optional.  My instinct is to have a &quot;no_guile&quot; useflag, but I&apos;m told that this is considered harmful.

I&apos;m trying to learn how to implement &quot;doc&quot; and &quot;examples&quot; flags.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bmschwar@fas.harvard.edu</who>
            <bug_when>2007-05-08 00:46:28 0000</bug_when>
            <thetext>Created an attachment (id=118514)
new ebuild for meep-0.10

This new ebuild includes baseline docs, with useflags for additional (somewhat obsolete) docs and examples.  It also fixes syntax details.

Behavior of libctl useflag is not yet changed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bmschwar@fas.harvard.edu</who>
            <bug_when>2007-05-08 01:14:16 0000</bug_when>
            <thetext>Created an attachment (id=118515)
ebuild for sci-mathematics/harminv-1.3.1

Harminv is a program that is potentially useful for analyzing the simulation output of Meep.  If Harminv is present, Meep provides Guile functions to access Harminv&apos;s algorithm through Meep&apos;s interface.

It is not yet clear to me whether Harminv must be installed before Meep to be accessible through Meep.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bicatali@gentoo.org</who>
            <bug_when>2007-05-11 14:07:12 0000</bug_when>
            <thetext>Hi Ben,

I took a deeper look at your ebuilds, and put in the gentooscience overlay. I had to put a newer version of libctl to make them work on my amd64 box. Test them as much as you can. I changed a few things, so please give it a look as well.  
The easiest way to get the gentooscience overlay is to use layman -a science

Sébastien</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bicatali@gentoo.org</who>
            <bug_when>2007-11-14 15:29:34 0000</bug_when>
            <thetext>Vote of CC yourself if you would like to see it in the tree.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bicatali@gentoo.org</who>
            <bug_when>2008-02-07 14:23:04 0000</bug_when>
            <thetext>meep-0.10.1 now in cvs.

</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>113490</attachid>
            <date>2007-03-16 19:20 0000</date>
            <desc>ebuild for Meep</desc>
            <filename>meep-0.10.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA1IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6ICQKCkRFU0NSSVBUSU9OPSJTaW11bGF0aW9uIHNvZnR3YXJlIHRvIG1vZGVsIGVsZWN0cm9t
YWduZXRpYyBzeXN0ZW1zLiIKSE9NRVBBR0U9Imh0dHA6Ly9hYi1pbml0aW8ubWl0LmVkdS9tZWVw
LyIKU1JDX1VSST0iaHR0cDovL2FiLWluaXRpby5taXQuZWR1L21lZXAvJHtQfS50YXIuZ3oiCgpM
SUNFTlNFPSJHUEwtMiIKU0xPVD0iMCIKS0VZV09SRFM9In54ODYiCklVU0U9ImZmdHcgbXBpIGhk
ZjUgZ3NsIGd1aWxlIgoKREVQRU5EPSJndWlsZT8gKCA+PXNjaS1saWJzL2xpYmN0bC0zLjAgKQoJ
aGRmNT8gKCBzY2ktbGlicy9oZGY1ICkKCWZmdHc/ICggc2NpLWxpYnMvZmZ0dyApCglnc2w/ICgg
c2NpLWxpYnMvZ3NsKQoJbXBpPyAoIHZpcnR1YWwvbXBpICkiCgpzcmNfY29tcGlsZSgpIHsKCWVj
b25mIC0tZW5hYmxlLXNoYXJlZCBcCgkJJCggdXNlX3dpdGggbXBpICkgXAoJCSQoIHVzZV93aXRo
IGhkZjUgKSBcCgkJJCggdXNlX3dpdGggZ3VpbGUgbGliY3RsICkgXAoJCSB8fCBkaWUgImVjb25m
IGZhaWxlZCIKCWVtYWtlIHx8IGRpZSAiZW1ha2UgZmFpbGVkIgp9CgpzcmNfaW5zdGFsbCgpIHsK
CWVtYWtlIGluc3RhbGwgREVTVERJUj0ke0R9IHx8IGRpZSAiZW1ha2UgaW5zdGFsbCBmYWlsZWQi
Cn0K
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>118514</attachid>
            <date>2007-05-08 00:46 0000</date>
            <desc>new ebuild for meep-0.10</desc>
            <filename>meep-0.10.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA3IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6ICQKCkRFU0NSSVBUSU9OPSJTaW11bGF0aW9uIHNvZnR3YXJlIHRvIG1vZGVsIGVsZWN0cm9t
YWduZXRpYyBzeXN0ZW1zLiIKSE9NRVBBR0U9Imh0dHA6Ly9hYi1pbml0aW8ubWl0LmVkdS9tZWVw
LyIKU1JDX1VSST0iaHR0cDovL2FiLWluaXRpby5taXQuZWR1L21lZXAvJHtQfS50YXIuZ3oiCgpM
SUNFTlNFPSJHUEwtMiIKU0xPVD0iMCIKS0VZV09SRFM9In54ODYiCklVU0U9ImZmdHcgbXBpIGhk
ZjUgZ3NsIGd1aWxlIGRvYyBleGFtcGxlcyIKCkRFUEVORD0iZ3VpbGU/ICggPj1zY2ktbGlicy9s
aWJjdGwtMy4wICkKCWhkZjU/ICggc2NpLWxpYnMvaGRmNSApCglmZnR3PyAoIHNjaS1saWJzL2Zm
dHcgKQoJZ3NsPyAoIHNjaS1saWJzL2dzbCApCgltcGk/ICggdmlydHVhbC9tcGkgKSIKCnNyY19j
b21waWxlKCkgewoJZWNvbmYgLS1lbmFibGUtc2hhcmVkIFwKCQkkKCB1c2Vfd2l0aCBtcGkgKSBc
CgkJJCggdXNlX3dpdGggaGRmNSApIFwKCQkkKCB1c2Vfd2l0aCBndWlsZSBsaWJjdGwgKSBcCgkJ
IHx8IGRpZSAiZWNvbmYgZmFpbGVkIgoJZW1ha2UgfHwgZGllICJlbWFrZSBmYWlsZWQiCn0KCnNy
Y19pbnN0YWxsKCkgewoJZW1ha2UgaW5zdGFsbCBERVNURElSPSR7RH0gfHwgZGllICJlbWFrZSBp
bnN0YWxsIGZhaWxlZCIKCWRvZG9jIEFVVEhPUlMgQ09QWUlORyBDT1BZUklHSFQgTkVXUyBSRUFE
TUUgVE9ETwoJaWYgdXNlIGRvYyA7IHRoZW4KCQlkb2NpbnRvIGRvYwoJCWRvZG9jIGRvYy8qCglm
aQoKCWlmIHVzZSBleGFtcGxlcyA7IHRoZW4KCQlkb2NpbnRvIGV4YW1wbGVzCgkJZG9kb2MgZXhh
bXBsZXMvKgoJZmkKfQo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>118515</attachid>
            <date>2007-05-08 01:14 0000</date>
            <desc>ebuild for sci-mathematics/harminv-1.3.1</desc>
            <filename>harminv-1.3.1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA3IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6ICQKCkRFU0NSSVBUSU9OPSJTaW11bGF0aW9uIHNvZnR3YXJlIHRvIG1vZGVsIGVsZWN0cm9t
YWduZXRpYyBzeXN0ZW1zLiIKSE9NRVBBR0U9Imh0dHA6Ly9hYi1pbml0aW8ubWl0LmVkdS9oYXJt
aW52LyIKU1JDX1VSST0iaHR0cDovL2FiLWluaXRpby5taXQuZWR1L2hhcm1pbnYvJHtQfS50YXIu
Z3oiCgpMSUNFTlNFPSJHUEwtMiIKU0xPVD0iMCIKS0VZV09SRFM9In54ODYiCklVU0U9IiIKCkRF
UEVORD0idmlydHVhbC9ibGFzIHZpcnR1YWwvbGFwYWNrIgoKc3JjX2NvbXBpbGUoKSB7CgllY29u
ZiB8fCBkaWUgImVjb25mIGZhaWxlZCIKCWVtYWtlIHx8IGRpZSAiZW1ha2UgZmFpbGVkIgp9Cgpz
cmNfaW5zdGFsbCgpIHsKCWVtYWtlIGluc3RhbGwgREVTVERJUj0ke0R9IHx8IGRpZSAiZW1ha2Ug
aW5zdGFsbCBmYWlsZWQiCglkb2RvYyBBVVRIT1JTIENPUFlJTkcgQ09QWVJJR0hUIE5FV1MgUkVB
RE1FIFRPRE8KfQo=
</data>        

          </attachment>
    </bug>

</bugzilla>