Add a few more %ld
Change to MPI initialisation to avoid unassigned pointer
Try again with const_cast
Merged chris/issue-314 into master
Merged chris/issue-384 into master