Wrapper

From DAMSL Wiki

Jump to: navigation, search

Wrapper HOWTO

To install the wrapper, download the software and run the following commands

# tar xzf phoebus-0.9.tgz
# cd phoebus-0.9
# ./configure --enable-debug
# make
# make install

To use the software, you need to set the LD_PRELOAD environmental variable like so:

Bash

# export LD_PRELOAD=/usr/local/lib/liblsl_simplewrapper.so

C-Shell

# setenv LD_PRELOAD /usr/local/lib/liblsl_simplewrapper.so

Next, you need to specify your ingress depot. Choose the nearest depot to you from the list above and set the LSD_DEPOT environmental variable like so:

Bash

# export LSD_DEPOT=198.32.13.###/5006

C-Shell

# setenv LSD_DEPOT 198.32.13.###/5006

Finally, execute your socket based program like you normally would. It should then transparently make use of the Phoebus infrastructure. If not, file a bug report with as much information as you can provide.

Personal tools