Last change
on this file since 852 was
852,
checked in by dkearney, 17 years ago
|
adding time limit of 20 minutes, as requested by rick, "as a stopgap measure to ensure that the render servers don't get bogged down by spinning nanovis processes"
|
-
Property svn:executable set to
*
|
File size:
765 bytes
|
Rev | Line | |
---|
[749] | 1 | #! /bin/sh |
---|
| 2 | |
---|
| 3 | DISPLAY=:0 |
---|
| 4 | export DISPLAY |
---|
| 5 | |
---|
[753] | 6 | install_dir=@prefix@ |
---|
[749] | 7 | dir=$( mktemp -d /tmp/nanorun.XXXXXX ) |
---|
| 8 | |
---|
[753] | 9 | PATH=${dir}/bin:$PATH |
---|
[749] | 10 | LD_LIBRARY_PATH=${dir}/lib:$LD_LIBRARY_PATH |
---|
[760] | 11 | PYMOL_PATH=${dir}/lib/pymol |
---|
| 12 | export PATH LD_LIBRARY_PATH PYMOL_PATH |
---|
[749] | 13 | |
---|
[757] | 14 | cp -r ${install_dir}/* ${dir} |
---|
[749] | 15 | |
---|
| 16 | cd ${dir} |
---|
| 17 | |
---|
[852] | 18 | minutes=20 |
---|
| 19 | ulimit -t $(expr ${minutes} \* 60 ) |
---|
| 20 | |
---|
[760] | 21 | #${dir}/bin/nanoscale -d -b 2000 -s 172.18.3.255 -l 2000 -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.