CFD Job Scheduler

Introduction

scheduler pseudo algo flow

This is a Python script for a portable, scalable job scheduler with multiple priorities - for ANSYS CFX simulations. The script was designed to be called every minute by an external scheduler program.

Once called, the program basically loops through pre designated folders and lists .def files based on the last modified date available in Windows. The system interaction is via BASH scripts created via the Python code, as well as the python OS library. There are several in-built flags to support priority, pausing a particular cluster, logging data and troubleshooting.

The idea behind the project was to create a multi-platform job scheduler for ANSYS CFX that has a balance between sophistication and ease of deployment (and management). Typically job schedulers and load balancing programs are relatively very sophisticated and complex to setup with several pre-requisites and constraints. Such complexity dictates expensive commercial support and licensing considerations.

Code On Github

Presentation

Wiki on Github

Problem Statement

A job scheduler or simulation management system was required to address the following:

What the program accomplished

Tools used and links

Tags: , ,