How to abort the program during a lengthy calculation without killing the process and interrupting the disk read/write operations which can well happen when separate files for the exchange potentials are being used? All you have to do is to create a (zero length) file named stop_x2dhf in a working directory (the Unix touch command will do the job). The program aborts gracefully whenever this file is detected upon the completion of a current orbital/potential relaxation.