queue.cfg file

You can use the queue.cfg file to set a global value for the maximum number of concurrent queue jobs and to set the file permissions on compiled files. (If you use qcontrol to set the maximum number of jobs, the setting is only for the current session.)

The default for the number of compiling programs is two. It is suggested that you initially set the number of compiling programs to no more than two compile programs per processor. File contention is reduced by setting the number as low as possible. (One per processor generally gives you a good balance between compile performance and performance for other applications.) You can try setting the number of compiling programs at a higher number for a higher compile throughput, but if your system experiences performances issues then you should revise the number downwards.

Use the following steps to set the maximum number of concurrent jobs for the Compile Queue Server or the file permissions on compiled files.

To set the maximum number of concurrent compile jobs for the Compile Queue Server and to set file permissions for compiled files in queue.cfg

  1. With a text editor, open the $LAWDIR/system/queue.cfg file. If the file does not exist, create it in $LAWDIR/system.

  2. Add this line:

    local nn

    where nn is the maximum number of concurrent compile jobs for the Compile Queue Server.

  3. To set the file permissions on compiled files, add this line:

    umask nnn

    where nnn represents the file creation mask, in octal notation (examples of octal notation: 002, 022, 023).

  4. Save and close the file.

  5. Stop and start the compile queue. At the Qshell command line, specify this information:

    stopqueue

    startqueue