README 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. mpb (computes electromagnetic band structures and modes)
  2. MPB is a free and open-source software package for computing
  3. electromagnetic band structures and modes. It saves results in hdf5
  4. format.
  5. This package requires: hdf5, libctl, lapack
  6. You may wish to also install: h5utils
  7. You very probably want to build a multi-processor version of this
  8. code by adding the "--with-openmp" configure option.
  9. Configuration:
  10. If the build script can find the ATLAS libraries, it will adapt the
  11. configure options to use them rather than the default lapack.
  12. You can add additional options to the command line using
  13. the environment variable SBOPTIONS_MPB; e.g. to enable MPI
  14. (multi-processor calculation) using openmp, use:
  15. SBOPTIONS_MPB="--with-openmp" ./mpb.Slackbuild
  16. Alternatively, if building non-interactively (e.g. if using slpkg),
  17. use/create the file /etc/sbo_pkg_options.conf since this slackbuild
  18. script will search it for options. Simply include a line starting
  19. "mpb:" followed by options, e.g.:
  20. mpb: --with-openmp
  21. If you want to use mpich instead of openmp, you will have to recompile
  22. the installed slackware fftw library with two additional configure
  23. options, i.e. not only "--with-mpi" but also "--enable-type-prefix".
  24. Note:
  25. This mpb build script does *two* passes. This is so that when
  26. MPI support is enabled, the first compiles the mpb-data utility,
  27. then the second builds the full MPI version. The resulting package
  28. includes both, with any MPI version of the files replacing the non-
  29. MPI version.