This version brings a major overhaul to the structure of the code, while leaving the API mostly intact. Importantly, it fixes the issue that resulted in the local mode not using 100% of CPU power.
Major Changes
- Completely rewrote the local mode to use Pyro4 and SQLAlchemy, it is now much, much faster and more stable
- Batch system definitions now fully modular and are contained in the
fyrd.batch_systemspackage.options.pyhas also been moved into this package, which allows any programmer to add a new batch system definition to fyrd by just editing the contents of that small subpackaged - Updated console script to allow running arbitrary shell scripts on the console with
fyrd runor submitting any number of existing job files usingfyrd sub. Added the new alias scriptsfrunandfsubfor those new modes also. Both new modes will accept the--waitargument, meaning that they will block until the jobs complete. - Documentation overhauled to update API and add instructions on creating a new batch system,
these instructions are duplicated in the README within the
batch_systemspackage folder. - Full support for array job parsing for both torque and slurm. We now create on job entry
for each array job child, instead of for each array job. To manage this, the
fyrd.queue.Queue.QueueJobclass was moved tofyrd.queue.QueueJoband split to add a child class,fyrd.queue.QueueChild. All array jobs not have onefyrd.queue.QueueJobjob, plus onefyrd.queue.QueueChildjob for each of their children, which are stored in thechildrendictionary in thefyrd.queue.QueueJobclass. - Added a
getmethod to thefyrd.queue.Queueclass to allow a user to get outputs from a list of jobs, loops continuously through the jobs so that jobs are not lost. - Added tqdm as a requirement and enabled progressbars in multi-job wait and get
Minor Changes
- Updated the documentation to include a changelog, which will only contain change information for version 0.6.2a1 onwards.
- Added additional tests to cover the new changes as well as generally increase test suite coverage.
- Several small bug fixes