<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Did you remember to 'source iccvars.sh' first?<br>
    <br>
    <div class="moz-cite-prefix">On 8/6/12 7:18 AM, Adam Stanier wrote:<br>
    </div>
    <blockquote
      cite="mid:7A7F2577D3A89844AB5C35FDD60F77EA0626D7@MBXP07.ds.man.ac.uk"
      type="cite">
      <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>
      <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>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
-----------------------------------------------
Sanjay Govindjee, PhD, PE
Professor of Civil Engineering
Vice Chair for Academic Affairs

779 Davis Hall
Structural Engineering, Mechanics and Materials
Department of Civil Engineering
University of California
Berkeley, CA 94720-1710

Voice:  +1 510 642 6060
FAX:    +1 510 643 5264
<a class="moz-txt-link-abbreviated" href="mailto:s_g@berkeley.edu">s_g@berkeley.edu</a>
<a class="moz-txt-link-freetext" href="http://www.ce.berkeley.edu/~sanjay">http://www.ce.berkeley.edu/~sanjay</a>
-----------------------------------------------
</pre>
  </body>
</html>