public static Object Probe(int source, int tag) throws MPIException, InterruptedException { if (mpiRun) { if (source == -1) source = MPI.ANY_SOURCE; if (tag == -1) tag = MPI.ANY_TAG; return MPI.COMM_WORLD.Probe(source, tag); } else return threadEle.get(Thread.currentThread()).Probe(source, tag); }