Hi developers and users, I met a problem on making the libmesh on ubuntu9.10 including gcc4.4.1, petsc3.0, mpich2, the computer is a 4-core 64bit desktop. It seems the gfortran compiler conflicts with the lapack based on the errors below. I have reinstalled the petsc, mpich2 and libmesh many times, but the errors still exist and examples could not be tested.
btw, this problem doesn't happen on my 2-core 32bit laptop. I wonder if any one here met this errors on compiling also and give me some tips to handle that. Thanks for any suggestion! Liang Ph.D student ---------------------------------------------- ----- Done Building Contributed Packages ----- ---------------------------------------------- make[1]: Leaving directory `/home/liang/Desktop/libmesh/libmesh-0.6.4/libmesh/contrib' Building bin/amr-dbg /home/liang/Programs/petsc-3.0.0-p11/linux-gnu-c-debug/lib/libflapack.a(dgesvd.o): In function `dgesvd': /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/dgesvd.f:215: undefined reference to `_gfortran_concat_string' /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/dgesvd.f:379: undefined reference to `_gfortran_concat_string' /home/liang/Programs/petsc-3.0.0-p11/linux-gnu-c-debug/lib/libflapack.a(dhseqr.o): In function `dhseqr': /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/dhseqr.f:345: undefined reference to `_gfortran_concat_string' /home/liang/Programs/petsc-3.0.0-p11/linux-gnu-c-debug/lib/libflapack.a(dormbr.o): In function `dormbr': /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/dormbr.f:183: undefined reference to `_gfortran_concat_string' /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/dormbr.f:186: undefined reference to `_gfortran_concat_string' /home/liang/Programs/petsc-3.0.0-p11/linux-gnu-c-debug/lib/libflapack.a(dormbr.o):/home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/dormbr.f:191: more undefined references to `_gfortran_concat_string' follow /home/liang/Programs/petsc-3.0.0-p11/linux-gnu-c-debug/lib/libflapack.a(ilaenv.o): In function `ilaenv': /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/ilaenv.f:200: undefined reference to `_gfortran_compare_string' /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/ilaenv.f:350: undefined reference to `_gfortran_compare_string' /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/ilaenv.f:428: undefined reference to `_gfortran_compare_string' /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/ilaenv.f:201: undefined reference to `_gfortran_compare_string' /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/ilaenv.f:201: undefined reference to `_gfortran_compare_string' /home/liang/Programs/petsc-3.0.0-p11/linux-gnu-c-debug/lib/libflapack.a(ilaenv.o):/home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/ilaenv.f:201: more undefined references to `_gfortran_compare_string' follow /home/liang/Programs/petsc-3.0.0-p11/linux-gnu-c-debug/lib/libflapack.a(xerbla.o): In function `xerbla': /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/xerbla.f:36: undefined reference to `_gfortran_st_write' /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/xerbla.f:36: undefined reference to `_gfortran_transfer_character' /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/xerbla.f:36: undefined reference to `_gfortran_transfer_integer' /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/xerbla.f:36: undefined reference to `_gfortran_st_write_done' /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack/xerbla.f:38: undefined reference to `_gfortran_stop_numeric' /home/liang/Programs/petsc-3.0.0-p11/linux-gnu-c-debug/lib/libflapack.a(dlamch.o): In function `dlamc2': /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack-extra/dlamch.f:525: undefined reference to `_gfortran_st_write' /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack-extra/dlamch.f:525: undefined reference to `_gfortran_transfer_integer' /home/liang/Programs/petsc-3.0.0-p11/externalpackages/fblaslapack-3.1.1/lapack-extra/dlamch.f:525: undefined reference to `_gfortran_st_write_done' collect2: ld returned 1 exit status make: *** [bin/amr-dbg] Error 1 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
