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