To execute MPI programs that display graphics to your screen (e.g., the Mandelbrot Renderer), you will need to perform the following two steps:
chmod 755 addhostsat the UNIX prompt. Each time you login to your local machine, and want to display graphics from the cluster, execute the addhosts file by typing
addhostsat the UNIX prompt on your local machine. The addhosts file adds each of the machines in the cluster to your local machine's list of machines that have permission to display to your local screen. You can copy this file from
~
pollock/public/addhosts on porsche.
# sample addhosts file xhost +porsche.cis.udel.edu xhost +cobra.cis.udel.edu xhost +corvette.cis.udel.edu xhost +ferrari.cis.udel.edu xhost +jaguar.cis.udel.edu xhost +lamborghini.cis.udel.edu xhost +lotus.cis.udel.edu xhost +maserati.cis.udel.edu xhost +viper.cis.udel.edu
setenv DISPLAY localmachinename:0.0
where localmachinename is replaced by the full name of the machine or xterm at which you are sitting (e.g., quadriga.cis.udel.edu). This command only has to be executed once when you login. Afterward, any graphic images generated by the DEC Alpha client machines and sent to porsche will be passed on to your local machine for display.
To find out the name of the xterm which you are using, you can do either of the following: