MPIEXEC and Intel MPI library.
Anton Starikov
A.Starikov at utwente.nl
Wed Apr 27 15:31:17 EDT 2005
Hi!
This patch will fix compatibility issue for MPIEXEC and Intel MPI
Library. It based on MPICH2, but they change a bit startup protocol.
Compatibility with standard (old???) MPICH2 protocol should be keeped
with tis patch.
Anton Starikov
------------------------------------------------------------------------
--- mpiexec/pmi.c 2005-03-14 16:52:19.000000000 +0100
+++ mpiexec_cvs/pmi.c 2005-04-27 21:26:12.535243914 +0200
@@ -222,6 +222,12 @@
if (strcmp(kv->val[0], "init"))
error("%s: expecting cmd=init, got cmd=%s", __func__,
kv->val[0]);
+ if ((kv->num == 2) & (strstr(kv->val[1],".")>0)){
+ kv->key[2]=strdup("pmi_subversion");
+ kv->val[2]=kv->val[1];
+ strsep((kv->val)+2,".");
+ kv->num=3;
+ }
if (kv->num != 3)
error("%s: in cmd=init, expecting 3 word total, got %d", __func__,
kv->num);
------------------------------------------------------------------------
More information about the mpiexec
mailing list