PETSc does have a MATLAB interface in bin/matlab/classes that provides most of PETSc’s functionality directly to Matlab. Unfortunately we do not have the resources to maintain it, so it is a bit broken. If you are familiar with MATLAB and interfacing with C then git it a try and we can provide a small amount of support to help you use it, but as I said we cannot make it perfect ourselves.
Barry On Apr 22, 2014, at 12:19 PM, Sudheer Kumar <[email protected]> wrote: > > On Tue, Apr 22, 2014 at 9:41 PM, Barry Smith <[email protected]> wrote: > How much Matlab code do you have that computes the Jacobian and functions and > is it parallel? > > How much Matlab code do you have that computes the Jacobian and functions and > is it parallel? > > The MATLAB code that I am working with is of 1000s lines of code (reservoir > simulator, http://www.sintef.no/Projectweb/MRST/). The 90% of the time taken > by the code on benchmarks is for linear solvers. And that's the reason to > look for PetSc to speedup the entire code. > > >> This is a great deal of work and probably not worth it. > Ok, unfortunately here I guess I need to attempt to do that work. Do let me > know your suggestions. Thanks. > > > Regards > Sudheer
