[petsc-users] PETSc runtime error

Barry Smith bsmith at mcs.anl.gov
Sun Dec 13 15:52:02 CST 2015


  Often this is a result of a mis-match between the mpi used and the mpiexec being used.

   Did make test work after you compiled PETSc?

   Make sure the mpiexec in your path corresponds to the mpiicc you are using.

   Send the configure.log and full error message 

  Barry

> On Dec 13, 2015, at 3:38 PM, W. Miah <wadud.miah at gmail.com> wrote:
> 
> Hello,
> 
> I am getting the following error:
> 
> [2]PETSC ERROR: [3]PETSC ERROR: --------------------- Error Message ------------------------------------
> [3]PETSC ERROR: Invalid argument!
> [3]PETSC ERROR: Invalid object classid 0
> This often happens if you compile with PETSC_USE_DYNAMIC_LIBRARIES, but link with static libraries.!
> [3]PETSC ERROR: ------------------------------------------------------------------------
> [3]PETSC ERROR: [1]PETSC ERROR: ------------------------------------------------------------------------
> 
> I can't see why using static libraries should make any difference than using shared libraries. The configure options used were:
> 
> [1]PETSC ERROR: Configure options --prefix=/home/wm/petsc-3.3.0-omp --with-blas-lapack-dir=/usr/local/intel_6/xe_2013_sp1.2.144/mkl/lib/intel64 --with-debugging=0 --with-fortran-interfaces=1 --with-openmp=1 --CC=mpiicc --CXX=mpiicpc --FC=mpiifort --with-x=0
> 
> It was built using intelmpi/intel/4.0.3 and intel/14.0.Any help will be greatly appreciated. 
> 
> Thanks in advance,
> Wadud.
> 
> -- 
> web: http://miahw.wordpress.com
> mobile: 07905 755604
> gnupg: 2E29 B22F



More information about the petsc-users mailing list