Re: [petsc-users] Editor for PETSc

2016-02-05 Thread Kaushik Kulkarni
Hey Jed, Thanks for your response. But a small doubt. Am I supposed to add these two lines to the list of flags. '-I$PETSC_DIR/include', '-I$PETSC_DIR/$PETSC_ARCH/include', Because I did so, and still it was not working. Thanks, Kaushik. *Kaushik KulkarniThird Year Undergraduate* *Department

Re: [petsc-users] Editor for PETSc

2016-02-05 Thread Jed Brown
Kaushik Kulkarni writes: > Hey Jed, > Thanks for your response. But a small doubt. > Am I supposed to add these two lines to the list of flags. > '-I$PETSC_DIR/include', > '-I$PETSC_DIR/$PETSC_ARCH/include', > > Because I did so, and still it was not working. The above

Re: [petsc-users] Editor for PETSc

2016-02-05 Thread Patrick Sanan
If you're using vim, using ctags (you want "exuberant ctags") is a quick and handy way to look around in the PETSc source (with its included man pages). See the manual, http://www.mcs.anl.gov/petsc/petsc-current/docs/manual.pdf, Section 15.9 . (and if you use emacs, see the preceding Section

Re: [petsc-users] Editor for PETSc

2016-02-05 Thread Jed Brown
Kaushik Kulkarni writes: > The problem is not exactly with VIM. It is the plugins, I am using which > gives me suggestions( or the auto-complete feature ) as well as checks the > syntax. But, as it can be seen in the image attached it keeps on popping an > error. > > The

Re: [petsc-users] Editor for PETSc

2016-02-05 Thread Richard Mills
+1. I've always edited my PETSc contributions with Vim and used Exuberant Ctags. The combination has always worked fine. (I switched from Emacs to Vim about 15 years ago and I've found that Vim works well enough for me--given a few crucial plugins--that I don't feel bad about never having been

Re: [petsc-users] Editor for PETSc

2016-02-05 Thread Kaushik Kulkarni
The problem is not exactly with VIM. It is the plugins, I am using which gives me suggestions( or the auto-complete feature ) as well as checks the syntax. But, as it can be seen in the image attached it keeps on popping an error. The thing would be mostly to provide the correct flags to the

[petsc-users] Editor for PETSc

2016-02-05 Thread Kaushik Kulkarni
Hello, I am a newbie to PETSc. I am going thorugh the tutorials right now. But I am struggling a bit in finding the correct editor for me. Till now I was fine with VIM, as it gave me a bunch of completions options in the form of a drop down box. And using the Clang support feature it would also