summaryrefslogtreecommitdiffstats
path: root/academic/meep/README
diff options
context:
space:
mode:
author PaulKinsler2020-05-12 17:19:44 +0200
committer Willy Sudiarto Raharjo2020-05-16 03:44:09 +0200
commit3041ded36735604f66d78643cc35fa6a6d6f25ae (patch)
tree94be3dd2ecccbaa9569d85e317a214ec8f84eaec /academic/meep/README
parent1a25ffdedb248617a5f6097a4016181fa7c3adc5 (diff)
downloadslackbuilds-3041ded36735604f66d78643cc35fa6a6d6f25ae.tar.gz
academic/meep: Updated for version 1.14.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/meep/README')
-rw-r--r--academic/meep/README44
1 files changed, 36 insertions, 8 deletions
diff --git a/academic/meep/README b/academic/meep/README
index 9baddd56dd..7c2f438e1d 100644
--- a/academic/meep/README
+++ b/academic/meep/README
@@ -1,14 +1,42 @@
meep (electromagnetic FDTD solver)
-Meep is a free and open-source software package for
-electromagnetics simulation via the finite-difference
-time-domain (FDTD) method spanning a broad range of
-applications.
+Meep is a free and open-source software package for electromagnetics
+simulation via the finite-difference time-domain (FDTD) method spanning
+a broad range of applications. It saves results in hdf5 format.
-You may wish to preinstall: harminv, mpb
+This package requires: hdf5, libctl, lapack, mpb
+
+You probably will also want to preinstall: harminv
You may wish to also install: h5utils
-If the build script can find the ATLAS libraries, it will
-adapt the configure options to use them rather than the
-default lapack.
+You very probably want to build a multi-processor version of this
+code by adding the "--with-openmp" configure option. Here, mpb is
+specified as a prerequisite since at the present time the python
+interface will not build without it.
+
+
+
+Configuration:
+
+If the build script can find the ATLAS libraries, it will adapt the configure
+options to use them, rather than the the default choice of lapack.
+
+You can add additional options to the command line using the environment
+variable SBOPTIONS_MEEP; e.g. to enable MPI (multi-processor calculation)
+using openmp, use:
+
+SBOPTIONS_MEEP="--with-openmp" ./meep.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 "meep:" followed by options, e.g.:
+
+meep: --with-openmp
+
+Currently, building the python support for meep can be problematic unless
+the mpb package is also installed; if you do so, and (e.g.) use openmp, it is
+best to build mpb with the same option. You may also need to install mpi4py
+using pip. If you do not want python support, specify "--without-python",
+and in this case installing mpb is not necessary.
+