Reverted to os.system to avoid mpi fork warnings/errors.