Re: [petsc-users] undefined reference error in make test

2016-01-14 Thread praveen kumar
Thanks a lot Satish. On Fri, Jan 15, 2016 at 12:05 PM, Satish Balay wrote: > Matt already responded to this. You should be using VecSet() - not > VectorSet(). > I'm not sure where you got VectorSet() from... > > > > > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecSet.html >

Re: [petsc-users] undefined reference error in make test

2016-01-14 Thread Satish Balay
Matt already responded to this. You should be using VecSet() - not VectorSet(). I'm not sure where you got VectorSet() from... > > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecSet.html Satish On Fri, 15 Jan 2016, praveen kumar wrote: > I’m struggling to figure out *undefin

Re: [petsc-users] undefined reference error in make test

2016-01-14 Thread praveen kumar
I’m struggling to figure out *undefined reference to `vectorset_*. I’ve included both petscvec.h and petscvec.h90 but the error appears again. I’m attaching makefile and code. any help will be appreciated. On Thu, Jan 14, 2016 at 9:39 PM, Matthew Knepley wrote: > On Thu, Jan 14, 2016 at 12:03 A

Re: [petsc-users] undefined reference error in make test

2016-01-14 Thread Matthew Knepley
On Thu, Jan 14, 2016 at 12:03 AM, praveen kumar wrote: > I’ve written a fortan code (F90) for domain decomposition.* I've > specified **the paths of include files and libraries, but the > compiler/linker still * > > > *complained about undefined references.undefined reference to `vectorset_'* >

[petsc-users] undefined reference error in make test

2016-01-13 Thread praveen kumar
I’ve written a fortan code (F90) for domain decomposition.* I've specified **the paths of include files and libraries, but the compiler/linker still * *complained about undefined references.undefined reference to `vectorset_'undefined reference to `dmdagetlocalinfo_'*I’m attaching makefile and

[petsc-users] undefined reference error in make test

2011-02-25 Thread Mohammad Mirzadeh
Thanks Jed. I think the problem was petsc using some of files from hypre 2.0 although I was compiling it with 2.7. I did a fresh install with hypre 2.7 and now everything is running fine. Thanks again, Mohammad On Fri, Feb 25, 2011 at 4:25 AM, Jed Brown wrote: > On Fri, Feb 25, 2011 at 12:18, M

[petsc-users] undefined reference error in make test

2011-02-25 Thread Jed Brown
On Fri, Feb 25, 2011 at 12:18, Mohammad Mirzadeh wrote: > Just tried hypre-2.7.0b. That didn't solve the problem either. However, I > just found this in my make.log file that might help: > > mhyp.c: In function 'MatZeroEntries_HYPREStruct_3d': > mhyp.c:397: warning: implicit declaration of functi

[petsc-users] undefined reference error in make test

2011-02-25 Thread Jed Brown
On Fri, Feb 25, 2011 at 10:45, Mohammad Mirzadeh wrote: > I just noticed that when compiling petsc-3.1-p7 with hypre-2.0.0 It seems that the Hypre team has no plans to do "general releases" so everyone uses "beta" releases instead. I see that hypre-2.7.0b has been released and petsc-3.1 might w

[petsc-users] undefined reference error in make test

2011-02-25 Thread Mohammad Mirzadeh
Just tried hypre-2.7.0b. That didn't solve the problem either. However, I just found this in my make.log file that might help: mhyp.c: In function 'MatZeroEntries_HYPREStruct_3d': mhyp.c:397: warning: implicit declaration of function 'hypre_StructMatrixClearBoxValues' On Fri, Feb 25, 2011 at 1:58

[petsc-users] undefined reference error in make test

2011-02-25 Thread Mohammad Mirzadeh
Hi all, I just noticed that when compiling petsc-3.1-p7 with hypre-2.0.0, running make test results in the following undefined reference error on ex19 and ex5f: --Error detected during compile or link!--- See http://www.mcs.anl.gov/petsc/petsc-2/documentation/troub