add in the engine checks for server type
remove mpi direct use from main