README 1.6 KB

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