[petsc-users] About MPIRUN

김성익 ksi2443 at gmail.com
Tue Dec 6 05:45:16 CST 2022


Hello,



There is a code which can run in not mpirun and also it can run in
mpi_linear_solver_server.
However, it has an error in just mpirun case such as mpirun -np ./program.
The error output is as below.
[0]PETSC ERROR: --------------------- Error Message
--------------------------------------------------------------
[0]PETSC ERROR: Object is in wrong state
[0]PETSC ERROR: Not for unassembled vector
[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.18.1, unknown
[0]PETSC ERROR: ./app on a arch-linux-c-debug named ubuntu by ksi2443 Tue
Dec  6 03:39:13 2022
[0]PETSC ERROR: Configure options -download-mumps -download-scalapack
-download-parmetis -download-metis
[0]PETSC ERROR: #1 VecCopy() at
/home/ksi2443/petsc/src/vec/vec/interface/vector.c:1625
[0]PETSC ERROR: #2 KSPInitialResidual() at
/home/ksi2443/petsc/src/ksp/ksp/interface/itres.c:60
[0]PETSC ERROR: #3 KSPSolve_GMRES() at
/home/ksi2443/petsc/src/ksp/ksp/impls/gmres/gmres.c:227
[0]PETSC ERROR: #4 KSPSolve_Private() at
/home/ksi2443/petsc/src/ksp/ksp/interface/itfunc.c:899
[0]PETSC ERROR: #5 KSPSolve() at
/home/ksi2443/petsc/src/ksp/ksp/interface/itfunc.c:1071
[0]PETSC ERROR: #6 main() at /home/ksi2443/Downloads/coding/a1.c:450
[0]PETSC ERROR: No PETSc Option Table entries
[0]PETSC ERROR: ----------------End of Error Message -------send entire
error message to petsc-maint at mcs.anl.gov----------

How can I fix this??

Thanks,
Hyung Kim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20221206/4fa04803/attachment.html>


More information about the petsc-users mailing list