You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Such modules should ideally die whenever the rest of the modules in the network die. To implement this behavior, Cortix needs a way to cleanly terminate a module from the master process (rank) upon request.
The text was updated successfully, but these errors were encountered:
This module is a bit of a special case since it starts as many threads within one process (MPI or not) as there are ports connected to it...maybe some other internal behavior needs to be developed. The idea of having threads running within a process has a limit. Recall the run case with 1000 droplets. This module had 1000 threads open on a single MPI process.
Signals sometimes can be part of model and they are implement with ports and part of the definition of a module. An example is in a facility modeling. Say module A models a process that breakdowns. If module A models the downstream process, a warning signal can be sent from A to B.
Following this idea, Cortix can initiate ports between modules in the background without the user knowledge. These ports can be used to track the progress of the modules by sending signals. This is a possible feature in the future.
Some modules like
DataPlot
simply listen for requests and serve them in a loop with no exit condition like in:cortix/cortix/examples/dataplot.py
Lines 67 to 74 in f65005f
Such modules should ideally die whenever the rest of the modules in the network die. To implement this behavior, Cortix needs a way to cleanly terminate a module from the master process (rank) upon request.
The text was updated successfully, but these errors were encountered: