I know what happened...Gmsh is unable to recognize *.so.3. So I just typed ln -s liblapack.so.3 liblapack.so
in the folder containing Lapack libraries to make a link and the problem is solved. Thank you. On Wed, Jan 15, 2014 at 6:33 AM, Ziyu ZHANG <[email protected]> wrote: > The library is indeed installed in non-standard place, but I added the > path to CMAKE_INSTALL_PREFIX. If I don't add the path, the compilation will > succeed but Gmsh gives you error "Gmsh requires Lapack" when it is > executed. Any other advice? > > > On Wed, Jan 15, 2014 at 12:28 AM, <[email protected]> wrote: > >> On Wednesday, January 15, 2014 03:10 AM, Ziyu ZHANG wrote: >> >>> Hi, I have got some error when compiling from the scratch >>> >>> CMakeFiles/gmsh.dir/Numeric/fullMatrix.cpp.o: In function >>> `fullMatrix<double>::eig(fullVector<double>&, fullVector<double>&, >>> fullMatrix<double>&, fullMatrix<double>&, bool)': >>> /home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:265: undefined >>> reference to `dgeev_' >>> CMakeFiles/gmsh.dir/Numeric/fullMatrix.cpp.o: In function >>> `fullMatrix<double>::luSolve(fullVector<double> const&, >>> fullVector<double>&)': >>> /home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:284: undefined >>> reference to `dgesv_' >>> CMakeFiles/gmsh.dir/Numeric/fullMatrix.cpp.o: In function >>> `fullMatrix<double>::invert(fullMatrix<double>&) const': >>> /home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:306: undefined >>> reference to `dgetrf_' >>> /home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:310: undefined >>> reference to `dgetri_' >>> CMakeFiles/gmsh.dir/Numeric/fullMatrix.cpp.o: In function >>> `fullMatrix<double>::invertInPlace()': >>> /home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:332: undefined >>> reference to `dgesv_' >>> CMakeFiles/gmsh.dir/Numeric/fullMatrix.cpp.o: In function >>> `fullMatrix<double>::determinant() const': >>> /home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:352: undefined >>> reference to `dgetrf_' >>> CMakeFiles/gmsh.dir/Numeric/fullMatrix.cpp.o: In function >>> `fullMatrix<double>::svd(fullMatrix<double>&, fullVector<double>&)': >>> /home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:376: undefined >>> reference to `dgesvd_' >>> collect2: ld returned 1 exit status >>> make[2]: *** [gmsh] Error 1 >>> make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2 >>> make: *** [all] Error 2 >>> >>> Any idea what the problem is? >>> >> >> It seems the lapack library is somehow not found. Maybe it's installed in >> a non-standard place? >> >> Regards, >> ST >> -- >> >> >> _______________________________________________ >> gmsh mailing list >> [email protected] >> http://www.geuz.org/mailman/listinfo/gmsh >> > > > > -- > Ziyu ZHANG 張子瑜 > PhD Student > Duke Computational Mechanics Laboratory > Department of Civil & Environmental Engineering > Duke University > Office: 919-660-5031 > -- Ziyu ZHANG 張子瑜 PhD Student Duke Computational Mechanics Laboratory Department of Civil & Environmental Engineering Duke University Office: 919-660-5031
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
