MPIWrapper sets optimal flag only if not set by user.