<div dir="ltr">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?</div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 15, 2014 at 12:28 AM,  <span dir="ltr"><<a href="mailto:lukshuntim@gmail.com" target="_blank">lukshuntim@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5">On Wednesday, January 15, 2014 03:10 AM, Ziyu ZHANG wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, I have got some error when compiling from the scratch<br>
<br>
CMakeFiles/gmsh.dir/Numeric/<u></u>fullMatrix.cpp.o: In function<br>
`fullMatrix<double>::eig(<u></u>fullVector<double>&, fullVector<double>&,<br>
fullMatrix<double>&, fullMatrix<double>&, bool)':<br>
/home/zz31/gmsh-2.8.3-source/<u></u>Numeric/fullMatrix.cpp:265: undefined<br>
reference to `dgeev_'<br>
CMakeFiles/gmsh.dir/Numeric/<u></u>fullMatrix.cpp.o: In function<br>
`fullMatrix<double>::luSolve(<u></u>fullVector<double> const&,<br>
fullVector<double>&)':<br>
/home/zz31/gmsh-2.8.3-source/<u></u>Numeric/fullMatrix.cpp:284: undefined<br>
reference to `dgesv_'<br>
CMakeFiles/gmsh.dir/Numeric/<u></u>fullMatrix.cpp.o: In function<br>
`fullMatrix<double>::invert(<u></u>fullMatrix<double>&) const':<br>
/home/zz31/gmsh-2.8.3-source/<u></u>Numeric/fullMatrix.cpp:306: undefined<br>
reference to `dgetrf_'<br>
/home/zz31/gmsh-2.8.3-source/<u></u>Numeric/fullMatrix.cpp:310: undefined<br>
reference to `dgetri_'<br>
CMakeFiles/gmsh.dir/Numeric/<u></u>fullMatrix.cpp.o: In function<br>
`fullMatrix<double>::<u></u>invertInPlace()':<br>
/home/zz31/gmsh-2.8.3-source/<u></u>Numeric/fullMatrix.cpp:332: undefined<br>
reference to `dgesv_'<br>
CMakeFiles/gmsh.dir/Numeric/<u></u>fullMatrix.cpp.o: In function<br>
`fullMatrix<double>::<u></u>determinant() const':<br>
/home/zz31/gmsh-2.8.3-source/<u></u>Numeric/fullMatrix.cpp:352: undefined<br>
reference to `dgetrf_'<br>
CMakeFiles/gmsh.dir/Numeric/<u></u>fullMatrix.cpp.o: In function<br>
`fullMatrix<double>::svd(<u></u>fullMatrix<double>&, fullVector<double>&)':<br>
/home/zz31/gmsh-2.8.3-source/<u></u>Numeric/fullMatrix.cpp:376: undefined<br>
reference to `dgesvd_'<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [gmsh] Error 1<br>
make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
Any idea what the problem is?<br>
</blockquote>
<br></div></div>
It seems the lapack library is somehow not found. Maybe it's installed in a non-standard place?<br>
<br>
Regards,<br>
ST<span class="HOEnZb"><font color="#888888"><br>
-- <br>
<br>
<br>
______________________________<u></u>_________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@geuz.org" target="_blank">gmsh@geuz.org</a><br>
<a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/<u></u>listinfo/gmsh</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Ziyu ZHANG 張子瑜<br>PhD Student</div>
<div>Duke Computational Mechanics Laboratory<br>Department of Civil & Environmental Engineering<br>Duke University</div>
<div>Office: 919-660-5031</div></div>
</div>