Last change
on this file since 755 was
755,
checked in by dkearney, 17 years ago
|
added -p option to nanovis so we can add paths in a colon separated string.
removed all references to hard coded paths in /opt/nanovis
updated start_vis.sh script to include nanovis' -p flag and what a call to pymol might look like
|
-
Property svn:executable set to
*
|
File size:
809 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 | export PATH LD_LIBRARY_PATH |
---|
12 | |
---|
13 | mkdir ${dir}/bin ${dir}/lib |
---|
14 | |
---|
15 | cp ${install_dir}/lib ${dir} |
---|
16 | cp ${install_dir}/bin/voronoi ${install_dir}/bin/nanoscale ${install_dir}/bin/nanovis ${dir}/bin |
---|
17 | |
---|
18 | cd ${dir} |
---|
19 | |
---|
20 | ${dir}/bin/nanoscale -d -b 2000 -s 172.18.3.255 -l 2000 -c "${dir}/bin/nanovis -p ${dir}/lib/shaders:${dir}/lib/resources" |
---|
21 | #${dir}/bin/nanoscale -b 2000 -s 172.18.3.255 -l 2020 -c "${dir}/bin/pymolproxy /opt/pymol/bin/pymol -p -q -i -x -X 0 -Y 0" |
---|
22 | #${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 /opt/pymol/bin/pymol -p -q -i -x -X 0 -Y 0" |
---|
Note: See
TracBrowser
for help on using the repository browser.