main.tcl uses the current working directory for both finding its libraries and its config files.
Running on linux, I'd like to have the software installed as a regular RPM package.
Therefore we should
a) install libraries and code in standard system directories (where they are readonly for the normal user,
b) place the config file in the users HOME directory.
c) use the current working directory only for logs and dumps.
I've packaged it this way on http://software.opensuse.org/search?q=syscomp-cgr
using the appended patch.
It works for versions 1.10 through 1.11
CGR101V110.patch