When using --prefix - I normally install each package/version in separate locations. i.e
mpich configure --prefix=$HOME/soft/mpich2-1.2.1p1 etc.. petsc configure --with-mpi-dir=$HOME/soft/mpich2-1.2.1p1 ... Satish On Mon, 27 Sep 2010, Michael E Henderson wrote: > Yes! I've made this mistake before. I did have older petsc include files > from the days when I "installed" petsc. I don't do that anymore by the > way. > > Thanks, > > Mike > ------------------------------------------------------------------------------------------------------------------------------------ > Mathematical Sciences, TJ Watson Research Center > mhender at watson.ibm.com > http://www.research.ibm.com/people/h/henderson/ > http://multifario.sourceforge.net/ > > > > > From: > Satish Balay <balay at mcs.anl.gov> > To: > PETSc users list <petsc-users at mcs.anl.gov> > Date: > 09/27/2010 12:30 PM > Subject: > Re: [petsc-users] installation of 3.1-p4 under cygwin > Sent by: > petsc-users-bounces at mcs.anl.gov > > > > > --prefix=/home/mhender/InstalledSoftware > > > Using include paths: > > -I/home/mhender/InstalledSoftware/petsc-3.1-p4/cygwin-c-debug/include > > -I/home/mhender/InstalledSoftware/petsc-3.1-p4/include > > -I/home/mhender/InstalledSoftware/petsc-3.1-p4/cygwin-c-debug/include > > -I/home/mhender/include -I/home/mhender/InstalledSoftware/include > > > Do you have old install of petsc lurking in this prefix location? What > do you have for: > > ls /home/mhender/include > ls /home/mhender/InstalledSoftware/include > > Also - the attached configure.log was a link-file - not the actual > logfile. [if needed - you can resend configure.log to petsc-maint - > and not the mailing list] > > Satish > > > On Mon, 27 Sep 2010, Michael E Henderson wrote: > > > I'm trying to install petsc-3.1-p4 under cygwin. > > > > I'm getting errors in the make related to PetscMap that I can't figure > > out. They're like: > > > > vhyp.c: In function `VecHYPRE_IJVectorCreate': > > vhyp.c:19: error: invalid type argument of `->' (have `PetscMap') > > vhyp.c:19: error: invalid type argument of `->' (have `PetscMap') > > vhyp.c: In function `VecHYPRE_IJVectorCopy': > > vhyp.c:36: error: invalid type argument of `->' (have `PetscMap') > > vhyp.c: In function `VecHYPRE_IJVectorCopyFrom': > > vhyp.c:51: error: invalid type argument of `->' (have `PetscMap') > > > > > > > > Thanks, > > > > Mike Henderson > > > ------------------------------------------------------------------------------------------------------------------------------------ > > Mathematical Sciences, TJ Watson Research Center > > mhender at watson.ibm.com > > http://www.research.ibm.com/people/h/henderson/ > > http://multifario.sourceforge.net/ > > > > > >
