Author Topic: How to sequentially (qsub?) run jobs in atk (cluster system)?  (Read 7820 times)

0 Members and 1 Guest are viewing this topic.

Offline faxer92

  • Heavy QuantumATK user
  • ***
  • Posts: 27
  • Country: tw
  • Reputation: 0
    • View Profile
Dear QW Experts,

How to sequentially run jobs from test1.py to test10 in atk (qsub in cluster system)?   
for example,

~/libexec/ mpiexec.hydra -machinefile MachineFile -n 24 ~/bin/atkpython test1.py 2>&1 | tee test1.log

~/libexec/ mpiexec.hydra -machinefile MachineFile -n 24 ~/bin/atkpython test2.py 2>&1 | tee test2.log

......

~/libexec/ mpiexec.hydra -machinefile MachineFile -n 24 ~/bin/atkpython test10.py 2>&1 | tee test10.log

thank you so much and appreciate of your concern. ;)
« Last Edit: September 22, 2018, 10:11 by faxer92 »

Offline Ulrik G. Vej-Hansen

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 426
  • Country: dk
  • Reputation: 9
    • View Profile
Re: How to sequentially (qsub?) run jobs in atk (cluster system)?
« Reply #1 on: September 24, 2018, 11:42 »
That is really more a feature of the queuing system on your cluster than ATK, but most queuing systems have a feature for that. It is usually controlled by a keyword along the lines of "depend" or "dependency". I suggest you search the documentation for your cluster for those words.

Offline faxer92

  • Heavy QuantumATK user
  • ***
  • Posts: 27
  • Country: tw
  • Reputation: 0
    • View Profile
Re: How to sequentially (qsub?) run jobs in atk (cluster system)?
« Reply #2 on: September 26, 2018, 00:14 »
My system is CentOS, and PBS manager is Torque, is there an example for queue jobs ?  really appreciate your patience in answering  my questions
« Last Edit: September 26, 2018, 07:56 by faxer92 »

Offline Ulrik G. Vej-Hansen

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 426
  • Country: dk
  • Reputation: 9
    • View Profile
Re: How to sequentially (qsub?) run jobs in atk (cluster system)?
« Reply #3 on: September 26, 2018, 09:41 »
If you search for "torque depend pbs" on Google, both of the first 2 hits explain the concept.