Compiling and using PETSC with intel MKL

Barry Smith bsmith at mcs.anl.gov
Sun Jan 25 14:26:00 CST 2009


On Jan 25, 2009, at 7:52 AM, Billy Araújo wrote:

>
> Hi,
>
> Before I compiled PETSC version 2.3.3-p6 with lapack/blas supplied  
> with Intel MKL and everythin worked great:
>
> ./config/configure.py --with-cc=gcc --with-fc=g77 --download-lam=1 -- 
> with-blas-lapack-dir=/opt/intel/mkl/10.0.1.014 --with-debugging=no -- 
> with-shared=0
>
> Now I have tried PETSC version 3.0.0-p2 with OpenMPI and same Intel  
> MKL version and it compiles but when I run my application I get the  
> following error:
>
> MKL FATAL ERROR: libmkl_def.so: cannot open shared object file: No  
> such file or directory
>

     It cannot find the location of the shared library at runtime.  
You  may need to set a LD_LIBRARY_PATH or similar environmental variable
before running the program.

   Barry

>
>
> ./config/configure.py --with-cc=gcc --with-fc=g77 --download- 
> openmpi=1 --with-blas-lapack-dir=/opt/intel/mkl/10.0.1.014 --with- 
> debugging=no --with-shared=0
>
> Regards,
>
> Billy.



More information about the petsc-users mailing list