Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Pause or stop a program

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Pause or stop a program


Chronological Thread 
  • From: "Anglade Pierre-Matthieu" <anglade@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] Pause or stop a program
  • Date: Thu, 26 Apr 2007 15:28:43 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LIkTDP5kqbYtdzw9HfTcsfeHo7hbjfNhcfEGrFtLcLHcANWlkKiEdZcRNCSqXv99onz/ZSKrIHAdOgSnOztWZHNtIJs8nAiNMLYH0/Nji6lQoFSV7mwvqEHVVR6moCZzQ5ABzpyZj5TbTv6+xIWFhlp4Y412rwI/d3rMbg7zHtc=

You can use unix signal facilties:
1) to stop: kill -STOP pid
2) to restart kill -CONT pid
3) to terminate kill -TERM pid
Also Abinit incorporate an input file based stopping method:
Just place the word "exit" at the beginning of you file. (for more
information about abinit see :
http://www.abinit.org/Infos/abinis_help.html ; for more information
about unices try to seach the "man")

regards

PMA

On 4/26/07, taoj0003@ntu.edu.sg <taoj0003@ntu.edu.sg> wrote:
when we are running a program, maybe we find something is wrong and want to
stop running, is there any command to do so?

and also, if we want the program pause for a while, (for example, to let the
computer have a rest) is there any method to do so? thanks



--
Pierre-Matthieu Anglade



Archive powered by MHonArc 2.6.16.

Top of Page