<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
Hello,<br>
<br>
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:<br>
<br>
./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<br>
<br>
This is fine for making PETSc, but when I try to run a code based on the PETSc libraries I get the following error:<br>
./sel: symbol lookup error: ./sel: undefined symbol: __intel_sse2_strchr<br>
<br>
I don't get this error when I set --with-debugging=1 with everything else the same.<br>
<br>
Apparently this symbol should be within the libirc.a library. I notice that PETSc is looking in a folder for gcc for this library:<br>
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 <br>
<br>
but I want to use the version within the intel lib directory:<br>
/usr/local/intel/composer_xe_2011_sp1.6.233/compiler/lib/intel64<br>
<br>
Is there a way to do this? I couldn't find anything by searching.<br>
<br>
Many Thanks,<br>
Adam<br>
<br>
<br>
</div>
</div>
</div>
</div>
</body>
</html>