List of changes in the v0.13 release
Table of contents
- [Release's Highlight: Inductiva's API on local machines](task-runner)
- [Major upgrade in Console’s MachineGroups](consolemg)
- [Better navigation for full overview](consolemg_overview)
- [Active resources](consolemg_active)
- [Detail](consolemg_detail)
- [Terminated](consolemg_terminated)
- [Costs visibility and management](costsmgmt)
- [User’s costs breakdown](costsmgmt_userbreakdown)
- [Real-time credit management](costsmgmt_realtimecredit)
- [More Simulation options](moresimulators)
- [New OpenFOAM versions](moresimulators_openfoam)
- [Improved usability of DualSPHysics](moresimulators_dualsphysics)
- [Task’s life cycle in the python client](moresimulators_commands)
Release's Highlight: Inductiva's API on local machines <a name="task-runner"></a>
Users can now fully leverage Inductiva's API features on their local machines. With the local task-runner, simulations can be run directly on the user’s computer or any other available compute resource, making it an ideal option for testing and minimizing costs - there are no computation costs associated with local machines or any tasks executed on them, since no cloud resource is allocated. The simulation’s input and output files are still safely stored in the user’s cloud bucket while needed.
The web [Console](https://console.inductiva.ai/) and the [CLI](https://docs.inductiva.ai/en/latest/cli/cli-overview.html) commands continue to provide visibility over the computation resources being used, clearly distinguishing their cloud or local hosting, as well as where the tasks are run.
Follow the [tutorial ](https://tutorials.inductiva.ai/how_to/use-local-task-runner.html)to learn how to configure, launch, and run simulations locally.
Major upgrade in Console’s MachineGroups <a name="consolemg"></a>
The MachineGroups area in the user’s [Console](https://console.inductiva.ai/machine-groups/active) is significantly enhanced with a range of powerful new features in a key area. Explore the improved functionality designed to improve visibility and management of the [computational resources](https://docs.inductiva.ai/en/latest/intro_to_api/shared_dedicated_resources.html#resource-allocation-options) with a user-friendly interface.
Better navigation for full overview <a name="consolemg_overview"></a>
A new layout ensures effortless navigation and better visibility into the user’s resources by providing clear and organized access to three distinct sub-areas:
- [Active](https://console.inductiva.ai/machine-groups/active), displaying currently running MachineGroups;
- [Terminated](https://console.inductiva.ai/machine-groups/terminated), listing previous instances;
- [Instance Types](https://console.inductiva.ai/machine-groups/instance-types), showcasing the [available computational resources](https://github.com/inductiva/inductiva/releases#listmachines).
Active resources <a name="consolemg_active"></a>
The [Active MachineGroups](https://console.inductiva.ai/machine-groups/active) screen was restructured to provide the most significant data to provide a complete and detailed overview of the currently active machine groups, especially their duration and estimated cost, providing users with an immediate understanding of their ongoing expenses and enabling more efficient management of their active resources.
To empower the user with deeper understanding of the resources [attributes](https://docs.inductiva.ai/en/latest/api_reference/computational_resources/machinegroup_class.html#), tooltips with brief explanations can be found in the column titles, offering quick insights and clarity about the displayed data.
Detail <a name="consolemg_detail"></a>
By clicking on an Active MachineGroup, the user accesses its detail, namely its [parameters](https://docs.inductiva.ai/en/latest/api_reference/computational_resources/machinegroup_class.html#machinegroup-class) and detailed information about each of the machines in that MachineGroup.
There’s also a quick access button to terminate the MachineGroup, so that the user is able to take this immediate action based on the information on screen.
Terminated <a name="consolemg_terminated"></a>
This new screen provides all the key details about MachineGroups that are no longer active, ensuring a clear understanding of past activity:
- Timeframe of activity - Duration, Compute time (running tasks) and Idle time - and reason for termination (user request or automatic termination due to inactivity)
- Cost - initially calculated by Inductiva to provide near-real-time estimation; and confirmed by the cloud provider shortly after.
Costs visibility and management <a name="costsmgmt"></a>
User’s costs breakdown <a name="costsmgmt_userbreakdown"></a>
In the newly added Cost Breakdown screen within the [Account](https://console.inductiva.ai/account) section of the Console, users can review their past spendings, with a breakdown of monthly Compute and Storage costs.
The option to use Inductiva’s API on local machines (see this release's highlight) enables cost savings, since there are no computation costs associated with local machines or the tasks executed on them.
The simulation input and output files are still safely stored in the user’s cloud bucket while needed, so there are storage costs resulting from simulations run on local machines.
Real-time credit management <a name="costsmgmt_realtimecredit"></a>
The update to near real-time credit tracking ensures greater accuracy and control over your usage. This improvement means that tasks and machine groups will now automatically stop if the user’s credits are depleted, helping to avoid accumulating significant negative balances. Previously, credit validation only occurred when starting a new machine group, but with more frequent checks, resources can be managed more efficiently and stay within the allocated budget.
The user’s current credits, tier and quotas are always accessible in [Account](https://console.inductiva.ai/account) or by invoking inductiva user info.
More Simulation options <a name="moresimulators"></a>
New OpenFOAM versions <a name="moresimulators_openfoam"></a>
The latest version of [OpenFOAM ESI](https://inductiva.ai/simulators/openfoam-esi) (v2412) and [OpenFOAM Foundation](https://inductiva.ai/simulators/openfoam-foundation) (v12) have been integrated into the API, joining the other available versions of ESI, v2406 and v2206, and version v8 of Foundation.
Improved usability of DualSPHysics <a name="moresimulators_dualsphysics"></a>
The usability of the [DualSPHysics](https://tutorials.inductiva.ai/simulators/DualSPHysics.html) integration has been improved by enabling users to directly run a shell script with the specific commands of this simulator. This update replaces the old command list, allowing users to seamlessly run their simulation scripts in the Cloud exactly as they would locally, without any modifications.
Task’s life cycle in the python client <a name="moresimulators_commands"></a>
To close the loop on the [Task’s life cycle visibility](https://github.com/inductiva/inductiva/releases#taskslife), the python function inductiva tasks info <task_id> includes the list of commands run during the simulation - see the split in the In Progress phase:
Timeline:
Waiting for Input at 22/01, 20:23:11 11.464 s
In Queue at 22/01, 20:23:23 1002.323 s
Preparing to Compute at 22/01, 20:40:05 1.504 s
In Progress at 22/01, 20:40:07 985.312 s
├> 1.05 s dd if=/dev/stdin of=machinefile
└> 984.037 s swashrun -input DAKHLA.sws -mpi 192
Finalizing at 22/01, 20:56:32 4.42 s
Success at 22/01, 20:56:36