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

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

fixes to vmdserver script and renderservers entry for vmdshow

File size: 2.6 KB
RevLine 
[4044]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#
[4113]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
[2348]32set exec_prefix "@exec_prefix@"
33set bindir "@bindir@"
34set libdir "@libdir@"
35
[4043]36# GeoVis server (port 2015) --
[4011]37#     Map renderer
[2348]38#
[4115]39register_server geovis 2015 \
40    -output 3 -logstdout no -logstderr no \
41{
42    ${bindir}/geovis -o 3
[2348]43} {
[2406]44    LD_LIBRARY_PATH ${libdir}
[2348]45}
46
[4043]47# NanoVis server (port 2000) --
[4011]48#     Volume renderer
[2384]49#
[4115]50register_server nanovis 2000 \
51    -output 3 -logstdout no -logstderr no \
52{
53    ${bindir}/nanovis -o 3 -p ${libdir}/shaders:${libdir}/resources
[2384]54} {
[2406]55    LD_LIBRARY_PATH ${libdir}
[2384]56}
57
[4043]58# VtkVis server (port 2010)--
59#    3D drawings (scene graphs), Contour and surface graphs.
[4044]60#    Can remove ":${vtkdir} when moving to VTK 6.
[4043]61#
[4115]62register_server vtkvis 2010 \
63    -output 3 -logstdout no -logstderr no \
64{
65    ${bindir}/vtkvis -o 3
[4043]66} {
[4064]67    LD_LIBRARY_PATH ${libdir}
[4043]68}
69
70# Pymol experimental server (port 2019) --
[4011]71#     Molecular layouts from PDB description. 
72#     Need PYMOL_SITE_PATH only for parallelpiped box.py location.
[2348]73#   
[4113]74register_server pymolproxy 2019 {
[2348]75    ${bindir}/pymolproxy ${bindir}/pymol -p -q -i -x -X 0 -Y 0
76} {
[2670]77    PYMOL_SITE_PATH ${libdir}/pymol
[2406]78    LD_LIBRARY_PATH ${libdir}
[2348]79}
[2637]80
[4043]81# Pymol server (threaded version of proxy) (port 2010) --
[4011]82#     Molecular layouts from PDB description. 
83#     Need PYMOL_SITE_PATH only for parallelpiped box.py location.
[2637]84#   
[4113]85register_server pymolproxy-threaded 2020 \
86    -logstdout no -logstderr no \
87{
[2637]88    ${bindir}/pymolproxy2 ${bindir}/pymol -p -q -i -x -X 0 -Y 0
89} {
[2670]90    PYMOL_SITE_PATH ${libdir}/pymol
[2637]91    LD_LIBRARY_PATH ${libdir}
92}
[4011]93
[4043]94# vmd server (used for mdshowcase)
[4011]95#
[4113]96register_server vmdshow 2018 \
[4152]97    -input 3 -output 4 -combinelogs yes \
[4113]98{
99    ${libdir}/vmd/vmd_LINUXAMD64 -startup ${libdir}/vmd/vmdserver.tcl \
[4131]100        -args -stdio
[4011]101} {
[4097]102    VMDDIR ${libdir}/vmd
103    SURF_BIN ${libdir}/vmd/surf
[4152]104    MSMSSERVER ${libdir}/vmd/msms
[4043]105    LD_LIBRARY_PATH ${libdir}
[4152]106    __GL_SYNC_TO_VBLANK 0
[4131]107}
Note: See TracBrowser for help on using the repository browser.