I am trying to run in parallel and saw that I need to use the mpirun command. I can run perfectly well (if slowly) without MPI however, when I run with this command I fail in my first non-linear iteration with the attached error message.I'm not understanding the error message, do I need to use a different solver?
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/799f8086-e2a3-4572-a679-63f50e779bee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I am trying to run in parallel and saw that I need to use the mpirun command. I can run perfectly well (if slowly) without MPI however, when I run with this command I fail in my first non-linear iteration with the attached error message.I'm not understanding the error message, do I need to use a different solver?
On Fri, Dec 2, 2016 at 8:48 AM, John <haas...@gmail.com> wrote:I am trying to run in parallel and saw that I need to use the mpirun command. I can run perfectly well (if slowly) without MPI however, when I run with this command I fail in my first non-linear iteration with the attached error message.I'm not understanding the error message, do I need to use a different solver?Yes, you can't use "-pc_type lu" in parallel. Instead, you can try the PETSc defaults or "-pc_type asm -sub_pc_type ilu" and see if they will work for your application.
[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html for possible LU and Cholesky solvers[0]PETSC ERROR: MatSolverPackage petsc does not support matrix type mpiaij[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.[0]PETSC ERROR: Petsc Release Version 3.6.4, Apr, 12, 2016[0]PETSC ERROR: ~/zapdos/zapdos-opt on a arch-linux2-c-opt named crcfe01.crc.nd.edu by jhaase1 Fri Dec 2 10:40:20 2016[0]PETSC ERROR: Configure options --prefix=~/Moose-dir/petsc/petsc-3.6.4/gcc-opt --download-hypre=1 --with-ssl=0 --with-debugging=no --with-pic=1 --with-shared-libraries=1 --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 --download-fblaslapack=1 --download-metis=1 --download-parmetis=1 --download-superlu_dist=1 --download-scalapack=1 --download-mumps=1 CC=mpicc CXX=mpicxx FC=mpif90 F77=mpif77 F90=mpif90 CFLAGS="-fPIC -fopenmp" CXXFLAGS="-fPIC -fopenmp" FFLAGS="-fPIC -fopenmp" FCFLAGS="-fPIC -fopenmp" F90FLAGS="-fPIC -fopenmp" F77FLAGS="-fPIC -fopenmp" PETSC_DIR=~/Moose-dir/petsc/temp/petsc-3.6.4[0]PETSC ERROR: #1 MatGetFactor() line 4170 in ~/Moose-dir/petsc/temp/petsc-3.6.4/src/mat/interface/matrix.c[0]PETSC ERROR: #2 PCSetUp_LU() line 125 in ~/Moose-dir/petsc/temp/petsc-3.6.4/src/ksp/pc/impls/factor/lu/lu.c[0]PETSC ERROR: #3 PCSetUp() line 983 in ~/Moose-dir/petsc/temp/petsc-3.6.4/src/ksp/pc/interface/precon.c[0]PETSC ERROR: #4 KSPSetUp() line 332 in ~/Moose-dir/petsc/temp/petsc-3.6.4/src/ksp/ksp/interface/itfunc.c[0]PETSC ERROR: #5 KSPSolve() line 547 in ~/Moose-dir/petsc/temp/petsc-3.6.4/src/ksp/ksp/interface/itfunc.c[0]PETSC ERROR: #6 SNESSolve_NEWTONLS() line 233 in ~/Moose-dir/petsc/temp/petsc-3.6.4/src/snes/impls/ls/ls.c[0]PETSC ERROR: #7 SNESSolve() line 3906 in ~/Moose-dir/petsc/temp/petsc-3.6.4/src/snes/interface/snes.c--John
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CANj%2BmwCS-4YHX-%2BjzhXUi4RQgmzoGMNLXhTJ0k3xT5NCfftD1g%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CANj%2BmwCS-4YHX-%2BjzhXUi4RQgmzoGMNLXhTJ0k3xT5NCfftD1g%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAK4PXd2ZKVXuQcM5Ze4LKbuQKRkgUF0Ngnuwy8GZsV36urrHGA%40mail.gmail.com.
Yes: but the best advice is to get away from using LU (or any direct solver). If you want to go parallel... start trying to use preconditioned Krylov solvers.
Derek
Derek
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAK4PXd2cCOe8Xt6q_ykjBLtsYMMdQT6cXFA76AS8wcUdzUtrJw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAK06EuW5OyiRs3hJXSe2BNBMn4VjhdjYV5VgW_92X2pnXDmb4g%40mail.gmail.com.