Time limit in abinit

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
roginovicci
Posts: 75
Joined: Thu Dec 02, 2010 10:36 pm

Time limit in abinit

Post by roginovicci » Tue Aug 23, 2011 10:17 am

Is there any time limit inside abinit? I'm running for abinit by 5-6 days and at some point it broke ups for some reason. Is it my mpi configuration, or something wrong with abinit?

david.waroquiers
Posts: 138
Joined: Sat Aug 15, 2009 12:45 am

Re: Time limit in abinit

Post by david.waroquiers » Tue Aug 23, 2011 3:21 pm

Hello,

If you are running on a cluster, there should be a maximum time for any job you run. In abinit, there is no time limit by default. You can set a time limit by using one of these variables : http://www.abinit.org/documentation/helpfiles/for-v6.8/input_variables/vargs.html#cpu

For example, using cpuh 10 will force the program to finish properly after 10 hours (properly means it will try to produce a WFK file and/or DEN file so that you can restart from them). It might be useful using this variable in combination with the time limit of the cluster : lets say you cannot run more than 1 day on the cluster, you could setup cpuh to 22 so that after 22 hours running, the job does not crash without anything left, it will create the WFK file and then stop. Note that this possibility might not be available for all types of calculations in abinit (like response calculations, gw calculations, bse calculations, ...) but it should work for ground state calculations.

David

roginovicci
Posts: 75
Joined: Thu Dec 02, 2010 10:36 pm

Re: Time limit in abinit

Post by roginovicci » Tue Aug 23, 2011 10:31 pm

They say there is no time limit inside cluster, but the problem still fails. So I was starting thinking of time limit inside abinit. Thank you for response, I'll continue to search the problem.

Locked