First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 170989
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Physics related packages <sci-physics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ben Schwartz <bmschwar@fas.harvard.edu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
meep-0.10.ebuild ebuild for Meep text/plain Ben Schwartz 2007-03-16 19:20 0000 744 bytes Details
meep-0.10.ebuild new ebuild for meep-0.10 text/plain Ben Schwartz 2007-05-08 00:46 0000 926 bytes Details
harminv-1.3.1.ebuild ebuild for sci-mathematics/harminv-1.3.1 text/plain Ben Schwartz 2007-05-08 01:14 0000 581 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 170989 depends on: Show dependency tree
Bug 170989 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-15 02:59 0000
I attach an ebuild for Meep.

Meep is a Maxwell'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="test".

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 "on by default".

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.

------- Comment #1 From Ben Schwartz 2007-03-15 17:57:05 0000 -------
I should mention that this is a sort of sister program to sci-physics/mpb,
which is in the tree.

------- Comment #2 From Sébastien Fabbro 2007-03-16 09:51:01 0000 -------
(In reply to comment #0)
> I attach an ebuild for Meep.

Did you forget something?

Sébastien

------- Comment #3 From Ben Schwartz 2007-03-16 19:20:25 0000 -------
Created an attachment (id=113490) [edit]
ebuild for Meep

I guess so.  I could've sworn...

------- Comment #4 From Sébastien Fabbro 2007-05-03 17:26:11 0000 -------
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 >=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 "doc" and/or an "examples" 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

------- Comment #5 From Ben Schwartz 2007-05-07 22:25:03 0000 -------
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're right that they're strongly
recommended, but definitely optional.  My instinct is to have a "no_guile"
useflag, but I'm told that this is considered harmful.

I'm trying to learn how to implement "doc" and "examples" flags.

------- Comment #6 From Ben Schwartz 2007-05-08 00:46:28 0000 -------
Created an attachment (id=118514) [edit]
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.

------- Comment #7 From Ben Schwartz 2007-05-08 01:14:16 0000 -------
Created an attachment (id=118515) [edit]
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's algorithm through Meep's interface.

It is not yet clear to me whether Harminv must be installed before Meep to be
accessible through Meep.

------- Comment #8 From Sébastien Fabbro 2007-05-11 14:07:12 0000 -------
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

------- Comment #9 From Sébastien Fabbro 2007-11-14 15:29:34 0000 -------
Vote of CC yourself if you would like to see it in the tree.

------- Comment #10 From Sébastien Fabbro 2008-02-07 14:23:04 0000 -------
meep-0.10.1 now in cvs.

First Last Prev Next    No search results available      Search page      Enter new bug