check at startup mpi thread support