Interupting a runnng job

Introduction

A large ASReml job may take hours per iteration and it is sometimes desirable to interupt a job. Ctrl-C kills the job immediately but it is tidier to allow ASReml to complete the current iteration, and maybe undertake prediction in the next iteration, treated as the last.

This is achieved by creating a file called ABORTASR.NOW or FINALASR.NOW (uppercase is required on Linux). After each iteration, ASReml checks whether these files exist in the current working folder. If ABORTASR.NOW exists, it is deleted and ASReml finishes up without doing any more iterations. If FINALASR.NOW exists, it is deleted and ASReml does one more 'FINAL' iteration, which will include processing any PREDICT statements.

Return to index