README 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. meep (electromagnetic FDTD solver)
  2. Meep is a free and open-source software package for electromagnetics
  3. simulation via the finite-difference time-domain (FDTD) method spanning
  4. a broad range of applications. It saves results in hdf5 format.
  5. You probably will also want to preinstall: harminv, openmpi
  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. Here, mpb is
  9. specified as a prerequisite since at the present time the python
  10. interface will not build without it.
  11. Configuration:
  12. If the build script can find the ATLAS libraries, it will adapt the
  13. configure options to use them, rather than the the default choice of
  14. lapack.
  15. You can add additional options to the command line using
  16. the environment variable SBOPTIONS_MEEP; e.g. to enable MPI
  17. (multi-processor calculation) using openmp, use:
  18. SBOPTIONS_MEEP="--with-openmp" ./meep.Slackbuild
  19. Alternatively, if building non-interactively (e.g. if using slpkg),
  20. use/create the file /etc/sbo_pkg_options.conf since this slackbuild
  21. script will search it for options. Simply include a line starting
  22. "meep:" followed by options, e.g.:
  23. meep: --with-openmp
  24. Currently, building the python support for meep can be problematic
  25. unless the mpb package is also installed; if you do so, and (e.g.) use
  26. openmp, it is best to build mpb with the same option. You may also
  27. need to install mpi4py using pip. If you do not want python support,
  28. specify "--without-python", and in this case installing mpb is not
  29. necessary.