[petsc-users] Problems running KSP ex59

vitse at lmt.ens-cachan.fr vitse at lmt.ens-cachan.fr
Tue Mar 28 03:46:12 CDT 2017


Hi,

I'm a fairly new PETSc user and I've been trying to look at ex59 for  
the last couple of days but I can't seem to have it working, nor can I  
really understand what's wrong. Maybe there are some options missing  
in the configuration? I'm also not sure wether the given warning is  
important or not during the make step...

You'll find below both the make and run output, thanks in advance for  
the help.

Matt



  * Here's the make output:

vitse at sauternes:/ul/vitse/Documents/softs/petsc-3.7.5/src/ksp/ksp/examples/tutorials$ make  
ex59
*********************W-a-r-n-i-n-g*************************
Your PETSC_DIR may not match the directory you are in
PETSC_DIR  /u/vitse/Documents/softs/petsc-3.7.5 Current directory  
/ul/vitse/Documents/softs/petsc-3.7.5/src/ksp/ksp/examples/tutorials
Ignore this if you are running make test
******************************************************
/u/vitse/Documents/softs/petsc-3.7.5/linux-gnu-c-debug/bin/mpicc -o  
ex59.o -c -Wall -Wwrite-strings -Wno-strict-aliasing  
-Wno-unknown-pragmas -fvisibility=hidden -g3    
-I/u/vitse/Documents/softs/petsc-3.7.5/include  
-I/u/vitse/Documents/softs/petsc-3.7.5/linux-gnu-c-debug/include     
`pwd`/ex59.c
/u/vitse/Documents/softs/petsc-3.7.5/linux-gnu-c-debug/bin/mpicc -Wall  
-Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas  
-fvisibility=hidden -g3  -o ex59 ex59.o  
-Wl,-rpath,/u/vitse/Documents/softs/petsc-3.7.5/linux-gnu-c-debug/lib  
-L/u/vitse/Documents/softs/petsc-3.7.5/linux-gnu-c-debug/lib  
-Wl,-rpath,/u/vitse/Documents/softs/petsc-3.7.5/linux-gnu-c-debug/lib  
-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/6  
-L/usr/lib/gcc/x86_64-linux-gnu/6 -Wl,-rpath,/usr/lib/x86_64-linux-gnu  
-L/usr/lib/x86_64-linux-gnu -Wl,-rpath,/lib/x86_64-linux-gnu  
-L/lib/x86_64-linux-gnu -lpetsc -lcmumps -ldmumps -lsmumps -lzmumps  
-lmumps_common -lpord -lparmetis -lmetis -lscalapack -lHYPRE -lmpicxx  
-lstdc++ -lm -lflapack -lfblas -lptesmumps -lptscotch -lptscotcherr  
-lscotch -lscotcherr -lX11 -lhwloc -lpthread -lm -lmpifort -lgfortran  
-lm -lgfortran -lm -lquadmath -lmpicxx -lstdc++ -lm -lrt -lm -lpthread  
-lz  
-Wl,-rpath,/u/vitse/Documents/softs/petsc-3.7.5/linux-gnu-c-debug/lib  
-L/u/vitse/Documents/softs/petsc-3.7.5/linux-gnu-c-debug/lib  
-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/6  
-L/usr/lib/gcc/x86_64-linux-gnu/6 -Wl,-rpath,/usr/lib/x86_64-linux-gnu  
-L/usr/lib/x86_64-linux-gnu -Wl,-rpath,/lib/x86_64-linux-gnu  
-L/lib/x86_64-linux-gnu -Wl,-rpath,/usr/lib/x86_64-linux-gnu  
-L/usr/lib/x86_64-linux-gnu -ldl  
-Wl,-rpath,/u/vitse/Documents/softs/petsc-3.7.5/linux-gnu-c-debug/lib  
-lmpi -lgcc_s -ldl
/bin/rm -f ex59.o


  * and here's what I get when I run the test:

