[petsc-users] Problem in Loading Matrix in Examples
Eda Oktay
eda.oktay at metu.edu.tr
Tue Feb 5 03:44:26 CST 2019
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
[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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190205/8ba09cbf/attachment.html>
More information about the petsc-users
mailing list