summaryrefslogtreecommitdiff
path: root/academic/mpb
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-10-11 18:29:15 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-17 09:37:09 +0700
commitdd01970a34bf754e3ea993e88324eac98f70c569 (patch)
treef3ffeca6ea86437f9b28c2d4d8f495196475e073 /academic/mpb
parentee2fc017edc8bc9c5c14ffcb9c2f6a47ac20b77c (diff)
downloadslackbuilds-dd01970a34bf754e3ea993e88324eac98f70c569.tar.gz
academic/mpb: Fix README, slack-desc.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/mpb')
-rw-r--r--academic/mpb/README42
-rw-r--r--academic/mpb/mpb.SlackBuild5
-rw-r--r--academic/mpb/slack-desc4
3 files changed, 24 insertions, 27 deletions
diff --git a/academic/mpb/README b/academic/mpb/README
index 5f0440095a..4710eced99 100644
--- a/academic/mpb/README
+++ b/academic/mpb/README
@@ -1,7 +1,8 @@
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.
+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
@@ -10,35 +11,32 @@ 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.
+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:
+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.:
+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".
-
-
+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 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.
diff --git a/academic/mpb/mpb.SlackBuild b/academic/mpb/mpb.SlackBuild
index 2be79e9208..3f60fe2617 100644
--- a/academic/mpb/mpb.SlackBuild
+++ b/academic/mpb/mpb.SlackBuild
@@ -151,10 +151,5 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-
-if [ -f $CWD/doinst.sh ] ; then
- cat $CWD/doinst.sh > $PKG/install/doinst.sh
-fi
-
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/academic/mpb/slack-desc b/academic/mpb/slack-desc
index 47ada15959..221d698891 100644
--- a/academic/mpb/slack-desc
+++ b/academic/mpb/slack-desc
@@ -13,3 +13,7 @@ mpb: computing electromagnetic band structures and modes.
mpb:
mpb: Homepage: https://github.com/NanoComp/mpb
mpb:
+mpb:
+mpb:
+mpb:
+mpb: