I think I found the problem. There was a space here

-L/opt/trilinos-10.6.4/lib -Wl,-rpath /opt/trilinos-10.6.4/lib

between "-rpath" and "/opt/trilinos-10.6.4/lib". So I changed the configure
script, line 14481

 LD_PATH_OPTION="-Wl,-rpath "

to

 LD_PATH_OPTION="-Wl,-rpath,"

Now configure went through. Thanks to Martin for the very helpful hint.

praveen

On Tue, Apr 26, 2011 at 2:28 PM, Praveen C <[email protected]> wrote:

> Thanks for that hint.
>
> This page
>
> http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/
>
> gave me some flags to use and I tried
>
> mkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread
>
> config.log is giving some trilinos error. I have compiled trilinos with the
> same intel compiler.
>
> configure:11085: checking for daxpy_ in -lmkl_intel_lp64 -lmkl_intel_thread
> -   lmkl_core -lpthread
> configure:11110: /opt/intel/composerxe-2011.3.167/bin/intel64/icpc  -o
>      conftest -DHAVE_ISNAN -g  -DBOOST_NO_HASH -DBOOST_NO_SLIST -DDEBUG -w1
> -wd175 - wd525 -wd327 -wd424 -wd11 -wd734 -wd858 -wd1572
> -I/Users/praveen/Applications/deal.II/7.0.0/contrib/boost/include
> -Wl,-rpath,/Users/praveen/Applications/   deal.II/7.0.0/lib
> -L/opt/intel/composerxe-2011.3.167/mkl/lib -lstdc++ -lpthread -lpthread -ldl
> -L/opt/trilinos-10.6.4/lib -Wl,-rpath /opt/trilinos-10. 6.4/lib conftest.cpp
> -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread   >&5
> ld: in /opt/trilinos-10.6.4/lib, can't map file, errno=22
>
> Thanks
> praveen
>
> On Tue, Apr 26, 2011 at 2:11 PM, Martin Kronbichler <
> [email protected]> wrote:
>
>> Dear Praveen,
>>
>> > I still have no luck with this issue. If I disable umfpack and blas,
>> > then configure goes through. But since I need umfpack which needs
>> > blas, I am stuck with this problem. I am using intel compiler
>> > ComposerXE-2011.3.167 version on Mac OSX 10.6.7. Has anybody succeeded
>> > in compiling deal.II with this compiler together with MKL blas.
>>
>> Well, I have succeeded in compiling deal.II with the Intel compiler
>> version XE 2011.2.137 and MKL BLAS, but that was on Linux x86-64, not
>> MacOSX. The thing you need to do is to look in the file config.log at
>> the position where the test for daxpy fails. The output there usually
>> gives quite good hints in what is going wrong. Can you post these error
>> messages? Otherwise, your configure line seems ok, I've been using a
>> very similar one (--with-blas='mkl_intel_lp64 -lmkl_sequential
>> -lmkl_core'). It might be that you need some more flags for MacOSX...
>>
>> Best,
>> Martin
>>
>>
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to