Demonstrations


The following X window demonstrations require the computer hosts to be allowed to make connections to the X server where the program output will be viewd. The current distribution, when your X11 host use gdm and other display manager, the X server dose not allow TCP domain connections. In this case, you need to change X server to allow TCP domain connections. For example, you use Fedora Core 3 and gdm, please execute following:
  1. Please edit /etc/X11/gdm/gdm.conf.
    Please change the following line:
        #DisallowTCP=true
    
    to following:
        DisallowTCP=false
    
  2. To restart gdm, please reboot the host.
  3. Please login again.
  4. To check X11, please execute following command:
        ps axwww | grep X
    
    If the argument -nolisten tcp  is not found
    in /usr/X11R6/bin/X command, the X11 server is OK.
    
  5. Please set DISPLAY variable to hostname:0.

  1. Mandelbrot using MPC++ MTTL
    Under the Single-User Environment:
    Issue the following command on your X terminal:
    	$ xhost +
    
    Login to the server host and issue the following commands:
    	$ scout -g pcc
    	$ scrun -nodes=4 /opt/score/demo/bin/mandel
    
    The following window should be displayed:

    Under the Multi-User Environment:
    To execute the Mandelbrot demonstration program written in MPC++ MTTL under the Multi-User Environment, where scored(8) is assumed to be running on the comp3 host, issue the following command:
    	$ scrun -nodes=4,scored=comp3.pccluster.org \
    	        /opt/score/demo/bin/mandel
    
    The same window shown above should appear.

  2. Mandelbrot using MPICH-SCore

    Under the Single-User Environment:
    To execute the Mandelbrot demonstration using the MPICH-SCore program under the Single-User Environment, login to the server host and issue the following commands:
    	$ scout -g pcc
    	$ mpirun -np 4 /opt/score/demo/bin/pmandel
    
    The following window should be displayed:

    Under the Multi-User Environment:
    To execute the Mandelbrot demonstration program using MPICH-SCore under the Multi-User Environment, issue the following command:
    	$ scrun -nodes=4,scored=comp3.pccluster.org /opt/score/demo/bin/pmandel
    
    The same window shown above should appear.

PCCC logo PC Cluster Consotium

CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2003-2004 PC Cluster Consortium.