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

Last change on this file since 4113 was 4113, checked in by gah, 9 years ago

add switches to nanoscale

File size: 2.5 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#
26# Defaults:
27#   o Server reads from file descriptor 0.
28#   o Server writes to descriptor 1.
29#   o Server stdout and stderr are redirected to a log file. 
30#
31
32set exec_prefix "@exec_prefix@"
33set bindir "@bindir@"
34set libdir "@libdir@"
35
36# GeoVis server (port 2015) --
37#     Map renderer
38#
39register_server geovis 2015 {
40    ${bindir}/geovis -i 3 -o 3
41} {
42    LD_LIBRARY_PATH ${libdir}
43}
44
45# NanoVis server (port 2000) --
46#     Volume renderer
47#
48register_server nanovis 2000 {
49    ${bindir}/nanovis -i 3 -o 3 -p ${libdir}/shaders:${libdir}/resources
50} {
51    LD_LIBRARY_PATH ${libdir}
52}
53
54# VtkVis server (port 2010)--
55#    3D drawings (scene graphs), Contour and surface graphs.
56#    Can remove ":${vtkdir} when moving to VTK 6.
57#
58register_server vtkvis 2010 {
59    ${bindir}/vtkvis -i 3 -o 3
60} {
61    LD_LIBRARY_PATH ${libdir}
62}
63
64# Pymol experimental server (port 2019) --
65#     Molecular layouts from PDB description. 
66#     Need PYMOL_SITE_PATH only for parallelpiped box.py location.
67#   
68register_server pymolproxy 2019 {
69    ${bindir}/pymolproxy ${bindir}/pymol -p -q -i -x -X 0 -Y 0
70} {
71    PYMOL_SITE_PATH ${libdir}/pymol
72    LD_LIBRARY_PATH ${libdir}
73}
74
75# Pymol server (threaded version of proxy) (port 2010) --
76#     Molecular layouts from PDB description. 
77#     Need PYMOL_SITE_PATH only for parallelpiped box.py location.
78#   
79register_server pymolproxy-threaded 2020 \
80    -logstdout no -logstderr no \
81{
82    ${bindir}/pymolproxy2 ${bindir}/pymol -p -q -i -x -X 0 -Y 0
83} {
84    PYMOL_SITE_PATH ${libdir}/pymol
85    LD_LIBRARY_PATH ${libdir}
86}
87
88# vmd server (used for mdshowcase)
89#
90register_server vmdshow 2018 \
91    -input 3 -output 4 -combinelogs no \
92{
93    ${libdir}/vmd/vmd_LINUXAMD64 -startup ${libdir}/vmd/vmdserver.tcl \
94        -args -stdio
95} {
96    VMDDIR ${libdir}/vmd
97    SURF_BIN ${libdir}/vmd/surf
98    LD_LIBRARY_PATH ${libdir}
99}
100   
101
Note: See TracBrowser for help on using the repository browser.