Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let model go on while AA is clustering flows for visuals #5

Open
bettinardi opened this issue Jan 9, 2025 · 0 comments
Open

Let model go on while AA is clustering flows for visuals #5

bettinardi opened this issue Jan 9, 2025 · 0 comments

Comments

@bettinardi
Copy link
Member

jeabraham commented on Mar 24, 2016

I would like to turn on PECAS's flow visual clustering. However it's a bit CPU intensive, and there's no reason for the rest of the model to stop running while we're waiting of the outputs to be clustered for visualization. I see three possibilities to avoid slowing down the model run much:

Find a way for AA to explain to the rest of the system that it's finished modelling, but still running in the background processing visuals, so the other modules can start in parallel;
build a separate main() method inside of AA that runs AA for a single iteration from the converged solution, to re-generate flows internally in memory, then only writes out the compressed visuals (no other outputs written); or
write a standalone program that reads in the flow matrices that were written by AA, clusters them, and writes out flow clusters.
If we choose 2) or 3), I would like to be able to specify one of three options for each year of the run: Option A: Flow clustering occurs during the year run (e.g. starts immediately after AA is finished, or in parallel with some other task that doesn't use all the CPU cores), Option B: occurs after the entire run is finished, e.g. after the SwimVIZ database has been generated, Option C: doesn't occur at all (skipped for that year).

jeabraham commented on Apr 1, 2016

I've posted a new .jar for implementing 2). After testing and when Graham agrees, can we put into the system a program to rerun AA in each year after the Swimviz database is collated? I.e., after the entire existing run cycle is complete, the system should rerun AA in each year (parameter on command line to ensure a 0 iteration rerun) to write out extra files not needed by other modules during the run itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant