Changing the default directory and running the CLU

To change the default directory, you must locate the directory that contains the coprocessor code files (*.clu) and the Coprocessor Load Utility (CLU).

Changing the default directory

At a command prompt, change to the default directory coprocessor code directory /usr/lpp/csufx.4765/clu to access the code files. If the CLU is not in the default directory, ensure that your operating system can locate the CLU.

Running the CLU

Note: When using CLU, applications that use CCA must not be running.

To run the CLU utility, enter the csufclu program name at the command prompt .

You can provide parameters interactively to the CLU utility, or you can include these on the command line. Each time you use CLU you must specify a log file name. This is the first parameter and can be included on the command line. In general, when working with a specific coprocessor, it is best to use the coprocessor serial number as the log file name. You can obtain the serial number from the label on the bracket at the end of the coprocessor.

CLU will append information to two log files. If the log files do not exist, they are created. One log file contains the same information that is normally displayed on your console. The other log file, to which CLU will assign MRL as the file name extension, contains a machine-readable log. The MRL file is used with an analysis utility.

Note: Subsequent instructions in this section assume that you use CLU interactively. Change to the directory that contains the coprocessor code files. Start CLU with the name appropriate to your operating system. Respond to the prompts as requested.

CLU obtains the number of installed coprocessors from the device driver. If you have more than one installed coprocessor, CLU requests the number of the coprocessor with which you intend to interact. The numbers (coprocessor_number) can be 0 - 2. To correlate these numbers to a particular coprocessor, use the System Status (SS) command to learn the number for each of the installed coprocessors. (For an example of the output, see Figure 1 in the Coprocessor Load Utility commands topic.)

Note: The CLU utility can operate with a coprocessor when it obtains exclusive control of the coprocessor. If any other application such as a thread is running and has performed the CCA verb calls, the coprocessors that are loaded with CCA will be busy and unusable by CLU.