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

RenZhengYong renzhengyong at gmail.com
Mon Aug 6 09:40:31 CDT 2012


Here is the answer:

http://comments.gmane.org/gmane.comp.clustering.open-mpi.user/12804


On Mon, Aug 6, 2012 at 4:37 PM, Sanjay Govindjee <s_g at berkeley.edu> wrote:

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


-- 
Zhengyong Ren
AUG Group, Institute of Geophysics
Department of Geosciences, ETH Zurich
NO H 47 Sonneggstrasse 5
CH-8092, Zürich, Switzerland
Tel: +41 44 633 37561
e-mail: zhengyong.ren at aug.ig.erdw.ethz.ch
Gmail: renzhengyong at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120806/c57efbdd/attachment.html>


More information about the petsc-users mailing list