Setup makefile for NCI.
Add error check to MPI call.
Fixes to build NCI build setup including debug build.
Better error output.