The mpsl command



next up previous contents
Next: AP Algorithm Basics Up: The MPS Algorithm Language Previous: File Names and

The mpsl command

To process an mps algorithm input file with the compiler, log onto the SLC VAX and type ``mpsl'' at the DCL command prompt, and give the file-name of the mpsl algorithm you wish to compile as the parameter. The full syntax is:

 
mpsl file-spec [/delimiters] [/limhi_from_ap]

file-specSpecifies an input source file. The file-spec obeys the DCL file-name defaulting rules. For instance, giving just the file name, with no device or directory information, means you want mpsl to use a file from the local directory. If you want to use a file from elsewhere, you can add directory and even device specifications onto the file-spec (see 2.1). The file-spec does not need to contain the .mpsl file extension.

/delimitersIf you include /delimiters on the command line, both the object file and the port file will contain the sequence ^^^^ (or in hex 5E5E5E5E) after every item written. /Delimiters is strictly a debugging tool, it must not be used for compiling algorithms that are going to be put into the MPS system. The /delimiters qualifier is negateable (/NODELIMITERS); the default is ``/NODELIMITERS".

/limhi_from_apWhen in its positive form, this qualifier specifies that any ``NEWRATE ='' statements in the algorithm may specify LIMHI_ types (LIMHI_FS, LIMHI_FN, LIMHI_FF). In the classic beam-to-SLD sence, that means that the AP is being permitted to recommend different rates to either side of the arc single beam dumpers. The precise meaning of the LIMHI_ types is defined by the BGRP modfiers in effect. This qualifier is only pertinent to algorithms for regular AP's, it's ignored for compiles of the Supervisor's algorithms which can always recommend the LIMHI_ rate-limiting types. The /limhi_from_ap qualifier is negateable (/NOLIMHI_FROM_AP); the default is ``/LIMHI_FROM_AP''.

Example: 

$ mpsl [.alg]aline
This example demonstrates that the file, aline.mpsl is in an immediate sub-directory of the local directory, named ``alg". The file is being compiled with the qualifier ``/NODELIMITERS", so that the special characters are not put into the output files; and with ``/LIMHI_FROM_AP'' that it may recommend LIMHI_ rate-limiting types.



next up previous contents
Next: AP Algorithm Basics Up: The MPS Algorithm Language Previous: File Names and



SLAC Controls Software
Fri Nov 4 11:47:17 PST 1994