Use mpirun for DG with periodic BC

When trying to use mpi for solving transport equation using DG with periodic boundary condition getting ‘Segmentation fault’ error. It is related to parameters[“ghost_mode”] = “shared_facet”, but can not solve the problem without this parameter.
Thanks in advance.