This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > Academic > mpb (1.11.1)

mpb (computes electromagnetic band structures and modes)

MPB is a free and open-source software package for computing
electromagnetic band structures and modes. It saves results in hdf5
format.

This package requires: hdf5, libctl, lapack

You may wish to also install: h5utils

You very probably want to build a multi-processor version of this
code by adding the "--with-openmp" configure option.

Configuration:

If the build script can find the ATLAS libraries, it will adapt the
configure options to use them rather than the default lapack.

You can add additional options to the command line using
the environment variable SBOPTIONS_MPB; e.g. to enable MPI
(multi-processor calculation) using openmp, use:

SBOPTIONS_MPB="--with-openmp" ./mpb.Slackbuild

Alternatively, if building non-interactively (e.g. if using slpkg),
use/create the file /etc/sbo_pkg_options.conf since this slackbuild
script will search it for options. Simply include a line starting
"mpb:" followed by options, e.g.:

mpb: --with-openmp

If you want to use mpich instead of openmp, you will have to recompile
the installed slackware fftw library with two additional configure
options, i.e. not only "--with-mpi" but also "--enable-type-prefix".

Note:

This mpb build script does *two* passes. This is so that when
MPI support is enabled, the first compiles the mpb-data utility,
then the second builds the full MPI version. The resulting package
includes both, with any MPI version of the files replacing the non-
MPI version.

This requires: hdf5, lapack, libctl

Maintained by: PaulKinsler
Keywords: physics,electromagnetic,bandstructure,modes,fdtd,simulation
ChangeLog: mpb

Homepage:
https://github.com/NanoComp/mpb

Source Downloads:
mpb-1.11.1.tar.gz (99afe4e8e11427c62a896d8eadd1c205)

Download SlackBuild:
mpb.tar.gz
mpb.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:
README
mpb.SlackBuild
mpb.info
slack-desc

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds