1 | # |
---|
2 | # This file is read by nanoscale to determine which 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 | # pymolproxy 2020 production |
---|
14 | # |
---|
15 | # The syntax is |
---|
16 | # server <name> <port> ?<flags>? |
---|
17 | # cmd <command> |
---|
18 | # env <variable> <value> |
---|
19 | # |
---|
20 | # Registers a server by <name> at port <port>. |
---|
21 | # When a connection is made to <port>, <command> is run. |
---|
22 | # Environment variables will be set before executing command. |
---|
23 | # |
---|
24 | # Note: Don't set DISPLAY here. nanoscale itself sets the DISPLAY |
---|
25 | # variable. |
---|
26 | # |
---|
27 | # Defaults: |
---|
28 | # - Server reads from file descriptor 0. |
---|
29 | # - Server writes to descriptor 1. |
---|
30 | # - Server stdout and stderr are redirected to a log file. |
---|
31 | # |
---|
32 | |
---|
33 | # GeoVis -- |
---|
34 | # Server Type Map and globe renderer |
---|
35 | # Port 2015 |
---|
36 | # Threaded yes |
---|
37 | # Notes: |
---|
38 | # |
---|
39 | server geovis 2015 -output 3 -logstdout 0 -logstderr 0 |
---|
40 | cmd @exec_prefix@/bin/geovis -o 3 -t 43260 -p @libdir@/resources |
---|
41 | env LD_LIBRARY_PATH @libdir@ |
---|
42 | env OSGEARTH_DEFAULT_FONT /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf |
---|
43 | env __GL_SYNC_TO_VBLANK 0 |
---|
44 | |
---|
45 | # NanoVis -- |
---|
46 | # Server Type Volume renderer |
---|
47 | # Port 2000 |
---|
48 | # Threaded yes |
---|
49 | # Notes: |
---|
50 | # |
---|
51 | server nanovis 2000 -output 3 -logstdout 0 -logstderr 0 |
---|
52 | cmd @exec_prefix@/bin/nanovis -o 3 -t 43260 -p @libdir@/shaders:@libdir@/resources |
---|
53 | env LD_LIBRARY_PATH @libdir@ |
---|
54 | env __GL_SYNC_TO_VBLANK 0 |
---|
55 | |
---|
56 | # VtkVis -- |
---|
57 | # Server Type VTK based 3D renderer |
---|
58 | # Port 2010 |
---|
59 | # Threaded yes |
---|
60 | # Notes: |
---|
61 | # |
---|
62 | server vtkvis 2010 -output 3 -logstdout 0 -logstderr 0 |
---|
63 | cmd @exec_prefix@/bin/vtkvis -o 3 -t 43260 |
---|
64 | env LD_LIBRARY_PATH @libdir@ |
---|
65 | env __GL_SYNC_TO_VBLANK 0 |
---|
66 | |
---|
67 | # PymolProxy -- |
---|
68 | # Server Type Molecular layouts using Pymol viewer |
---|
69 | # Port 2020 |
---|
70 | # Threaded yes |
---|
71 | # Notes: |
---|
72 | # - Need PYMOL_SITE_PATH for parallelpiped box.py location. |
---|
73 | # - For debug tracing, redirect stderr of the proxy to a log file. |
---|
74 | # |
---|
75 | server pymolproxy 2020 -logstdout 0 -logstderr 0 -combinelogs 0 |
---|
76 | cmd @exec_prefix@/bin/pymolproxy -t 43260 -- @exec_prefix@/bin/pymol -p -q -i -x -X 0 -Y 0 |
---|
77 | env PYMOL_SITE_PATH @libdir@/pymol |
---|
78 | env LD_LIBRARY_PATH @libdir@ |
---|
79 | env __GL_SYNC_TO_VBLANK 0 |
---|
80 | |
---|
81 | # VmdShow -- |
---|
82 | # Server Type Molecular layouts using VMD viewer (for mdshowcase) |
---|
83 | # Port 2018 |
---|
84 | # Threaded no |
---|
85 | # Notes: |
---|
86 | # - Commands are sent directly to the VMD process that uses custom |
---|
87 | # TCL code to process. |
---|
88 | # - Redirect input to descriptor 3: Otherwise VMD will get select hit. |
---|
89 | # - Redirect output to descriptor 4: Lots of information written to |
---|
90 | # stdout and stderr of VMD. Captured in log file. |
---|
91 | # - Executing binary without wrapper shell script. Requires VMDDIR set. |
---|
92 | # - Meshing programs surf and msms require explicit environment variables. |
---|
93 | # - Client doesn't send data files to VMD, but file paths. Unlikely |
---|
94 | # client will block on a large write. |
---|
95 | # |
---|
96 | server vmdshow 2018 -input 3 -output 4 -combinelogs 1 |
---|
97 | cmd @libdir@/vmd/vmd_LINUXAMD64 -startup @libdir@/vmd/vmdserver.tcl -args -stdio |
---|
98 | env VMDDIR @libdir@/vmd |
---|
99 | env SURF_BIN @libdir@/vmd/surf |
---|
100 | env MSMSSERVER @libdir@/vmd/msms |
---|
101 | env STRIDE_BIN @libdir@/vmd/stride |
---|
102 | env __GL_SYNC_TO_VBLANK 0 |
---|