source: trunk/vizservers/start_viz.sh.in @ 985

Last change on this file since 985 was 985, checked in by dkearney, 16 years ago

updates to startviz, changing the source ip addresses nanoscale should broadcast to because the network the render machines sit on has changed.

  • Property svn:executable set to *
File size: 898 bytes
Line 
1#! /bin/sh
2
3DISPLAY=:0
4export DISPLAY
5
6install_dir=@prefix@
7nanoscalePort=2000
8nanovisPort=2000
9pymolPort=2020
10
11dir=$( mktemp -d /tmp/nanorun.XXXXXX )
12
13PATH=${dir}/bin:$PATH
14LD_LIBRARY_PATH=${dir}/lib:$LD_LIBRARY_PATH
15PYMOL_PATH=${dir}/lib/pymol
16export PATH LD_LIBRARY_PATH PYMOL_PATH
17
18cp -r ${install_dir}/* ${dir}
19
20cd ${dir}
21
22minutes=20
23ulimit -t $(expr ${minutes} \* 60 )
24
25#${dir}/bin/nanoscale -d -b ${nanoscalePort} -s 192.168.200.255 -l ${nanovisPort} -c "${dir}/bin/nanovis -p ${dir}/lib/shaders:${dir}/lib/resources"
26#${dir}/bin/nanoscale -d -b ${nanoscalePort} -s 192.168.200.255 -l ${pymolPort} -c "${dir}/bin/pymolproxy ${dir}/bin/pymol -p -q -i -x -X 0 -Y 0"
27${dir}/bin/nanoscale -b ${nanoscalePort} -s 192.168.200.255 -l ${nanovisPort} -c "${dir}/bin/nanovis -p ${dir}/lib/shaders:${dir}/lib/resources" -l ${pymolPort} -c "${dir}/bin/pymolproxy ${dir}/bin/pymol -p -q -i -x -X 0 -Y 0"
Note: See TracBrowser for help on using the repository browser.