Building and installing Tools

Preliminaries

Currently (October 2015) the mountain and downtown TCS clusters are 64 bit, while the developers workstations, the remote observing room workstations, and the mountain obs computers are 32 bit. This means in general you need to do two builds, on a 32 bit machine (i.e., developer desktop) and on a 64 bit machine (i.e., tcs-test). Further note that the remote observing room computers share the downtown 32 bit NFS mounts, so a special build is not needed for them.

Building ddsclient

cd <svn checkout>/tools/ddsclient
make clean
make
make install

This should result in new files in /lbt/tools/bin and /lbt/tools/etc.

Copy 64 bit build to the mountain TCS cluster

scp -p /lbt/tools/bin/ddsclient tcs@tcs1.mountain.lbto.org:/lbt/tools/bin/
scp -p /lbt/tools/etc/DDS*.client tcs@tcs1.mountain.lbto.org:/lbt/tools/etc/

Copy 32 bit build to the mountain obs computers

scp -p /lbt/tools/bin/ddsclient telescope@obs2.mountain.lbto.org:/lbt/tools/bin/
scp -p /lbt/tools/etc/DDS*.client telescope@obs2.mountain.lbto.org:/lbt/tools/etc/

Building iifclient

Follow the above instructions for ddsclient, but use iifclient instead and IIF instead of DDS.

Building lbtswitcher

cd <svn checkout>/tools/lbtswitcher
/lbt/tcs_runtime/qt-4.7.3/bin/qmake
make clean
make
cp -p lbtswitcher /lbt/tools/bin

Copy 64 bit build to the mountain TCS cluster

scp -p /lbt/tools/bin/lbtswitcher tcs@tcs1.mountain.lbto.org:/lbt/tools/bin/

Copy 32 bit build to the mountain obs computers

scp -p /lbt/tools/bin/lbtswitcher telescope@obs2.mountain.lbto.org:/lbt/tools/bin/

If necessary, create the file /lbt/tcs/lbtswitcher.conf. This file contains a list of the systems to log into to switch a build:

# Configuration file for "lbtswitcher".

# Leading and trailing whitespace is removed from each field,
# and comment lines (starting with '#') and empty lines are ignored.

# For each username@server, the symbolic link /lbt/tcs/current
# will be changed to the build name by invoking ssh to log into
# 'server' as 'username'.

# If the username@server list is empty, or the build name is
# not found, or this file does not exist, lbtswitcher will use
# 'localhost' with no username.

# Format:
# Build name, username1@server1, username2@server2, ...

2015D, tcs@tcs1, tcs@tcs2
2015C, tcs@tcs1, tcs@tcs2
2015B, tcs@tcs1, tcs@tcs2
2015A, tcs@tcs1, tcs@tcs2

Building mergelogs

cd <svn checkout>/tools/mergelogs
make clean
make
cp -p mergelogs* /lbt/tools/bin

The make clean will fail if a build has not already been done.

Copy 64 bit build to the mountain TCS cluster

scp -p /lbt/tools/bin/mergelogs* tcs@tcs1.mountain.lbto.org:/lbt/tools/bin/

Copy 32 bit build to the mountain obs computers

scp -p /lbt/tools/bin/mergelogs* telescope@obs2.mountain.lbto.org:/lbt/tools/bin/

Building teltimestamp

cd <svn checkout>/tools/teltimestamp
/lbt/tcs_runtime/qt-4.7.3/bin/qmake
make clean
make

Copy 64 bit build to the mountain TCS cluster

scp -p /lbt/tools/bin/teltimestamp tcs@tcs1.mountain.lbto.org:/lbt/tools/bin/

Copy 32 bit build to the mountain obs computers

scp -p /lbt/tools/bin/teltimestamp telescope@obs2.mountain.lbto.org:/lbt/tools/bin/
Topic revision: r5 - 22 Aug 2019, PetrKubanek
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback