1.3.3 Visualization Nodes Linux VirtualGL - UNR-HPC/pronghorn GitHub Wiki

VirtualGL

The Linux installation is more straightforward than Windows.

Installation

cd /tmp
wget -O virtualgl_2.6.2_amd64.deb \ https://versaweb.dl.sourceforge.net/project/virtualgl/2.6.2/virtualgl_2.6.2_amd64.deb

sudo dpkg -i virtualgl_2.6.2_amd64.deb 

Connecting

  1. Launch a Terminal and run:

    #Run vgclient in the background
    vglclient > ~/vgl_output.txt 2>&1 &
    
    #Replace $YOUR_NETID with your netid.
    #vis-0.ph.rc.unr.edu is the CoEN Vis node
    
    ssh -Y -C 4 [email protected]
    
  2. Do a sanity check by running xterm. You should see an xterm launch. You can close it immediately after launching.

  3. Run your application with vglrun

    vglrun matlab
    
    #CoEN MATLAB resides here:
    #/data/gpfs/assoc/coen/software/matlab/R2018b/bin/matlab