Installation

Can DAMASK be installed on Windows?

Yes.

Why does compilation fail due to missing files?

DAMASK requires a number of external libraries, such as FFTW or HDF5, that are expected to be included in the local PETSc installation. If this is not the case, there are two options to remedy.

  • Reinstall PETSc using arguments --download-PACKAGENAME if the respective library is not yet available on your system, or --with-PACKAGENAME otherwise. Note that the PETSc developers recommend the first alternative to ensure compatibility between external libraries and the PETSc core.

  • In case the necessary libraries are already present on your system, add the path of the respective Fortran module files to PETSC_INCLUDES and the linker command to PETSC_EXTERNAL_LIB in CMakeLists.txt to make the compiler/linker aware of the location of the required software.