diff options
author | PaulKinsler <dr.paul@kinsler.org> | 2020-05-09 18:02:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-10 08:36:56 +0700 |
commit | 4973a958eb68f454daaa9ab1a13f5d8115ed2d09 (patch) | |
tree | 76f2744b09db3fe4aa0efb483f836f74558f11c3 /academic/mpb/README | |
parent | 213db58f3ec3024cd456b41489fbe5cbed9814cb (diff) |
academic/mpb: Added (computing electromagnetic band).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/mpb/README')
-rw-r--r-- | academic/mpb/README | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/academic/mpb/README b/academic/mpb/README new file mode 100644 index 0000000000000..5d6b26c927d69 --- /dev/null +++ b/academic/mpb/README @@ -0,0 +1,37 @@ +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. + +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. |