Hello,

I'm trying to configure PETSc 3.2-p7 with intel composer xe 2011 mpi libraries. 
This is the configure line I have been using:

./configure --with-cc=mpiicc --with-cxx=mpiicpc --with-fc=mpiifort 
--with-blas-lapack-dir=/usr/local/intel/composer_xe_2011_sp1.6.233/mkl/lib/intel64/
 
--with-blacs-lib=/usr/local/intel/composer_xe_2011_sp1.6.233/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.a
 --with-blacs-include=/usr/local/intel/composer_xe_2011_sp1.6.233/mkl/include 
--with-scalapack-lib=/usr/local/intel/composer_xe_2011_sp1.6.233/mkl/lib/intel64/libmkl_scalapack_lp64.a
 
--with-scalapack-include=/usr/local/intel/composer_xe_2011_sp1.6.233/mkl/include
 --download-parmetis --download-mumps --download-superlu_dist --download-hypre 
--with-mpi-dir=/usr/local/intel/impi/4.0.3.008/intel64/ --with-debugging=0

This is fine for making PETSc, but when I try to run a code based on the PETSc 
libraries I get the following error:
./sel: symbol lookup error: ./sel: undefined symbol: __intel_sse2_strchr

I don't get this error when I set --with-debugging=1 with everything else the 
same.

Apparently this symbol should be within the libirc.a library. I notice that 
PETSc is looking in a folder for gcc for this library:
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2

but I want to use the version within the intel lib directory:
/usr/local/intel/composer_xe_2011_sp1.6.233/compiler/lib/intel64

Is there a way to do this? I couldn't find anything by searching.

Many Thanks,
Adam


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120806/ec1c55dc/attachment.html>

Reply via email to