Author Topic: Restarting script after certain fixed period  (Read 5345 times)

0 Members and 1 Guest are viewing this topic.

Offline asd.2007mail@gmail.com

  • Regular QuantumATK user
  • **
  • Posts: 9
  • Country: in
  • Reputation: 0
    • View Profile
Restarting script after certain fixed period
« on: October 18, 2016, 06:04 »
On my clusters there is hard time limit of 24 hr. I want to restart the script after that period automatically. If it not converged how should I do it. I am using VNL 2016.2.

Offline Ulrik G. Vej-Hansen

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 426
  • Country: dk
  • Reputation: 9
    • View Profile
Re: Restarting script after certain fixed period
« Reply #1 on: October 18, 2016, 08:59 »
That depends on the queuing system of the cluster. Most of them have a functionality which allows that. In Torque/Maui you can submit a job with the "-W afterany" argument, so it is put on hold until another, specified, job is finished. See more here: http://docs.adaptivecomputing.com/torque/2-5-12/help.htm#topics/commands/qsub.htm

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Restarting script after certain fixed period
« Reply #2 on: October 18, 2016, 12:54 »
Except that does not take into account how you actually restart an ATK calculation. See http://docs.quantumwise.com/tutorials/restarting_calculations/restarting_calculations.html