source: trunk/packages/vizservers/nanoscale/renderservers.tcl.in @ 4060

Last change on this file since 4060 was 4044, checked in by gah, 10 years ago

add comments to renderserver script

File size: 2.2 KB
Line 
1#
2# This file is read by nanoscale to determine the ports to listen
3# to and the how to start the associated render server.
4#
5# Render servers
6#
7#       Server                  Port            Usage
8#       ======                  ====            =====
9#       nanovis                 2000            production
10#       vtkvis                  2010            production
11#       geovis                  2015            testing
12#       vmdshow                 2018            testing
13#       pymol                   2019            testing
14#       pymol                   2020            production
15#
16# The syntax is
17#       register_server <name> <port> <command> <variables>
18#
19# This registers a server by the given name at the given port.
20# When a connection is made to that port, the command is run
21# with the environment variables initialized. 
22#
23# Note: Don't set DISPLAY here. nanoscale itself sets the DISPLAY
24#       variable.
25#
26set exec_prefix "@exec_prefix@"
27set bindir "@bindir@"
28set libdir "@libdir@"
29# This can be removed when we're sure moving to VTK 6
30set vtkdir "@VTK_LIB_DIR@"
31
32# GeoVis server (port 2015) --
33#     Map renderer
34#
35register_server geovis 2015 {
36    ${bindir}/geovis
37} {
38    LD_LIBRARY_PATH ${libdir}
39}
40
41# NanoVis server (port 2000) --
42#     Volume renderer
43#
44register_server nanovis 2000 {
45    ${bindir}/nanovis -p ${libdir}/shaders:${libdir}/resources
46} {
47    LD_LIBRARY_PATH ${libdir}
48}
49
50# VtkVis server (port 2010)--
51#    3D drawings (scene graphs), Contour and surface graphs.
52#    Can remove ":${vtkdir} when moving to VTK 6.
53#
54register_server vtkvis 2010 {
55    ${bindir}/vtkvis
56} {
57    LD_LIBRARY_PATH ${libdir}:${vtkdir}
58}
59
60# Pymol experimental server (port 2019) --
61#     Molecular layouts from PDB description. 
62#     Need PYMOL_SITE_PATH only for parallelpiped box.py location.
63#   
64register_server pymol 2019 {
65    ${bindir}/pymolproxy ${bindir}/pymol -p -q -i -x -X 0 -Y 0
66} {
67    PYMOL_SITE_PATH ${libdir}/pymol
68    LD_LIBRARY_PATH ${libdir}
69}
70
71
72# Pymol server (threaded version of proxy) (port 2010) --
73#     Molecular layouts from PDB description. 
74#     Need PYMOL_SITE_PATH only for parallelpiped box.py location.
75#   
76register_server pymol-threaded 2020 {
77    ${bindir}/pymolproxy2 ${bindir}/pymol -p -q -i -x -X 0 -Y 0
78} {
79    PYMOL_SITE_PATH ${libdir}/pymol
80    LD_LIBRARY_PATH ${libdir}
81}
82
83# vmd server (used for mdshowcase)
84#
85register_server vmdshow 2018 {
86    /usr/bin/vmd -startup ${libdir}/vmd/vmdserver.tcl -args -stdio
87} {
88    LD_LIBRARY_PATH ${libdir}
89}
Note: See TracBrowser for help on using the repository browser.