[petsc-dev] p4est matlab error

Mark Adams mfadams at lbl.gov
Mon Dec 28 12:43:20 CST 2020


Oh yea, duh, its mat_view.

On Mon, Dec 28, 2020 at 10:35 AM Matthew Knepley <knepley at gmail.com> wrote:

> On Mon, Dec 28, 2020 at 9:51 AM Mark Adams <mfadams at lbl.gov> wrote:
>
>> This used to work:
>>
>> ./ex2 -dm_view ascii:local3.m:ascii_matlab -vec_view
>> ascii:local3.m:ascii_matlab:append ....
>>
>
> I know vec_view to Matlab format works, but what would the DMView produce
> in MatLab?
>
>   THanks,
>
>     Matt
>
>
>> [0]PETSC ERROR: --------------------- Error Message
>> --------------------------------------------------------------
>> [0]PETSC ERROR: No support for this operation for this object type
>> [0]PETSC ERROR: No support for format 'ASCII_MATLAB'
>> [0]PETSC ERROR: See https://www.mcs.anl.gov/petsc/documentation/faq.html
>> for trouble shooting.
>> [0]PETSC ERROR: Petsc Development GIT revision: v3.14.2-338-g2911d1dbb4
>>  GIT Date: 2020-12-23 22:09:57 +0000
>> [0]PETSC ERROR: ./ex2 on a arch-macosx-gnu-g named MarksMac-302.local by
>> markadams Mon Dec 28 09:44:01 2020
>> [0]PETSC ERROR: Configure options
>> --with-mpi-dir=/usr/local/Cellar/mpich/3.3.2_1 COPTFLAGS="-g -O0"
>> CXXOPTFLAGS="-g -O0" --download-metis=1 --download-parmetis=1
>> --download-kokkos=1 --download-kokkos-kernels=1 --download-p4est=1
>> --with-zlib=1 --with-make-np=4 --download-hdf5=1 -with-cuda=0 --with-x=0
>> --with-debugging=1 PETSC_ARCH=arch-macosx-gnu-g --with-64-bit-indices=0
>> --with-openmp=0 --with-ctable=0
>> [0]PETSC ERROR: #1 DMView_ASCII_p4est() line 1386 in
>> /Users/markadams/Codes/petsc/src/dm/impls/forest/p4est/pforest.c
>> [0]PETSC ERROR: #2 DMView_p4est() line 1495 in
>> /Users/markadams/Codes/petsc/src/dm/impls/forest/p4est/pforest.c
>> [0]PETSC ERROR: #3 DMView() line 932 in
>> /Users/markadams/Codes/petsc/src/dm/interface/dm.c
>> [0]PETSC ERROR: #4 PetscObjectView() line 90 in
>> /Users/markadams/Codes/petsc/src/sys/objects/destroy.c
>> [0]PETSC ERROR: #5 PetscObjectViewFromOptions() line 124 in
>> /Users/markadams/Codes/petsc/src/sys/objects/destroy.c
>> [0]PETSC ERROR: #6 DMViewFromOptions() line 877 in
>> /Users/markadams/Codes/petsc/src/dm/interface/dm.c
>> [0]PETSC ERROR: #7 main() line 747 in ex2.c
>>
>> Any ideas on how to go about fixing this? would just converting to a plex
>> work?
>>
>>
>
> --
> 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
>
> https://www.cse.buffalo.edu/~knepley/
> <http://www.cse.buffalo.edu/~knepley/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20201228/ff1e0444/attachment.html>


More information about the petsc-dev mailing list