Skip to content

Building DAMASK on cluster from Source against Centrally Installed PETSc and HDF5 #11

Answered by MarDiehl
Carldkennedy asked this question in Q&A
Discussion options

You must be logged in to vote

Are there any gotchas we should be aware when building DAMASK this way? Any guidance or help would be greatly appreciated.

DAMASK relies on the PETSc build system and PETSc needs to be aware of HDF5 incl. Fortran bindings (see https://damask.mpie.de/support/FAQ/installation#why-does-compilation-of-grid-or-mesh-solver-fail-due-to-missing-files).
If your PETSc is not aware of HDF5 (and FFTW) but you can ensure compatibility, installation requires manual tweaking of CMakeLists.txt (the version in the root directory, not src/CMakeLists.txt). This file contains some inactive code marked as "experimental" that uses the FindPkgConfig feature of CMake to search for those packages.
Manual modifi…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Carldkennedy
Comment options

@eisenlohr
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by eisenlohr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants