[petsc-users] PETSc 3.2 release candidate
Matthew Knepley
knepley at gmail.com
Sat Sep 3 13:04:04 CDT 2011
On Sat, Sep 3, 2011 at 6:04 PM, Tabrez Ali <stali at geology.wisc.edu> wrote:
> Hello
>
> What is the equivalent of $(PETSC_INCLUDE) in petsc-3.2? I am using Fortran
> and my files end in .f90. My working Makefile for petsc-3.1 (with gfortran)
> looks like
>
> include ${PETSC_DIR}/conf/variables
> include ${PETSC_DIR}/conf/rules
> all:
> mpif90 -c -Wall -x f95-cpp-input $(PETSC_INCLUDE) a.f90 b.f90 c.f90
> $(FLINKER) a.o b.o c.o $(PETSC_FORTRAN_LIB) $(PETSC_LIB) -o exec
> $(RM) *.o *.mod
>
> With 3.2 I get the error
>
> stali at i5:~/src$ make all
> mpif90 -c -Wall -x f95-cpp-input a.f90 b.f90 c.f90
> b.f90:8:0: fatal error: finclude/petscsys.h: No such file or directory
>
In order to get around some portability problems we split PETSC_INCLUDE into
${PETSC_CC_INCLUDES}
and
${PETSC_FC_INCLUDES}
I believe you want the later.
Thanks,
Matt
> Thanks in advance
>
> Tabrez
>
> On 09/02/2011 09:01 PM, Satish Balay wrote:
>
>> Also one can use the following tarball. It will correspond to
>> petsc-3.2 sources for the next few days. And i've set it up to be
>> updated every 3 hours [from the sources in mercurial].
>>
>> http://ftp.mcs.anl.gov/pub/**petsc/petsc-dev.tar.gz<http://ftp.mcs.anl.gov/pub/petsc/petsc-dev.tar.gz>
>>
>> Satish
>>
>> On Fri, 2 Sep 2011, Barry Smith wrote:
>>
>> You can find the PETSc 3.2 release candidate via Mecurial at:
>>>
>>>> ssh://petsc@petsc.cs.iit.edu//**hg/petsc/releases/petsc-3.2<http://petsc@petsc.cs.iit.edu//hg/petsc/releases/petsc-3.2> or
>>>> http://petsc.cs.iit.edu/petsc/**releases/petsc-3.2<http://petsc.cs.iit.edu/petsc/releases/petsc-3.2>
>>>> ssh://petsc@petsc.cs.iit.edu//**hg/petsc/releases/BuildSystem-**3.2<http://petsc@petsc.cs.iit.edu//hg/petsc/releases/BuildSystem-3.2> or
>>>> http://petsc.cs.iit.edu/petsc/**releases/BuildSystem-3.2<http://petsc.cs.iit.edu/petsc/releases/BuildSystem-3.2>
>>>>
>>> If you find any problems please let us know. We'll be making the
>>> tarball in a couple of days.
>>>
>>> Thanks
>>>
>>> Barry
>>>
>>> If you fix anything, please make the fix in petsc-3.2 not petsc-dev
>>>
>>>
>>>
>>>>
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110903/c0313c67/attachment.htm>
More information about the petsc-users
mailing list