I'm still trying to figure this one out. I went in an unset _libdir and 
manually set it to include the mkl path (even though it is the first thing on 
the LD_LIBRARY_PATH) and it still can't find it. In other words, 

set(_libdir /usr/local/lib /usr/lib /usr/local/lib64 /usr/lib64 
/opt/intel/Compiler/11.1/072/mkl/lib/em64t)

And 

|13:35||tgallagher@harpy:bin_LEM_splicing|> ls  
/opt/intel/Compiler/11.1/072/mkl/lib/em64t/libmkl_lapack*
/opt/intel/Compiler/11.1/072/mkl/lib/em64t/libmkl_lapack95_ilp64.a  
/opt/intel/Compiler/11.1/072/mkl/lib/em64t/libmkl_lapack95_lp64.a  
/opt/intel/Compiler/11.1/072/mkl/lib/em64t/libmkl_lapack.so

And if I leave _libdir untouched so that it ends with ENV LD_LIBRARY_PATH, it 
also cannot find it even though:

|13:35||tgallagher@harpy:bin_LEM_splicing|> echo $LD_LIBRARY_PATH
/opt/intel/Compiler/11.1/072/mkl/lib/em64t:...

I'm stumped. 

Tim

----- Original Message -----
From: "Rolf Eike Beer" <[email protected]>
To: [email protected]
Sent: Monday, October 17, 2011 3:47:34 AM
Subject: Re: [CMake] FindLAPACK in git head

> Hi,
>
> We're having problems with FindLAPACK in the latest source head. It claims
> it cannot find LAPACK when previous versions of CMake find it just fine.
> It does not work with either the Generic version or the Intel version.
> FindBLAS correctly locates the library though.

No idea so far.

> And when we put in the path for the LAPACK_mkl_lapack_LIBRARY variable, it
> doesn't complain. But then during linking, we get:
>
> /opt/intel/Compiler/11.1/072/lib/intel64/libguide.so: undefined reference
> to `pthread_atfork'
> make[2]: *** [derivative/unitTests/utDerivativeTestc] Error 1
>
> even though libpthread.so exists and is on the library path in /usr/lib.

That means that you need to link against the pthread library. The problem
here is not that the library is not found, but that you did not tell CMake
to use it. Usually this is done by the LAPACK module, so the main reason
you are seeing this at all is that it did not find your library in the
first place.

Eike

Eike
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to