[petsc-users] FW: Configuring PETSc with intel composer xe 2011, problem with libirc.a

Sanjay Govindjee s_g at berkeley.edu
Mon Aug 6 09:37:43 CDT 2012


Did you remember to 'source iccvars.sh' first?

On 8/6/12 7:18 AM, Adam Stanier wrote:
>
> 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
>
>

-- 
-----------------------------------------------
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
s_g at berkeley.edu
http://www.ce.berkeley.edu/~sanjay
-----------------------------------------------

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


More information about the petsc-users mailing list