[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27344] [PATCH 03/12] gnu: Add mpb.
From: |
Theodoros Foradis |
Subject: |
[bug#27344] [PATCH 03/12] gnu: Add mpb. |
Date: |
Mon, 12 Jun 2017 19:52:17 +0300 |
* gnu/packages/engineering.scm (mpb): New variable.
---
gnu/packages/engineering.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 1bda7d494..64700c7f9 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -62,6 +62,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages qt)
+ #:use-module (gnu packages readline)
#:use-module (gnu packages swig)
#:use-module (gnu packages tcl)
#:use-module (gnu packages tls)
@@ -874,3 +875,44 @@ determines the frequencies, decay constants, amplitudes,
and phases of those sin
"Libctl is a Guile-based library implementing flexible control files
for scientific simulations.")
(license license:gpl2+)))
+
+(define-public mpb
+ (package
+ (name "mpb")
+ (version "1.5")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "http://ab-initio.mit.edu/mpb/mpb-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1mqb2d8jq957nksayjygq58iy8i42vjryzg9iy5fpfay31wzxsix"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ (list (string-append "--with-libctl="
+ (assoc-ref %build-inputs "libctl")
+ "/share/libctl"))))
+ (native-inputs
+ `(("fortran" ,gfortran)
+ ("pkg-config" ,pkg-config)
+ ("swig" ,swig)))
+ (inputs
+ `(("fftw" ,fftw)
+ ("gsl" ,gsl)
+ ("guile" ,guile-2.2)
+ ("hdf5" ,hdf5)
+ ("lapack" ,lapack)
+ ("libctl" ,libctl)
+ ("readline" ,readline)
+ ("zlib" ,zlib)))
+ (home-page "http://ab-initio.mit.edu/wiki/index.php/MIT_Photonic_Bands")
+ (synopsis "Computes band structures and electromagnetic modes of dielectric
+structures")
+ (description
+ "MIT Photonic-Bands (MPB) computes definite-frequency eigenstates
(harmonic modes)
+of Maxwell's equations in periodic dielectric structures for arbitrary
wavevectors, using
+fully-vectorial and three-dimensional methods.")
+ (license license:gpl2+)))
--
2.13.1
- [bug#27344] [PATCH 02/12] gnu: Add libctl., (continued)
[bug#27344] [PATCH 06/12] gnu: Add freehdl., Theodoros Foradis, 2017/06/12
[bug#27344] [PATCH 03/12] gnu: Add mpb.,
Theodoros Foradis <=
[bug#27344] [PATCH 07/12] gnu: Add asco., Theodoros Foradis, 2017/06/12
[bug#27344] [PATCH 09/12] gnu: Add xyce-serial., Theodoros Foradis, 2017/06/12
[bug#27344] [PATCH 11/12] gnu: Add qucs., Theodoros Foradis, 2017/06/12