Perhaps you forgot to update your LD_LIBRARY_PATH when running the first one.
Matt On Mon, Dec 1, 2008 at 5:50 AM, Ben Tay <zonexo at gmail.com> wrote: > Hi, > > I met with some problems when using the MKL 10.0.5.025. My PETSc was > compiled using --with-shared=0. However, after compilation, when I run some > of the tests such as ex1f and ex2f, I got the error: > > ./ex2f: error while loading shared libraries: libmkl_lapack.so: cannot open > shared object file: No such file or directory > > I thought I had specified to use static. My command to compile is : > > ./config/configure.py --with-vendor-compilers=intel --with-x=0 > --with-hypre-dir=/home/svu/g0306332/lib/hypre --with-debugging=0 > --with-batch=1 --with-mpi-dir=/app1/mvapich/current/ --with-mpi-shared=0 > --with-shared=0 --with-blas-lapack-dir=/opt/intel/cmkl/ > 10.0.5.025/lib/em64t > > However, if I use back MKL 8.1.1, with similar command, then there's no > such problem. > > Hope you can help. Thanks! > > -- > Yours sincerely, > > Ben Tay > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20081201/0948d28f/attachment.htm>
