Using the ssh-tunnel

In case you would like to have a simulation running on a Beowulf cluster or a massively parallel supercomputer and the visualization running on your local machine, you need the ssh-tunnel feature of xnbody. In order to set it up, you need to do the following things:

 Install VISIT on the parallel computer or let your system administrator do this (documentation and a download area can be found here). Put a runtime configuration file ".visitcg_config.rc" in your home directory on the parallel machine, which basically looks like this: HOME=/home6/hhd09/hhd093 APISDIR=/usr/local/beta/visit-2.0b/lvisit/apis LVISITINC=/usr/local/beta/visit-2.0b/lvisit/include LVISITLIB=/usr/local/beta/visit-2.0b/lvisit/lib VISITINC=/home6/jzam04/jzam0409/visitinst/include VISITLIB=/home6/jzam04/jzam0409/visitinst/lib VISIT20INST=/usr/local/beta/visit-2.1 VISIT20SRC=/home1/zam/zdv087/visit21/visit VIARFLAGS= -X64 VIAR=ar VICFLAGS= -q64 VICC=xlc_r VIF77=xlf_r VIF90=xlf90_r VIMPXLF=mpxlf90_r VIFORTRANSCHEME=_FORTRANNOCAPS It contains all the paths to the VISIT installation on the parallel machine. Install nbody6++ with xnbody/VISIT support on the parallel machine. Install xnbody on your local machine. You need in your home directories on both the simulation and the visualization side another runtime configuration file named ".visitrc", which looks like this: # seap_server : zam446.zam.kfa-juelich.de seap_port  : 15836 It contains the host name of the machine, on which the seap server is running and a port. Plug in, for instance, your local machine and some arbitrary port. Note that it must be the same port as in the seap server runtime configuration file named ".seapserverrc" in the home directory of your local machine (the one on which you run the visualization and the seap server). Run the seap server on your local machine. Run nbody6++ on the parallel computer. Run xnbody on your local machine.</li> In the xnbody GUI, plug in the host name of the parallel machine (for example "jump.fz-juelich.de"), your login (for example, "hhd093") and the proxy server, which is contained in the VISIT installation on the parallel computer (for instance, "/usr/local/beta/visit-2.1/bin/proxy". Press the Button "Start ssh-tunnel". On the console, from which you started xnbody, you will be asked for your password on the parallel machine. Type it and press Enter.</li> Press the "listen" Button in xnbody. After a while, the Button should turn green, if everything is working.</li> </ol>
 * 1) VIFORTRANSCHEME=_FORTRANCAPS
 * 2) VIFORTRANSCHEME=_FORTRANDOUBLEUNDERSCORE
 * 3) VIFORTRANSCHEME=_FORTRANUNDERSCORE
 * 1) visitrc template
 * 2) defines location of seap-server
 * 3) enter your local changes and uncomment
 * 1) enter your local changes and uncomment
 * 1) enter your local changes and uncomment