tilde-lab / yascheduler

Yet another cloud computing scheduler for the high-throughput cloud scientific simulations
https://mpds.io/search/ab%20initio%20calculations
MIT License
5 stars 4 forks source link

AiiDA-Yascheduler consistency CI check #8

Open blokhin opened 4 years ago

blokhin commented 4 years ago
#!/bin/bash

if [ $( verdi process list | grep RUNNING | wc -l ) -ne $( yastatus | grep RUNNING | wc -l ) ]; then
    echo "AiiDA-Yascheduler consistency error!";
fi
blokhin commented 4 years ago

@ansobolev what do you think?

blokhin commented 1 week ago

@akvatol does it work for you?

akvatol commented 1 week ago

It shows "AiiDA-Yascheduler consistency error!". For some reason Aiida does recognize running task as queued. Unfortunately, I was running the task through AIIDA and didn't quite understand how calculation schemes work. I ran it using the standard "nonmetallic" scheme, which includes calculation of phonon dispersion, which takes a long time. At least, I hope I've reproduced the bug we talked about.