next up previous contents
Next: The Control File Up: User Manual for EGO Previous: Summary

   
Starting and stopping EGO

Usually, EGO is started simply by typing ego or ego_seq. In that case ctl.lis is the default for the control file name. But it is also possible to create control files with different names, e.g. ctl_run1.lis and start EGO by typing
ego ctl_run1.lis

If you provide a second filename, e.g., if you type
ego ctl_run1.lis mailrestart.sh
the second file can be a shell script which performs any task in that case EGO has stopped before the given number of simulation steps has been performed. That may be the case if you are on a computer with batch-job queing and your time limit has exceeded. In that case you can create a small shell-script which sends a mail to you in order to inform you and to setup the next batch job.

There are several ways to stop the execution of EGO before the given number of integration steps is performed. If you use 'Ctrl-C' or if you send a SIGTERM, SIGURG, SIGQUIT, SIGINT or a SIGHUP signal EGO catches that signal and stops as soon as the next integration step is finished. If you send SIGUSR1 then EGO stops as soon as the next restart file has been written.


next up previous contents
Next: The Control File Up: User Manual for EGO Previous: Summary
Helmut Heller
2000-04-19