Any suggestion for parallel compilation of CalculiX

Hello everybody,
Do you have any suggestion for compiling CalculiX for HPC computing?
As far as I know(according to the ccx user manual), it is straightforward to compile for OpenMP.
My question is about how to compile it for mpi?
Is it possible to replace the existing linear solver with PetSC?
Thank you very much,