FORTRAN Reference Manual

Running and Debugging Programs
FORTRAN Reference Manual528615-001
11- 3
Running a FORTRAN Program
LIB library
where library specifies an object file to use as a user library file for this
execution of the program. The contents of this file become the library code
space for the executing program. Do not specify this option if the object file
containing user code space has more than 16 code segments. You can use the
LIB option to override the user library file name specified in the FORTRAN
LIBRARY directive when you compiled your program.
MEM pages
is an integer ranging from 1 through 64 that specifies the maximum number of
virtual data pages to allocate for the new process. pages overrides the value
specified or value estimated by the DATAPAGES compiler directive, and the
value estimated by the compiler when you compile the program.
NOWAIT
specifies that TACL return a command prompt after sending the startup
message to the new process. If you do not specify NOWAIT, TACL does not
return a prompt until the new process completes.
TERM $name
is the name of a terminal or process to use as the home terminal for the
process. The default terminal is the terminal from which you run your program.
parameters
is one or more parameters that you want to pass to the program in its start-up
message. The program must use the GETSTARTUPTEXT routine described in
Section 15, Utility Routines, to get these parameters.
The following command runs the object file SROOT using the NUMBERS input file,
and sends the listing to a printer:
1> RUN sroot/IN numbers, OUT $s.#titan, NOWAIT/
The following command runs the object file NEWPROG and selects the Inspect
debugger:
2> RUN newprog/INSPECT ON/