refactor
add test to check errors on slaves
remove snowfall and use parallel for mpi mode