-
Notifications
You must be signed in to change notification settings - Fork 2
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
new user #165
Comments
also, I see that the matrix is being read in from files: ReSolve/examples/r_SysSolverCuda.cpp Line 82 in a92074f
are there some examples of constructing the matrix at runtime and then feeding it into this workflow the same way? Thank you! |
Thanks for your questions, @stonecoldhughes. The examples are designed so they emulate a nonlinear solver (dynamic, steady state, optimization, etc.). You can feed any series of linear systems generated during nonlinear solver operation and then test Re::Solve's performance on those systems before actually interfacing Re::Solve with the nonlinear solver. In our tests, we use linear systems generated during alternating current optimal power flow analysis (ACOPF) for different power grid models available from here: https://github.com/NREL/opf_matrices You would need to write a script that generates inputs (file names of matrices and right-hand-side vectors) for your test case. An example script runResolve is in the repository. |
You would need to instrument an existing nonlinear solver and dump linear systems to files as it runs. Some explanations how to do that are available at https://github.com/NREL/opf_matrices |
You may want to take a look at functionality tests first because they come with their own matrices. |
Closing it as there is no follow up action defined. Feel free to reopen, if needed. |
we are looking at using ReSolve for our HPC application, and I think this example code illustrates a lot of what we are trying to do. I had a question about this particular line in this test:
ReSolve/examples/r_SysSolverCuda.cpp
Line 81 in a92074f
I see that the main loop here iterates over "numSystems" and that the input is coming from a family of matrices named this way:
ReSolve/examples/r_SysSolverCuda.cpp
Line 61 in a92074f
At a high level, what is this test doing? How do the indices of "numSystems" determine when a matrix is updated and refactorized? Thank you!
The text was updated successfully, but these errors were encountered: