aportelli / Hadrons

Grid-based workflow management system for lattice field theory simulations
GNU General Public License v2.0
22 stars 30 forks source link

Bug in naive scheduler for multiple trajectories in one job #110

Closed fjosw closed 1 year ago

fjosw commented 1 year ago

I found a bug in a job that processes multiple trajectories and uses the naive scheduler. I get the following error at the start of the second trajectory:

HadronsXmlRun: ../../Hadrons/VirtualMachine.cpp:808: Grid::Hadrons::VirtualMachine::makeGarbageSchedule(const Program&) const::<lambda(unsigned int)>: Assertion `it != p.end()' failed.
fjosw commented 1 year ago

Fixed in 36d1e61 (to be merged into develop)