next up previous 530
Next: Parameters
Up: Getting started
Previous: Changing the Current Directory in ICL


Exiting an Application

In normal circumstances when you've finished using KAPPA nothing need be done from the shell, but to end an ICL session, enter the EXIT command to return to the shell.

What if you've done something wrong, like entering the wrong value for a parameter? If there are further prompts you can enter the abort code !! to exit the application. This is recommended even from the shell because certain files like your NDFs may become corrupted if you use a crude CTRL/C. If, however, processing of the data has begun in the application, it is probably best to let the task complete, unless it is a long job like image deconvolution. If you really must abort, CTRL/C should be hit. From ICL this ought to return you to a prompt, but the processing will continue. Then you can stop the running process by `killing' it. First find the task name

     ICL> tasks
                           TASKNAME  Process Id

                   ndfpack_mon16528  15186

and then kill it.

     ICL> kill ndfpack_mon16528

This removes a the NDFPACK monolith. NDFPACK will be loaded again once you enter one its commands. If pressing CTRL/C several times fails to return you to an ICL prompt then it's time for the heavy artillery--you may have to kill your window. Once back to the shell enter icl to return to ICL, and then kill the process as described above.

If you have interrupted a task, it may be necessary to delete the parameter file and the graphics database .



next up previous 530
Next: Parameters
Up: Getting started
Previous: Changing the Current Directory in ICL

KAPPA --- Kernel Application Package
Starlink User Note 95
Malcolm J. Currie & David S. Berry
2013 February 14
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council