All applications are located in /programs directory and are configured to run without additional settings. In most cases, you will easily be able to run any program in the collection by opening up a terminal shell, and typing the name of the program that you want to run. Linux applications are installed in the /programs/i386-linux subdirectory. Mac applications are installed in the /programs/i386-mac subdirectory (for intel macs) or the /programs/powermac subdirectory (for PPC macs).
Most of the software titles installed in the SBGrid Suite have several versions available. Typically, we try to provide at least three versions of each software package, although very old or very new applications may have fewer versions. To override the default version, follow these instructions.
It is currently possible to run programs remotely over SSH through a process called X-forwarding. To accomplish this, you may simply use the -Y flag in your SSH command, like so:
If you have to access your machine through a gateway (i.e., ssh to crystal.harvard.edu, then to a workstation), you can use a command such as:
After logging in to the remote host, you may launch programs by running the command name in a Terminal. With X-forwarding enabled, programs will launch their user interfaces on your computer, much like they would if you ran the program locally.
NOTE: On Mac OS X, you may need to change your display output in order for certain programs to run correctly. You can do this by opening the X11 preferences, clicking the output tab, and selecting a different option from the 'Colors:' dropdown (the default is "From Display"). 256 Colors will emulate an 8-bit color scheme for running applications such as WEB.
If you need to download a newer version of X11 for OS X, you can find the binaries here: http://xquartz.macosforge.org/trac/wiki
To enable GL required by some programs like coot you will need to run this in a terminal from your account.
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
Running programs from the SBGrid software tree should be as simple as opening a Terminal and typing the name of the application you would like to run. You may see a list of available software packages at: http://sbgrid.org/software/
If you are unable to run programs in this manner, you'll need to add the appropriate lines to your shell configuration. Run echo $SHELL in a terminal to determine which file you should edit.
For tcsh, edit your ~/.cshrc file to contain:
For bash,** **edit your ~/.bashrc file to contain:
if ( -e /programs/sbgrid.cshrc ) then source /programs/sbgrid.cshrc endif
You may also need to create a .bash_profile with the following contents:
if [ -f /programs/sbgrid.shrc ]; then . /programs/sbgrid.shrc fi
if [ -f $HOME/.bashrc ]; then . $HOME/.bashrc fi
Last edited by Mick Timony, 2019-07-25 17:17:04