General Project

April 02, 2005

Running Molden and Molekel

Running Molden and Molekel on bazaar using X and X forwarding
  1. Add molden and molekel to your $PATH environment variable:
    • Add the paths in your ~/.bashrc file:
      export PATH=$PATH:/cluster/bazaar/software/molekel/bin/:/cluster/bazaar/software/molden/
  2. You need an X server running on your local machine.
  3. As the rendering applications are executed on bazaar, X forwarding is needed to transfer the application's graphical output to a remote machine (your local machine running an X server in this case). X forwarding is setup automatically with the -X option in ssh when connecting to a bazaar node (example: ssh -X b0.cluster.earlham.edu).
  4. Run molden or molekel in your ssh terminal. The graphical output of the application should be mapped to the X server on your local machine.
An alternative to using -X in ssh: Using $DISPLAY and xhost.
  1. Allow an X connection from a bazaar node on your local machine:
    xhost +b0.cluster.earlham.edu
    xhost + to allow connections from any host
  2. Set your $DISPLAY environment variable to the machine name (or IP address) and display number of your local X server:
    export DISPLAY=159.28.1.1:0.0
    note: The :0.0 is the display number. This value is typically :0.0 or :1.0.
  3. Run the application.
Posted by mccoyjo at April 2, 2005 01:20 AM
Comments