Re: [petsc-users] petsc4py: reuse setup for multiple solver calls?

2018-04-05 Thread Robert Speck
Thank you for your answer! Please see below for comments/questions. On 05.04.18 12:53, Matthew Knepley wrote: > On Thu, Apr 5, 2018 at 6:39 AM, Robert Speck > wrote: > > Hi! > > I would like to use petsc4py for my own Python library.

Re: [petsc-users] DMPlexGetCone in Fortran

2018-04-05 Thread Bernardo Rocha
OK, thanks a lot. I had to rename the files and add -ffixed-form as argument to the compiler. Best regards, Bernardo On Thu, Apr 5, 2018 at 8:21 PM, Matthew Knepley wrote: > On Thu, Apr 5, 2018 at 7:16 PM, Bernardo Rocha < > bernardomartinsro...@gmail.com> wrote: > >> Hello

Re: [petsc-users] DMPlexGetCone in Fortran

2018-04-05 Thread Matthew Knepley
On Thu, Apr 5, 2018 at 7:16 PM, Bernardo Rocha < bernardomartinsro...@gmail.com> wrote: > Hello everyone, > > I've been trying to use DMPlex in a Fortran 77 application > (unfortunately this is legacy code and I can't move to F90). > > Is there a way to use DMPlexGetCone on it? > Although the

[petsc-users] DMPlexGetCone in Fortran

2018-04-05 Thread Bernardo Rocha
Hello everyone, I've been trying to use DMPlex in a Fortran 77 application (unfortunately this is legacy code and I can't move to F90). Is there a way to use DMPlexGetCone on it? Although the documentation online says it is only available for F90, I'm wondering if there is a trick like the ones

Re: [petsc-users] [petsc-dev] ftp.mcs.anl.gov is down - breaking petsc builds with --download-package

2018-04-05 Thread Derek Gaston
Thanks for getting back to me - must be something about my environment here (ftp might even be blocked currently - although I did try from two different networks). I was able to get what I needed by using "http" for now. Sorry for the traffic. Derek On Thu, Apr 5, 2018 at 4:54 PM Satish Balay

Re: [petsc-users] [petsc-dev] ftp.mcs.anl.gov is down - breaking petsc builds with --download-package

2018-04-05 Thread Satish Balay
Both ftp and http work fine for me.. balay@asterix /home/balay/petsc.x/petsc (balay/test=) $ lftp ftp://ftp.mcs.anl.gov/pub/petsc/externalpackages cd ok, cwd=/pub/petsc/externalpackages lftp ftp.mcs.anl.gov:/pub/petsc/externalpackages> ls |head -rw-r- 1 ftp ftp

Re: [petsc-users] Could not execute "['git', 'rev-parse', '--git-dir']"

2018-04-05 Thread Kong, Fande
Hi Cormac, Thanks so much! It is working now. Fande, On Thu, Apr 5, 2018 at 11:21 AM, Garvey, Cormac T wrote: > I made some changes to the falcon cluster environment. Please try the > default git (i.e Without loading a module) and > see if petsc will install correctly.

Re: [petsc-users] Could not execute "['git', 'rev-parse', '--git-dir']"

2018-04-05 Thread Garvey, Cormac T
I made some changes to the falcon cluster environment. Please try the default git (i.e Without loading a module) and see if petsc will install correctly. Thanks, Cormac. On Wed, Apr 4, 2018 at 5:09 PM, Fande Kong wrote: > The default git gives me: > > *Could not execute

Re: [petsc-users] Problems with DMDAVecGetArrayF90 + Intel

2018-04-05 Thread Fabian.Jakub
Hi, Not sure if this is related to your current issues but I once had issues with this particular function with IBM XLF compilers but never got to a solution because... a) VecGetArrayF90 also worked for me b) and the IBM Machine got switched off Anyway, I did not have any issues since then...

[petsc-users] Problems with DMDAVecGetArrayF90 + Intel

2018-04-05 Thread Randall Mackie
Dear PETSc users, I’m curious if anyone else experiences problems using DMDAVecGetArrayF90 in conjunction with Intel compilers? We have had many problems (typically 11 SEGV segmentation violations) when PETSc is compiled in optimize mode (with various combinations of options). These same codes

Re: [petsc-users] --download-hdf5 and then compiling cgns

2018-04-05 Thread Klaij, Christiaan
That would be nice. The minimum for me would be ./configure \ --prefix=/path/to/myprefix \ --with-hdf5=/path/to/petsc/hdf5 \ --with-fortran=yes but I sure like to have their tools as well ./configure \ --prefix=/path/to/myprefix \ --with-hdf5=/path/to/petsc/hdf5 \

Re: [petsc-users] --download-hdf5 and then compiling cgns

2018-04-05 Thread Satish Balay
Glad it works.. Perhaps its is simple fix to add in --download-cgns option to petsc configure.. [I see its a direct dependency from PETSc sources - src/dm/impls/plex/plexcgns.c ] Satish On Thu, 5 Apr 2018, Klaij, Christiaan wrote: > Satish, Gaetan, thanks for your suggestions. I've decided

Re: [petsc-users] petsc4py: reuse setup for multiple solver calls?

2018-04-05 Thread Matthew Knepley
On Thu, Apr 5, 2018 at 6:39 AM, Robert Speck wrote: > Hi! > > I would like to use petsc4py for my own Python library. Installation > went well, first tests (serial and parallel) look good. > > Here is what I want to do: I have my own time-stepping playground and I > want

[petsc-users] petsc4py: reuse setup for multiple solver calls?

2018-04-05 Thread Robert Speck
Hi! I would like to use petsc4py for my own Python library. Installation went well, first tests (serial and parallel) look good. Here is what I want to do: I have my own time-stepping playground and I want petsc4py to be one of my backbones for the data types and (linear or non-linear, serial or

Re: [petsc-users] --download-hdf5 and then compiling cgns

2018-04-05 Thread Klaij, Christiaan
Satish, Gaetan, thanks for your suggestions. I've decided not to use cmake for cgns, and that works fine with petsc's build of hdf5. Chris dr. ir. Christiaan Klaij | Senior Researcher | Research & Development MARIN | T +31 317 49 33 44 | c.kl...@marin.nl |