Re: [petsc-users] Is it still worth switching to PETSc if I can't write a Jacobian for my problem?

2015-12-10 Thread Brian Merchant
On Wed, Dec 9, 2015 at 2:18 PM, Barry Smith <bsm...@mcs.anl.gov> wrote: > > I prefer the actual code, not the mathematics or the explanation > > > On Dec 9, 2015, at 3:42 PM, Brian Merchant <bhmerch...@gmail.com> wrote: > > > > Hi Barry, > > > >

Re: [petsc-users] Is it still worth switching to PETSc if I can't write a Jacobian for my problem?

2015-12-10 Thread Brian Merchant
comes crucial to have a very fast right hand side function (since you > will need many time steps). If you are lucky you can use something like a > 4th order RK scheme (but again maybe with a non smooth right hand side may > you can't). > >I am no expert. Perhaps Emil who i

Re: [petsc-users] Is it still worth switching to PETSc if I can't write a Jacobian for my problem?

2015-12-10 Thread Brian Merchant
a very fast right hand side function (since >> you will need many time steps). If you are lucky you can use something like >> a 4th order RK scheme (but again maybe with a non smooth right hand side >> may you can't). >> >> I am no expert. Perhaps Emil who is far more kn

Re: [petsc-users] Is it still worth switching to PETSc if I can't write a Jacobian for my problem?

2015-12-09 Thread Brian Merchant
Alright, I can get that for you! Thank you very much for your time! On Wed, Dec 9, 2015 at 2:18 PM, Barry Smith <bsm...@mcs.anl.gov> wrote: > > I prefer the actual code, not the mathematics or the explanation > > > On Dec 9, 2015, at 3:42 PM, Brian Merchant <bhm

[petsc-users] Is it still worth switching to PETSc if I can't write a Jacobian for my problem?

2015-12-07 Thread Brian Merchant
Hi all, I am considering using petsc4py instead of scipy.integrate.odeint (which is a wrapper for Fortran solvers) for a problem involving the solution of a system of ODEs. The problem has the potential to be stiff. Writing down its Jacobian is very hard. So far, I have been able to produce

Re: [petsc-users] Compiling PETSc on Windows with Cygwin: errors with `win32fe cl`; okay to use `gcc`, `g++`, `gfortran` as compilers instead of `win32cf cl`?

2015-11-21 Thread Brian Merchant
t; [however you can't build petsc with cygwin/gnu compilers - and then > link in with an application using MS compilers] > > Satish > > On Sat, 21 Nov 2015, Brian Merchant wrote: > > > Hi all, > > > > I'd like to try and install PETSc on Windows (even though I hav

[petsc-users] Compiling PETSc on Windows with Cygwin: errors with `win32fe cl`; okay to use `gcc`, `g++`, `gfortran` as compilers instead of `win32cf cl`?

2015-11-21 Thread Brian Merchant
Hi all, I'd like to try and install PETSc on Windows (even though I have been forewarned that it is better to simply install it on a unix system). Some information about my system: * Windows 10 Pro, 64 bit * latest Cygwin with make, gcc, g++, gfortran installed The PETSc installation

Re: [petsc-users] Compiling PETSc on Windows with Cygwin: errors with `win32fe cl`; okay to use `gcc`, `g++`, `gfortran` as compilers instead of `win32cf cl`?

2015-11-21 Thread Brian Merchant
, for me, it would be better to use PETSc with the Anaconda distribution for Unix-like systems. Thanks again, Brian On Sat, Nov 21, 2015 at 1:17 PM, Barry Smith <bsm...@mcs.anl.gov> wrote: > > > On Nov 21, 2015, at 3:05 PM, Brian Merchant <bhmerch...@gmail.com> > wrote: >