When using UPIC-local applications on Unix and Linux systems, you must also bear in mind the special features described below.
Linking UPIC local applications in Unix and Linux systems
When a CPI-C client application is connected locally to a UTM application on a Unix or Linux system, you must link in the library libupicipc
in the directory utmpath/upicl/sys
instead of libupiccmx
.
For XATMI client programs based on UPIC-L, the library libxtclt
from the directory utmpath/upicl/xatmi/sys
is also required.
On Linux systems, the –lcrypt option must also be specified.
Environment variables
For controlling a UPIC-local application, the environment variable UTMPATH is also interpreted. UTMPATH must contain the name of the directory in which openUTM is installed.
Resources
With local connection, “shared memory” is used for communication with the UTM application. Access is via “shared memory keys” and is serialized with the aid of a semaphore. An additional file descriptor is reserved for shared memory.