[petsc-dev] TS ex11 crashing in parallel

Matthew Knepley knepley at gmail.com
Fri May 30 06:10:29 CDT 2014


On Thu, May 29, 2014 at 11:01 PM, Adrian Croucher <a.croucher at auckland.ac.nz
> wrote:

>  hi
>
>
> On 30/05/14 14:42, Matthew Knepley wrote:
>
>
> Adrian, here is the easiest way to get this working:
>
>    cd $PETSC_ARCH/externalpackages/sowing-*
>   cd src/bfort
>   <Copy in the attached bfort.c>
>    make
>   make install
>   cd $PETSC_DIR
>   make allfortranstubs
>   make
>
>
> That all went ok and my little test code snippet for PetscFV now works ok.
> Success!
>
>
>  And you can check it with
>
>    cd src/dm/impls/plex/examples/tutorials
>   make ex3f90
>   ./ex3f90
>
>
> This didn't actually work though... strangely, make ex3f90 gives me:
>
> ex3f90.F:6:0: fatal error: finclude/petsc.h90: No such file or directory
>
> Weird, because that's the same include as in my little code snippet. The
> only thing different I can see is the format- I used free format and ex3f90
> seems to be fixed format?
>

Hmm, the makefile must be broken. I always use Python to test things:

  ./config/builder2.py check src/dm/impls/plex/examples/tutorials/ex390f.F

  Thanks,

     Matt


>
> - Adrian
>
> --
> Dr Adrian Croucher
> Senior Research Fellow
> Department of Engineering Science
> University of Auckland, New Zealand
> email: a.croucher at auckland.ac.nz
> tel: +64 (0)9 923 4611
>
>


-- 
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-dev/attachments/20140530/43d46cc3/attachment.html>


More information about the petsc-dev mailing list