source: trunk/vizservers/karl_start_viz.sh.in @ 906

Last change on this file since 906 was 906, checked in by kostmo, 15 years ago

preliminary automation of movie generation

  • Property svn:executable set to *
File size: 765 bytes
Line 
1#! /bin/sh
2
3DISPLAY=:0
4export DISPLAY
5
6install_dir=@prefix@
7dir=$( mktemp -d /tmp/nanorun.XXXXXX )
8
9PATH=${dir}/bin:$PATH
10LD_LIBRARY_PATH=${dir}/lib:$LD_LIBRARY_PATH
11PYMOL_PATH=${dir}/lib/pymol
12export PATH LD_LIBRARY_PATH PYMOL_PATH
13
14cp -r ${install_dir}/* ${dir}
15
16cd ${dir}
17
18minutes=20
19ulimit -t $(expr ${minutes} \* 60 )
20
21${dir}/bin/nanoscale -d -b 2008 -s 172.18.3.255 -l 2008 -c "${dir}/bin/nanovis -p ${dir}/lib/shaders:${dir}/lib/resources"
22#${dir}/bin/nanoscale -d -b 2000 -s 172.18.3.255 -l 2020 -c "${dir}/bin/pymolproxy ${dir}/bin/pymol -p -q -i -x -X 0 -Y 0"
23${dir}/bin/nanoscale -b 2000 -s 172.18.3.255 -l 2000 -c "${dir}/bin/nanovis -p $#{dir}/lib/shaders:${dir}/lib/resources" -l 2020 -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.