[Trilinos-Users] MKL / ACML

Alireza Nejadmalayeri Alireza.Nejadmalayeri at Colorado.EDU
Thu Dec 9 22:52:03 MST 2010

Thanks, Chris. I have tried something similar. It works as long as I use cmake. But if I compile my code using makefile, I'll get:

/apps/rhel5/mpich2-1.3.1/64/nemesis-intel-11.1.072/bin/mpicxx -c -g -O0 -g  -I/usr/rmt_share/scratch95/a/alireza/The_Trilions_Project/trilinos-10.6.1__Install_mpi_wrapper_debug_MKL2/include  -DMYAPP_EPETRA main.cpp
icpc: command line warning #10120: overriding '-O3' with '-O0'
/usr/bin/ar cr libmyappLib.a main.o
/apps/rhel5/mpich2-1.3.1/64/nemesis-intel-11.1.072/bin/mpicxx -g -O0 -g   -I/usr/rmt_share/scratch95/a/alireza/The_Trilions_Project/trilinos-10.6.1__Install_mpi_wrapper_debug_MKL2/include  -DMYAPP_EPETRA -L/usr/rmt_share/scratch95/a/alireza/The_Trilions_Project/trilinos-10.6.1__Install_mpi_wrapper_debug_MKL2/lib  libmyappLib.a -laztecoo -ltpetrainout -ltpetra -ltriutils -lepetra -lkokkoslinalg -lkokkosnodeapi -lkokkos -ltpi -lteuchos -l-L/opt/intel/mkl/ -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -l-L/opt/intel/mkl/ -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -o MyApp.exe
icpc: command line warning #10120: overriding '-O3' with '-O0'
ld: cannot find -l-L/opt/intel/mkl/

Any thoughts/suggestions?

Thank you,

----- Original Message ----- 
From: "Baker, Christopher G." <bakercg at ornl.gov>
To: <Alireza.Nejadmalayeri at colorado.edu>; <trilinos-users at software.sandia.gov>
Sent: Thursday, December 09, 2010 6:16 PM
Subject: RE: [Trilinos-Users] MKL / ACML

> The following will link in the sequential BLAS:
> set SEQMKL="-L${MKLROOT}/lib/em64t -lmkl_intel_lp64 -lmkl_core
> -lmkl_sequential"
> cmake ......
>  -D TPL_BLAS_LIBRARIES:STRING="${SEQMKL}"                             \
>  -D TPL_LAPACK_LIBRARIES:STRING="${SEQMKL}"                           \
> -----Original Message-----
> From: Alireza Nejadmalayeri [mailto:Alireza.Nejadmalayeri at colorado.edu]
> Sent: Thursday, December 09, 2010 06:39 PM Eastern Standard Time
> To: trilinos-users at software.sandia.gov
> Subject: [Trilinos-Users] MKL / ACML
> Hello,
> I wonder if anyone has built Trilinos with  Intel MKL or ACML libraries (for BLAS and LAPACK). I would like to have a sample configure script since mine is causing various problems.
> Thank you,
> alireza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20101209/867eb61c/attachment.html 

More information about the Trilinos-Users mailing list