Thanks Satish!
> On Mar 8, 2018, at 9:50 AM, Satish Balay wrote:
>
> Great! I've merged balay/ftn-VIEWER_DRAW/maint to 'maint'
>
> Satish
>
> On Thu, 8 Mar 2018, Tim Steinhoff wrote:
>
>> Yeah, thanks Satish.
>> PETSC_VIEWER_DRAW_() works perfectly and I could not reproduce my
>> above m
Great! I've merged balay/ftn-VIEWER_DRAW/maint to 'maint'
Satish
On Thu, 8 Mar 2018, Tim Steinhoff wrote:
> Yeah, thanks Satish.
> PETSC_VIEWER_DRAW_() works perfectly and I could not reproduce my
> above mentioned issue with PETSC_VIEWER_STDOUT_(), so probably I
> messed something up.
> Thanks
Yeah, thanks Satish.
PETSC_VIEWER_DRAW_() works perfectly and I could not reproduce my
above mentioned issue with PETSC_VIEWER_STDOUT_(), so probably I
messed something up.
Thanks again for your great support,
Volker
2018-03-06 18:14 GMT+01:00 Satish Balay :
> Ok - I've added ftn interface for PET
Ok - I've added ftn interface for PETSC_VIEWER_DRAW_() [similar to
PETSC_VIEWER_STDOUT_()] in branch balay/ftn-VIEWER_DRAW/maint.
You can give it a try and see if it works.
Satish
On Tue, 6 Mar 2018, Satish Balay wrote:
> Hm - I do see the fortran interface code for PETSC_VIEWER_STDOUT_()
>
>
Hm - I do see the fortran interface code for PETSC_VIEWER_STDOUT_()
https://bitbucket.org/petsc/petsc/src/049452fa31a1384b9850ba16ebcec79c99e4198c/src/sys/classes/viewer/impls/ascii/ftn-custom/zvcreatef.c?at=master&fileviewer=file-view-default
and it does appear to work for me.
balay@asterix /ho
Hi Barry,
thanks for your fast response. Yes, I'm fine with that.
Indeed, my code with the routine PETSC_VIEWER_STDOUT_(comm) was
compilable, but turned out it did not work properly at runtime
(hangs).
When using PETSC_VIEWER_DRAW_(comm), the compiler immediately gives an
error and I was confused.
Tim,
The PETSC_VIEWER_STDOUT_(comm) construct doesn't work in Fortran. Only
the
PETSC_VIEWER_STDOUT_WORLD or PETSC_VIEWER_STDOUT_SELF work. This is also true
for
draw see src/ksp/ksp/examples/tutorials/ex100f.F90
Note that you can use PetscViewerDrawOpen() to get a draw to open