[petsc-users] Problem in Loading Matrix in Examples

Eda Oktay eda.oktay at metu.edu.tr
Tue Feb 5 04:45:44 CST 2019


Dear Matt,

Thank you for answering. I didn't recognize that part. But I still can't
find a matrix called "small" and there are some examples testing with
"medium". Am I missing something?

Thanks,

Eda

Matthew Knepley <knepley at gmail.com>, 5 Şub 2019 Sal, 13:35 tarihinde şunu
yazdı:

> On Tue, Feb 5, 2019 at 4:44 AM Eda Oktay via petsc-users <
> petsc-users at mcs.anl.gov> wrote:
>
>> Hi,
>>
>> I am new in PETSc and trying to run some examples in MAT file.
>>
>> I cannot run the ones that need to load matrix from file. Here are the
>> examples:
>>
>> For ex12 in MAT file:
>> args: -f0
>> ${wPETSC_DIR}/share/petsc/datafiles/matrices/ns-real-int32-float64
>> requires: double !complex !define(PETSC_USE_64BIT_INDICES)
>>
>> When I type ./ex11 -f0
>> home/petsc-3.10.3/share/petsc/datafiles/matrices/ns-real-int32-float64, I
>> get the following error message:
>>
>> [0]PETSC ERROR: --------------------- Error Message
>> --------------------------------------------------------------
>> [0]PETSC ERROR: No support for this operation for this object type
>> [0]PETSC ERROR: This example is for exactly two processes
>>
>
> As it says above, the example is for 2 processes, but you are running it
> on 1.
>
>    Matt
>
>
>> [0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html
>> for trouble shooting.
>> [0]PETSC ERROR: Petsc Release Version 3.10.3, Dec, 18, 2018
>> [0]PETSC ERROR: ./ex11 on a arch-linux2-c-debug named
>> bb91.wls.metu.edu.tr by edaoktay Tue Feb  5 12:41:49 2019
>> [0]PETSC ERROR: Configure options --with-cc=gcc --with-cxx=g++
>> --with-fc=gfortran --with-cxx-dialect=C++11 --download-openblas
>> --download-metis --download-parmetis --download-superlu_dist
>> --download-slepc --download-mpich
>> [0]PETSC ERROR: #1 main() line 31 in
>> /home/edaoktay/petsc-3.10.3/src/mat/examples/tutorials/ex11.c
>> [0]PETSC ERROR: PETSc Option Table entries:
>> [0]PETSC ERROR: -f0
>> home/petsc-3.10.3/share/petsc/datafiles/matrices/ns-real-int32-float64
>> [0]PETSC ERROR: ----------------End of Error Message -------send entire
>> error message to petsc-maint at mcs.anl.gov----------
>> application called MPI_Abort(MPI_COMM_WORLD, 56) - process 0
>> [unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=56
>> :
>> system msg for write_line failure : Bad file descriptor
>>
>>
>> For ex10 in MAT file:
>> suffix: seqaij
>> requires: datafilespath double !complex !define(PETSC_USE_64BIT_INDICES)
>> args: -f ${DATAFILESPATH}/matrices/small -a_mat_type seqaij
>>
>> There is not a matrix called small, however during configuration, it
>> should be tested successfully and there is an output. Also, I get pretty
>> much the same error here too.
>>
>> I believe there is a problem in requirements but I cannot find any
>> solution.
>>
>
>
> --
> 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-users/attachments/20190205/b78379d0/attachment.html>


More information about the petsc-users mailing list