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 | set exec_prefix "@exec_prefix@" |
---|
27 | set bindir "@bindir@" |
---|
28 | set libdir "@libdir@" |
---|
29 | |
---|
30 | # GeoVis server (port 2015) -- |
---|
31 | # Map renderer |
---|
32 | # |
---|
33 | register_server geovis 2015 { |
---|
34 | ${bindir}/geovis |
---|
35 | } { |
---|
36 | LD_LIBRARY_PATH ${libdir} |
---|
37 | } |
---|
38 | |
---|
39 | # NanoVis server (port 2000) -- |
---|
40 | # Volume renderer |
---|
41 | # |
---|
42 | register_server nanovis 2000 { |
---|
43 | ${bindir}/nanovis -p ${libdir}/shaders:${libdir}/resources |
---|
44 | } { |
---|
45 | LD_LIBRARY_PATH ${libdir} |
---|
46 | } |
---|
47 | |
---|
48 | # VtkVis server (port 2010)-- |
---|
49 | # 3D drawings (scene graphs), Contour and surface graphs. |
---|
50 | # Can remove ":${vtkdir} when moving to VTK 6. |
---|
51 | # |
---|
52 | register_server vtkvis 2010 { |
---|
53 | ${bindir}/vtkvis |
---|
54 | } { |
---|
55 | LD_LIBRARY_PATH ${libdir} |
---|
56 | } |
---|
57 | |
---|
58 | # Pymol experimental server (port 2019) -- |
---|
59 | # Molecular layouts from PDB description. |
---|
60 | # Need PYMOL_SITE_PATH only for parallelpiped box.py location. |
---|
61 | # |
---|
62 | register_server pymol 2019 { |
---|
63 | ${bindir}/pymolproxy ${bindir}/pymol -p -q -i -x -X 0 -Y 0 |
---|
64 | } { |
---|
65 | PYMOL_SITE_PATH ${libdir}/pymol |
---|
66 | LD_LIBRARY_PATH ${libdir} |
---|
67 | } |
---|
68 | |
---|
69 | # Pymol server (threaded version of proxy) (port 2010) -- |
---|
70 | # Molecular layouts from PDB description. |
---|
71 | # Need PYMOL_SITE_PATH only for parallelpiped box.py location. |
---|
72 | # |
---|
73 | register_server pymol-threaded 2020 { |
---|
74 | ${bindir}/pymolproxy2 ${bindir}/pymol -p -q -i -x -X 0 -Y 0 |
---|
75 | } { |
---|
76 | PYMOL_SITE_PATH ${libdir}/pymol |
---|
77 | LD_LIBRARY_PATH ${libdir} |
---|
78 | } |
---|
79 | |
---|
80 | # vmd server (used for mdshowcase) |
---|
81 | # |
---|
82 | register_server vmdshow 2018 { |
---|
83 | /usr/bin/vmd -startup ${libdir}/vmd/vmdserver.tcl -args -stdio |
---|
84 | } { |
---|
85 | LD_LIBRARY_PATH ${libdir} |
---|
86 | } |
---|