[mpich-discuss] X11 and mpich2 - passing environment variables with a colon in the name

John Watts john_watts at isoparix.com
Tue Feb 2 16:17:20 CST 2010


Darius,

Thanks for the suggestion, but that gives the same result.   However (as 
so often happens...) having searched the internet for days, and then 
submitted this question, I find the answer within the hour...   

If you want to define the environment variable DISPLAY for an X11 
process, use the full <hostname:m.n> format, eg -env DISPLAY 
localhost:0.0.   Another example:  /cygdrive/c/mpich2/bin/mpiexec.exe 
-env DISPLAY GibbonRd-T40:0.0 -n $1 executable_name.exe

John Watts


More information about the mpich-discuss mailing list