[Dune] [#589] dune-common configure script doesn't recognize Intel's MPI Library (Attachment added)

Dune dune at dune-project.org
Wed Sep 2 19:18:44 CEST 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#589 - dune-common configure script doesn't recognize Intel's MPI Library
User who did this - Leonard Kern (kern)

----------
Thanks for the advice on the flags. FYI, I've attached the current flags (using Intel's tools). At least if I modify this file for usage with LAM, the flags work pretty well.

On recognizing Intel's MPI and finding the appropriate flags: I tried a few commands which seem to produce the desired output. Not knowing anything about autoconf syntax I tried my best to add a function (or whatever autoconf calls it) "test_intelmpi()" to dune-common/m4/mpi-config.m4 which actually does the job for me. That is, Intel's MPI library is recognized and dune-common is compiled without any problems. In the likely case that this solution requires further fine-tuning these are the commands I tried:

>mpicc -v
mpigcc for the Intel(R) MPI Library 3.2.1 for Linux*
Copyright(C) 2003-2009, Intel Corporation.  All rights reserved.
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux
Thread model: posix
gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) 

>mpiicc -v
mpiicc for the Intel(R) MPI Library 3.2.1 for Linux*
Copyright(C) 2003-2009, Intel Corporation.  All rights reserved.
Version 11.1

Hopefully, the first lines of these suffice to identify Intel's MPI lib.

>mpiicc -show
icc -I/opt/intel/impi/3.2.1.009/include -L/opt/intel/impi/3.2.1.009/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker $libdir -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/3.2.1 -lmpi -lmpiif -lmpigi -lrt -lpthread -ldl

>mpicc -show
gcc -I/opt/intel/impi/3.2.1.009/include -L/opt/intel/impi/3.2.1.009/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker $libdir -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/3.2.1 -lmpi -lmpigf -lmpigi -lrt -lpthread -ldl

mpiicc -compile-info and mpiicc -link-info produce the exact same output as mpiicc -show
mpicc -compile-info and mpicc -link-info produce the exact same output as mpicc -show


----------

One or more files have been attached.

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=589#comment1028

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list