This web mail archive is frozen.
This page is part of a frozen web archive of this mailing list.
You can still navigate around this archive, but know that no new mails
have been added to it since July of 2016.
Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.
Thanks for your solution, but I thought about that and it is not really
convenient in my configuration to change the executable on each node.
I would like to change only mpirun command.
2009/2/27 Matt Hughes
> 2009/2/27 Nicolas Deladerriere <nicolas.deladerriere_at_[hidden]>:
> > I am looking for a way to set environment variable with different value
> > each node before running MPI executable. (not only export the environment
> > variable !)
> I typically use a script for things like this. So instead of
> specifying your executable directly on the mpirun command line,
> instead specify the script. The script can set the environment
> variable, then launch your executable.
> setenv GMON_OUT_PREFIX 'gmon.out_'`/bin/uname -n`
> mpirun -np 2 --bynode --hostfile CLUSTER_NODES myscript
> I'm not sure if that csh syntax is right, but you get the idea.
> users mailing list