C. The applcomm.db File Format

Accelrys applications store this information in a human-readable file similar in concept to the UNIX file /etc/services, which lists network services and the ports on which they are available. This application communications database file is named applcomm.db.

Under normal circumstances, applcomm.db is edited automatically during installation of the invoking Accelrys application and does not need to be altered. This appendix documents the file's format for those cases when you need to augment the information in this file.


File contents

The applcomm.db file contains records describing machines in the network, possible communication protocols, and applications that can be run on those machines.

Three different types of records can appear in this file. The symbol in the first position of each line is a control character and must be one of the following:

# - Comments

M - Records describing machines in the network

P - Records describing communication protocols

A - Records describing applications

The following points apply to record lines in general:


Records describing machines

The following points apply to record lines that describe machines on your network:

The format of an M-record is as follows:

M class machine1 [machine2 ...]

where:

class Name of the class, which can be any arbitrary name.

machine Name of a remote machine or a machine class.

Examples:


Records describing supported network protocols

The format of a P-record is as follows:

P protocol machine1 [machine2 ...]

where:

protocol Either unix or tcp

machine Either the actual host name or a class name as defined in an M- record

If a machine is not defined in any P-records, UNIX protocol is accepted for a local UNIX machine, and tcp otherwise.

Examples:


Records describing supported applications

The format of an A-record is as follows:

A machine application executable [argument [...]]
A
class application executable [argument [...]]

where:

machine Actual host name on which application is available

class A machine class, defined by an M-record

application The application name (charmm, xplor, and so on)

executable The command that should be executed on the machine to run the application (If this

command does not exist in the user's default path, the full path name must be given in the A-record.)

argument Any argument that must be passed to the application

An A-record is necessary for every application that you want to start by using the Accelrys remote job module.

Examples:


Example applcomm.db file entries

The following applcomm.db extract contains example entries for quantum applications.


© 2006 Accelrys Software Inc.