[petsc-users] Missing symbols in libpetscts.h
Filippo Spiga
filippo.spiga at disco.unimib.it
Thu Jul 22 09:32:56 CDT 2010
Dear all,
I'm trying to compile PETSc 3.0.0-p12 and PETSc 3.1-p3. The
compilation ends without visible problems. However when I compile my
software these error appears
../../../myApp/src/timeDepSolver.cpp:13: warning: deprecated conversion
from string constant to 'char*'
../../../myApp/src/timeDepSolver.cpp: In member function 'virtual int
TimeDependentSolver::run()':
../../../myApp/src/timeDepSolver.cpp:145: error: 'TSSetIFunction' was
not declared in this scope
../../../myApp/src/timeDepSolver.cpp:146: error: 'TSSetIJacobian' was
not declared in this scope
../../../myApp/src/timeDepSolver.cpp:150: error: 'TSTHETA' was not
declared in this scope
[...]
For both versions, "make test" ends successfully. If I look inside the
static library I don't see 'TSSetIFunction', 'TSSetIJacobian' and 'TSTHETA'.
$ nm ~/local_install/lib/libpetscts.a | grep TSSetIJacobian
$
I configured and compiled the package use these steps:
$ export PETSC_DIR=`pwd`
$ export PETSC_ARCH=linux-gnu-c-debug
$ export CXX=$HOME/local_install/bin/mpicxx
$ export CC=$HOME/local_install/bin/mpicc
$ export FC=$HOME/local_install/bin/mpif77
$ python config/configure.py --prefix=$HOME/local_install
--with-debugging=1 --with-fortran-kernels=1 --with-mpi-shared=0
--with-shared=0 --with-dynamic=0 --with-batch=0 --with-x=1
--with-mpi=$HOME/local_install --with-windows-graphics=0
--with-memcmp-ok --download-hypre=1 --download-spooles=1
--download-plapack=1 --download-mumps=1 --download-spai=1
--download-blacs=1 --download-triangle=1 --download-f-blas-lapack=1
--download-umfpack=1 --download-sowing=1 --download-c2html=1
--download-superlu_dist=1 --download-parmetis=1 --download-scalapack=1
--download-prometheus=1 --download-superlu=1
$ PETSC_ARCH=linux-gnu-c-debug; export PETSC_ARCH
$ PETSC_DIR=$HOME/packages/petsc-3.0.0-p12; export PETSC_DIR
$ make all
(MPI is mpich2, latest stable version. It works.)
What's wrong?
Thank you very much in advance for your support.
Regards
--
===============================================================
Filippo SPIGA MSc, HPC and GRID Technologist
tel.: +39 340 8387735 skype: filippo.spiga
===============================================================
«Nobody will drive us out of Cantor's paradise.»
-- David Hilbert
*****
"Please note this message and any attachment are CONFIDENTIAL and
may be privileged or otherwise protected from disclosure. The contents
are not to be disclosed to anyone other than the addressee. Unauthorized
recipients are requested to preserve this confidentiality and to advise
the sender immediately of any error in transmission."
More information about the petsc-users
mailing list