Changeset 1265 for trunk/packages
- Timestamp:
- Jan 7, 2009, 10:57:07 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/start_viz.sh.in
r1233 r1265 7 7 set -e 8 8 9 broadcast="192.168.200.255" 9 # Use the IP address of this host to construct a broadcast address. This 10 # feature will be hopefully going away very soon. 11 12 broadcast=`hostname -i | sed 's/\.[0-9]* $/.255'` 13 10 14 render_dir="@prefix@" 11 15 nanoscale_port=2000 … … 25 29 export PATH LD_LIBRARY_PATH PYMOL_PATH 26 30 27 nvideo=`lspci | fgrep VGA | wc -l` 31 # Determine the number of video cards we have. The new render server 32 # motherboards have the useless XGI Volaria onboard video controllers (no 3D 33 # capabilities) so we have to make sure we count only the nVidia cards. 34 35 nvideo=`lspci | fgrep VGA | fgrep nVidia | wc -l` 36 28 37 nanoscale="${dir}/bin/nanoscale -x ${nvideo} -b $nanoscale_port -s $broadcast" 29 38 nanovis="${dir}/bin/nanovis -p ${dir}/lib/shaders:${dir}/lib/resources"
Note: See TracChangeset
for help on using the changeset viewer.