I suspect Matlab would work with MS dlls - and not cygwin/gnu dlls.. satish
On Thu, 13 Jan 2011, Barry Smith wrote: > > > Michel > > Lisandro is exactly right. The key is building the .dll. If you are > interested in pursing this we are eager to help but are not Windows experts > in any way. > > 1) are you using the GNU compiler or Microsoft? > 2) if you are using GNU you can try building with the same options as > indicated in the docs. including the --with-shared-libraries flag. what > happens? > What is generated? > > Let us know and we'll go from there, > > > Barry > > > > On Jan 13, 2011, at 11:18 AM, Lisandro Dalcin wrote: > > > On 13 January 2011 08:38, Michel Cancelliere <fernandez858 at gmail.com> > > wrote: > >> Hi Barry, > >> is Matlab under Windows with petsc-cygwin supported? > >> > > > > Unlikely, we would need to build PETSc as a DLL... If anyone can > > manage to do that, then Barry's work should work out of the box. > > > > Or perhaps PETSc do build as a DLL under cygwin? > > > >> Thanks, > >> Michel > >> On Sun, Dec 26, 2010 at 5:17 AM, Barry Smith <bsmith at mcs.anl.gov> wrote: > >>> > >>> PETSc users, > >>> > >>> It is now possible to write MATLAB programs (sequential) that use PETSc > >>> KSP, SNES, and TS solvers directly in MATLAB. The code is still > >>> experimental > >>> and incomplete. But if you are interested in trying it out, get the > >>> development release of PETSc > >>> http://www.mcs.anl.gov/petsc/petsc-as/developers/index.html join the > >>> development mailing list petsc-dev > >>> http://www.mcs.anl.gov/petsc/petsc-as/miscellaneous/mailing-lists.html, > >>> read > >>> bin/matlab/classes/PetscInitialize.m, configure and make PETSc and join > >>> the > >>> fun. We are definitely in need of more developers for this code. > >>> > >>> Barry > >>> > >>> > >> > >> > > > > > > > > -- > > Lisandro Dalcin > > --------------- > > CIMEC (INTEC/CONICET-UNL) > > Predio CONICET-Santa Fe > > Colectora RN 168 Km 472, Paraje El Pozo > > Tel: +54-342-4511594 (ext 1011) > > Tel/Fax: +54-342-4511169 > >