vitse at sauternes:/ul/vitse/Documents/softs/petsc-3.7.5/src/ksp/ksp/examples/tutorials$ mpiexec -n 4 ex59 -npx 2 -npy 2 -nex 2 -ney  
2
[0]PETSC ERROR: --------------------- Error Message  
--------------------------------------------------------------
[0]PETSC ERROR:
[0]PETSC ERROR: This is not a uniprocessor test
[0]PETSC ERROR: See  
http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble  
shooting.
[0]PETSC ERROR: Petsc Release Version 3.7.5, unknown
[0]PETSC ERROR: ex59 on a linux-gnu-c-debug named sauternes by vitse  
Tue Mar 28 09:59:10 2017
[0]PETSC ERROR: Configure options  
PETSC_DIR=/u/vitse/Documents/softs/petsc-3.7.5  
PETSC_ARCH=linux-gnu-c-debug --with-cc=gcc --with-cxx=g++  
--with-fc=gfortran --download-fblaslapack=1 --download-mpich=1  
--download-superflu-dist=1 --download-parmetis=1 --download-metis=1  
--download-ptscotch=1 --with-pcbddc=1 --download-hypre=1  
--download-scalapack=1 --download-mumps=1 --with-pcbddc=1
[0]PETSC ERROR: #1 InitializeDomainData() line 934 in  
/ul/vitse/Documents/softs/petsc-3.7.5/src/ksp/ksp/examples/tutorials/ex59.c
[0]PETSC ERROR: #2 main() line 1009 in  
/ul/vitse/Documents/softs/petsc-3.7.5/src/ksp/ksp/examples/tutorials/ex59.c
[0]PETSC ERROR: PETSc Option Table entries:
[0]PETSC ERROR: -nex 2
[0]PETSC ERROR: -ney 2
[0]PETSC ERROR: -npx 2
[0]PETSC ERROR: -npy 2
[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, 83) - process 0
[unset]: aborting job:
application called MPI_Abort(MPI_COMM_WORLD, 83) - process 0
-------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
[0]PETSC ERROR: --------------------- Error Message  
--------------------------------------------------------------
[0]PETSC ERROR:
[0]PETSC ERROR: This is not a uniprocessor test
[0]PETSC ERROR: See  
http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble  
shooting.
[0]PETSC ERROR: Petsc Release Version 3.7.5, unknown
[0]PETSC ERROR: ex59 on a linux-gnu-c-debug named sauternes by vitse  
Tue Mar 28 09:59:10 2017
[0]PETSC ERROR: Configure options  
PETSC_DIR=/u/vitse/Documents/softs/petsc-3.7.5  
PETSC_ARCH=linux-gnu-c-debug --with-cc=gcc --with-cxx=g++  
--with-fc=gfortran --download-fblaslapack=1 --download-mpich=1  
--download-superflu-dist=1 --download-parmetis=1 --download-metis=1  
--download-ptscotch=1 --with-pcbddc=1 --download-hypre=1  
--download-scalapack=1 --download-mumps=1 --with-pcbddc=1
[0]PETSC ERROR: #1 InitializeDomainData() line 934 in  
/ul/vitse/Documents/softs/petsc-3.7.5/src/ksp/ksp/examples/tutorials/ex59.c
[0]PETSC ERROR: #2 main() line 1009 in  
/ul/vitse/Documents/softs/petsc-3.7.5/src/ksp/ksp/examples/tutorials/ex59.c
[0]PETSC ERROR: PETSc Option Table entries:
[0]PETSC ERROR: -nex 2
[0]PETSC ERROR: -ney 2
[0]PETSC ERROR: -npx 2
[0]PETSC ERROR: -npy 2
[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, 83) - process 0
[unset]: aborting job:
application called MPI_Abort(MPI_COMM_WORLD, 83) - process 0
[0]PETSC ERROR: --------------------- Error Message  
--------------------------------------------------------------
[0]PETSC ERROR:
[0]PETSC ERROR: This is not a uniprocessor test
[0]PETSC ERROR: See  
http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble  
shooting.
[0]PETSC ERROR: Petsc Release Version 3.7.5, unknown
[0]PETSC ERROR: ex59 on a linux-gnu-c-debug named sauternes by vitse  
Tue Mar 28 09:59:10 2017
[0]PETSC ERROR: Configure options  
PETSC_DIR=/u/vitse/Documents/softs/petsc-3.7.5  
PETSC_ARCH=linux-gnu-c-debug --with-cc=gcc --with-cxx=g++  
--with-fc=gfortran --download-fblaslapack=1 --download-mpich=1  
--download-superflu-dist=1 --download-parmetis=1 --download-metis=1  
--download-ptscotch=1 --with-pcbddc=1 --download-hypre=1  
--download-scalapack=1 --download-mumps=1 --with-pcbddc=1
[0]PETSC ERROR: #1 InitializeDomainData() line 934 in  
/ul/vitse/Documents/softs/petsc-3.7.5/src/ksp/ksp/examples/tutorials/ex59.c
[0]PETSC ERROR: #2 main() line 1009 in  
/ul/vitse/Documents/softs/petsc-3.7.5/src/ksp/ksp/examples/tutorials/ex59.c
[0]PETSC ERROR: PETSc Option Table entries:
[0]PETSC ERROR: -nex 2
[0]PETSC ERROR: -ney 2
[0]PETSC ERROR: -npx 2
[0]PETSC ERROR: -npy 2
[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, 83) - process 0
[unset]: aborting job:
application called MPI_Abort(MPI_COMM_WORLD, 83) - process 0
[0]PETSC ERROR: --------------------- Error Message  
--------------------------------------------------------------
[0]PETSC ERROR:
[0]PETSC ERROR: This is not a uniprocessor test
[0]PETSC ERROR: See  
http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble  
shooting.
[0]PETSC ERROR: Petsc Release Version 3.7.5, unknown
[0]PETSC ERROR: ex59 on a linux-gnu-c-debug named sauternes by vitse  
Tue Mar 28 09:59:10 2017
[0]PETSC ERROR: Configure options  
PETSC_DIR=/u/vitse/Documents/softs/petsc-3.7.5  
PETSC_ARCH=linux-gnu-c-debug --with-cc=gcc --with-cxx=g++  
--with-fc=gfortran --download-fblaslapack=1 --download-mpich=1  
--download-superflu-dist=1 --download-parmetis=1 --download-metis=1  
--download-ptscotch=1 --with-pcbddc=1 --download-hypre=1  
--download-scalapack=1 --download-mumps=1 --with-pcbddc=1
[0]PETSC ERROR: #1 InitializeDomainData() line 934 in  
/ul/vitse/Documents/softs/petsc-3.7.5/src/ksp/ksp/examples/tutorials/ex59.c
[0]PETSC ERROR: #2 main() line 1009 in  
/ul/vitse/Documents/softs/petsc-3.7.5/src/ksp/ksp/examples/tutorials/ex59.c
[0]PETSC ERROR: PETSc Option Table entries:
[0]PETSC ERROR: -nex 2
[0]PETSC ERROR: -ney 2
[0]PETSC ERROR: -npx 2
[0]PETSC ERROR: -npy 2
[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, 83) - process 0
[unset]: aborting job:
application called MPI_Abort(MPI_COMM_WORLD, 83) - process 0
--------------------------------------------------------------------------
mpiexec detected that one or more processes exited with non-zero  
status, thus causing
the job to be terminated. The first process to do so was:

   Process name: [[40774,1],1]
   Exit code:    83
--------------------------------------------------------------------------




More information about the petsc-users mailing list