MVAPICH 0.9.5 and mpiexec
Anton Starikov
A.Starikov at tnw.utwente.nl
Mon Apr 25 10:11:29 EDT 2005
Sorry, It was wrong patch in last mail.
--- start_tasks.c.old 2005-04-22 16:27:56.000000000 +0200
+++ start_tasks.c 2005-04-25 16:10:33.595060539 +0200
@@ -423,6 +423,14 @@
env_add_int("MPIRUN_PORT", master_port);
env_add_int("MPIRUN_NPROCS", numtasks);
env_add_int("MPIRUN_ID", atoi(jobid)); /* global job id */
+ env_add_int("MPIRUN_MPD", 0);
+ growstr_t *ibprocesses = growstr_init();
+ for (i=0; i<numtasks; i++)
+ growstr_printf(ibprocesses, "%s%s",
+ nodes[tasks[i].node].name,":");
+ env_add("MPIRUN_PROCESSES", ibprocesses->s);
+ growstr_free(ibprocesses);
+
}
if (cl_args->comm == COMM_MPICH2_PMI) {
More information about the mpiexec
mailing list