[petsc-users] Which IDE you use to develop petsc application

Barry Smith bsmith at mcs.anl.gov
Fri Nov 16 19:59:04 CST 2012


  
On Nov 16, 2012, at 6:35 PM, Fande Kong <fd.kong at siat.ac.cn> wrote:

> Thanks.It sounds very interesting. I always use Eclipse as my IDE for developing other applications (including java application, Android mobile application, web server and so on), but I don't know how to use it to develop Petsc application.  I can't find any documents about how to do this.

  In our users manual we have a small amount of information at  http://www.mcs.anl.gov/petsc/petsc-current/docs/manual.pdf  13.10 Eclipse Users  

  Any additional information you can provide to our users manual would be appreciated.

   Thanks

    Barry


> 
> On Fri, Nov 16, 2012 at 1:16 PM, Mohammad Mirzadeh <mirzadeh at gmail.com> wrote:
> I have successfully used Qt Creator with any C/C++ program I have developed regardless of what external package I'm linking against. It works for my projects with PETSc really nicely and you get all the benefits of auto-compeletion, refactoring, and function/class lookups. Plus, you can use the visual debugger which is just a front-end to gdb and works quite nicely whether you are debugging serial, MPI, or threaded codes.
> 
> This strategy is perfect for local development where you later deploy the code to a remote cluster for running. If you want to directly edit codes on a remote cluster, you can mount the remote drive and just use the IDE as if you were editing local files. The debugger won't work in this case obviously (although there are supports for remote-debugging as well but I have not tried them out). Finally it has got front-ends to valgrind for both men-check and calgrind tools.
> 
> There is a little bit of information in the manual on this, but do not hesitate to ask me questions if you were interested.
> 
> 
> On Thu, Nov 15, 2012 at 5:03 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 
>    Because we are developing PETSc as a library that must be portable to many users most people who develop the PETSc libraries do not use a IDE.
> 
>    For someone who is writing AN APPLICATION that uses PETSc (especially an application with guis) it makes sense to use an IDL to do that development. What you chose should depend on what machine you develop on and what your are experienced with or comfortable with. In the users manual we try to provide some information on using PETSc from a variety of IDEs. We are interested in collecting information on using PETSc from IDEs and improving our documentation.
> 
> 
>    Barry
> 
> 
> On Nov 15, 2012, at 4:52 PM, Fande Kong <fd.kong at siat.ac.cn> wrote:
> 
> >  Got it. Thanks.
> > On Thu, Nov 15, 2012 at 3:49 PM, Matthew Knepley <knepley at gmail.com> wrote:
> > On Thu, Nov 15, 2012 at 5:41 PM, Fande Kong <fande.kong at colorado.edu> wrote:
> > > Hi all,
> > >
> > > In order to improve development the efficient of the petsc application
> > > development, which IDE are you using?
> >
> > Emacs+gdb.
> >
> >   Matt
> >
> > > Regards,
> > > --
> > > Fande Kong
> > > Department of Computer Science
> > > University of Colorado at Boulder
> > >
> > >
> >
> >
> >
> > --
> > What most experimenters take for granted before they begin their
> > experiments is infinitely more interesting than any results to which
> > their experiments lead.
> > -- Norbert Wiener
> >
> >
> >
> >
> > --
> > Fande Kong
> > ShenZhen Institutes of Advanced Technology
> > Chinese Academy of Sciences
> >
> 
> 
> 
> 
> 
> -- 
> Fande Kong
> ShenZhen Institutes of Advanced Technology
> Chinese Academy of Sciences
> 



More information about the petsc-users mailing list