Re: Wierd PETSc build behavior...
On Tue, Feb 27, 2001 at 09:11:08PM -0500, Adam C Powell IV wrote:
> PETSC_SYS_LIB = -L${LDIR} -lpetsc \
> ${EXTERNAL_LIB} ${LAPACK_LIB} ${BLAS_LIB} \
> ${MPI_LIB} ${SYS_LIB}
> [snip]
> PETSC_LIB = -L${LDIR} -lpetscts -lpetscsnes -lpetscsles -lpetscdm -lpetscmat \
> -lpetscvec ${PETSC_SYS_LIB}
> [snip]
>
> Using libraries: -L/usr/home/hazelsct/petsc/petsc-2.0.29/lib/libO/linux_ppc
> -lpetscts -lpetscsnes -lpetscsles -lpetscdm -lpetscmat -lpetscvec
> -L/usr/home/hazelsct/petsc/petsc-2.0.29/lib/libO/linux_ppc -lpetsc
> -L{MPI_HOME}/build/LINUX/ch_p4/lib -lmpe
> -lpmpich -L/usr/X11R6/lib
> -lX11 -llapack -blas -L/usr/lib/mpich/lib
> -L/usr/lib/mpich/build/LINUX/ch_p4/lib -lmpich -ldl -lc -lg2c -lm
I asked about the wrong variable. The -L{MPI_HOME} seems to be
expanded from one of the following three: ${EXTERNAL_LIB}
${LAPACK_LIB} ${BLAS_LIB}. What are their definitions? Can you run
make with lots and lots of debugging? Can you search all of your
makefiles for '-L{MPI_HOME}' and see whether there's a typo somewhere?
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
Debian GNU/Linux Developer, see http://people.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/
Reply to: