Last change
on this file since 986 was
906,
checked in by kostmo, 17 years ago
|
preliminary automation of movie generation
|
-
Property svn:executable set to
*
|
File size:
765 bytes
|
Line | |
---|
1 | #! /bin/sh |
---|
2 | |
---|
3 | DISPLAY=:0 |
---|
4 | export DISPLAY |
---|
5 | |
---|
6 | install_dir=@prefix@ |
---|
7 | dir=$( mktemp -d /tmp/nanorun.XXXXXX ) |
---|
8 | |
---|
9 | PATH=${dir}/bin:$PATH |
---|
10 | LD_LIBRARY_PATH=${dir}/lib:$LD_LIBRARY_PATH |
---|
11 | PYMOL_PATH=${dir}/lib/pymol |
---|
12 | export PATH LD_LIBRARY_PATH PYMOL_PATH |
---|
13 | |
---|
14 | cp -r ${install_dir}/* ${dir} |
---|
15 | |
---|
16 | cd ${dir} |
---|
17 | |
---|
18 | minutes=20 |
---|
19 | ulimit -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.