[petsc-users] invalid object classid 0 between PETSc and SLEPc

Geoffrey Irving irving at naml.us
Tue Dec 27 22:16:09 CST 2011


Hello,

I've installed PETSc 3.2 and SLEPc 3.2 on Mac OS 10.7 through MacPorts
2.0.3.  PETSc works fine by itself, but SLEPc fails on the initial
EPSCreate call.  The error follows.

This is presumably a MacPorts misconfiguration issue, but thought I'd
check here first to see if anyone has seen this before in a similar
situation.  Only static libraries exist, so as far as I know the
suggested explanation doesn't apply.  The conf directory is at
http://naml.us/~irving/random/petsc-conf.tar.gz if it helps.

Thanks,
Geoffrey

[0]PETSC ERROR: --------------------- Error Message
------------------------------------
[0]PETSC ERROR: Invalid argument!
[0]PETSC ERROR: Invalid object classid 0
This often happens if you compile with PETSC_USE_DYNAMIC_LIBRARIES,
but link with static libraries.!
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.2.0, Patch 5, Sat Oct 29
13:45:54 CDT 2011
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Unknown Name on a darwin named tile.local by irving
Tue Dec 27 19:07:59 2011
[0]PETSC ERROR: Libraries linked from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/petsc/work/destroot/opt/local/lib/petsc/lib
[0]PETSC ERROR: Configure run at Mon Nov 21 14:00:28 2011
[0]PETSC ERROR: Configure options --prefix=/opt/local --with-python
--with-debugging=0 --with-c-support=1 --with-c++-support=1
--with-pic=fPIC --with-shared-libraries=0 --with-mpi=1
--PETSC_ARCH=darwin
--prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/petsc/work/destroot/opt/local/lib/petsc
--with-cc=/opt/local/bin/openmpicc
--with-cxx=/opt/local/bin/openmpicxx
--with-mpiexec=/opt/local/bin/openmpiexec
--with-fc=/opt/local/bin/openmpif90 --LIBS=-lstdc++
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: PetscClassRegLogGetClass() line 282 in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/petsc/work/petsc-3.2-p5/src/sys/plog/utils/classLog.c
[0]PETSC ERROR: PetscLogObjCreateDefault() line 310 in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/petsc/work/petsc-3.2-p5/src/sys/plog/utils/classLog.c
[0]PETSC ERROR: EPSCreate() line 436 in src/eps/interface/basic.c
[0]PETSC ERROR: --------------------- Error Message
------------------------------------
[0]PETSC ERROR:  !
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.2.0, Patch 5, Sat Oct 29
13:45:54 CDT 2011
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Unknown Name on a darwin named tile.local by irving
Tue Dec 27 19:07:59 2011
[0]PETSC ERROR: Libraries linked from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/petsc/work/destroot/opt/local/lib/petsc/lib
[0]PETSC ERROR: Configure run at Mon Nov 21 14:00:28 2011
[0]PETSC ERROR: Configure options --prefix=/opt/local --with-python
--with-debugging=0 --with-c-support=1 --with-c++-support=1
--with-pic=fPIC --with-shared-libraries=0 --with-mpi=1
--PETSC_ARCH=darwin
--prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/petsc/work/destroot/opt/local/lib/petsc
--with-cc=/opt/local/bin/openmpicc
--with-cxx=/opt/local/bin/openmpicxx
--with-mpiexec=/opt/local/bin/openmpiexec
--with-fc=/opt/local/bin/openmpif90 --LIBS=-lstdc++
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: sparse_symmetric_spectrum() line 55 in petsc/slepc.cpp


More information about the petsc-users mailing list