Compilation options

From FDTD++ wiki
Jump to: navigation, search

A number of compilation options can be set through the use of macros that control the compilation of FDTD++. These can be added to the CXXFLAGS in the Makefile, in the form -DMACRO.


  • SERIAL: Invoking this will force compilation of the serial version of FDTD++. In this case, an implementation of MPI (compiler and library) is not needed.
  • NOSILO: Invoking this will remove the libhdf5 and libsilo(h5) requirements[1].

Notes and references

  1. Temporarily, NOSILO this will result in the loss of ability to output electromagnetic fields. A fallback to legacy vtk format is planned for future releases of FDTD++.