[petsc-users] Which IDE you use to develop petsc application
Barry Smith
bsmith at mcs.anl.gov
Fri Nov 16 14:21:39 CST 2012
On Nov 16, 2012, at 2: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 is great and I'm really glad to hear it. I think that most PETSc users could benefit from working in a GUI development system and I'd like to hear more experiences so we can provide more documentation etc to help people with that.
Barry
>
> 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
> >
>
>
More information about the petsc-users
mailing list