locate libmpi*
ne renvoie rien; mais les libs de openmpi sont bien dans /usr/lib64/openmpi/lib.
Voila le config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by meep configure 1.1.1, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --with-mpi
## --------- ##
## Platform. ##
## --------- ##
hostname = ph-gl207.qols.ph.ic.ac.uk
uname -m = x86_64
uname -r = 2.6.35.11-83.fc14.x86_64
uname -s = Linux
uname -v = #1 SMP Mon Feb 7 07:06:44 UTC 2011
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/lib64/qt-3.3/bin
PATH: /usr/lib64/mpich2/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /opt/real/RealPlayer
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2151: checking for a BSD-compatible install
configure:2219: result: /usr/bin/install -c
configure:2230: checking whether build environment is sane
configure:2290: result: yes
configure:2431: checking for a thread-safe mkdir -p
configure:2470: result: /bin/mkdir -p
configure:2483: checking for gawk
configure:2499: found /bin/gawk
configure:2510: result: gawk
configure:2521: checking whether make sets $(MAKE)
configure:2543: result: yes
configure:2653: checking whether to enable maintainer-specific portions of Makefiles
configure:2662: result: no
configure:2770: checking for g++
configure:2786: found /usr/bin/g++
configure:2797: result: g++
configure:2824: checking for C++ compiler version
configure:2832: g++ --version >&5
g++ (GCC) 4.6.0 20110603 (Red Hat 4.6.0-10)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2836: $? = 0
configure:2843: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.6.0/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.6.0 20110603 (Red Hat 4.6.0-10) (GCC)
configure:2847: $? = 0
configure:2854: g++ -V >&5
g++: error: unrecognized option '-V'
g++: fatal error: no input files
compilation terminated.
configure:2858: $? = 4
configure:2881: checking for C++ compiler default output file name
configure:2903: g++ conftest.cpp >&5
configure:2907: $? = 0
configure:2945: result: a.out
configure:2964: checking whether the C++ compiler works
configure:2974: ./a.out
configure:2978: $? = 0
configure:2997: result: yes
configure:3004: checking whether we are cross compiling
configure:3006: result: no
configure:3009: checking for suffix of executables
configure:3016: g++ -o conftest conftest.cpp >&5
configure:3020: $? = 0
configure:3046: result:
configure:3052: checking for suffix of object files
configure:3078: g++ -c conftest.cpp >&5
configure:3082: $? = 0
configure:3107: result: o
configure:3111: checking whether we are using the GNU C++ compiler
configure:3140: g++ -c conftest.cpp >&5
configure:3147: $? = 0
configure:3164: result: yes
configure:3173: checking whether g++ accepts -g
configure:3203: g++ -c -g conftest.cpp >&5
configure:3210: $? = 0
configure:3311: result: yes
configure:3345: checking for style of include used by make
configure:3373: result: GNU
configure:3398: checking dependency style of g++
configure:3508: result: gcc3
configure:3552: checking for mpic++
configure:3568: found /usr/lib64/mpich2/bin/mpic++
configure:3579: result: mpic++
configure:3597: checking for MPI_Init
configure:3653: mpic++ -o conftest -g -O2 conftest.cpp >&5
/usr/bin/ld: cannot find -lmpichcxx
/usr/bin/ld: cannot find -lmpich
/usr/bin/ld: cannot find -lopa
collect2: ld returned 1 exit status
configure:3660: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "meep"
| #define PACKAGE_TARNAME "meep"
| #define PACKAGE_VERSION "1.1.1"
| #define PACKAGE_STRING "meep 1.1.1"
| #define PACKAGE_BUGREPORT "meep@ab-initio.mit.edu"
| #define PACKAGE "meep"
| #define VERSION "1.1.1"
| /* end confdefs.h. */
| /* Define MPI_Init to an innocuous variant, in case <limits.h> declares MPI_Init.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define MPI_Init innocuous_MPI_Init
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char MPI_Init (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef MPI_Init
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char MPI_Init ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_MPI_Init || defined __stub___MPI_Init
| choke me
| #endif
|
| int
| main ()
| {
| return MPI_Init ();
| ;
| return 0;
| }
configure:3680: result: no
configure:3688: checking for MPI_Init in -lmpi
configure:3723: mpic++ -o conftest -g -O2 conftest.cpp -lmpi >&5
/usr/bin/ld: cannot find -lmpi
/usr/bin/ld: cannot find -lmpichcxx
/usr/bin/ld: cannot find -lmpich
/usr/bin/ld: cannot find -lopa
collect2: ld returned 1 exit status
configure:3730: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "meep"
| #define PACKAGE_TARNAME "meep"
| #define PACKAGE_VERSION "1.1.1"
| #define PACKAGE_STRING "meep 1.1.1"
| #define PACKAGE_BUGREPORT "meep@ab-initio.mit.edu"
| #define PACKAGE "meep"
| #define VERSION "1.1.1"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char MPI_Init ();
| int
| main ()
| {
| return MPI_Init ();
| ;
| return 0;
| }
configure:3751: result: no
configure:3759: checking for MPI_Init in -lmpich
configure:3794: mpic++ -o conftest -g -O2 conftest.cpp -lmpich >&5
/usr/bin/ld: cannot find -lmpich
/usr/bin/ld: cannot find -lmpichcxx
/usr/bin/ld: cannot find -lmpich
/usr/bin/ld: cannot find -lopa
collect2: ld returned 1 exit status
configure:3801: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "meep"
| #define PACKAGE_TARNAME "meep"
| #define PACKAGE_VERSION "1.1.1"
| #define PACKAGE_STRING "meep 1.1.1"
| #define PACKAGE_BUGREPORT "meep@ab-initio.mit.edu"
| #define PACKAGE "meep"
| #define VERSION "1.1.1"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char MPI_Init ();
| int
| main ()
| {
| return MPI_Init ();
| ;
| return 0;
| }
configure:3822: result: no
configure:3886: error: could not find mpi library for --with-mpi
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_MPICXX_set=
ac_cv_env_MPICXX_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_MPI_Init=no
ac_cv_lib_mpi_MPI_Init=no
ac_cv_lib_mpich_MPI_Init=no
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_MPICXX=mpic++
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CXX_dependencies_compiler_type=gcc3
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/gl207/Desktop/meep-1.1.1/missing --run aclocal-1.11'
ACTIVATE_READLINE=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/gl207/Desktop/meep-1.1.1/missing --run tar'
AM_BACKSLASH='\'
AM_DEFAULT_VERBOSITY='0'
AR=''
ARCHFLAG=''
AUTOCONF='${SHELL} /home/gl207/Desktop/meep-1.1.1/missing --run autoconf'
AUTOHEADER='${SHELL} /home/gl207/Desktop/meep-1.1.1/missing --run autoheader'
AUTOMAKE='${SHELL} /home/gl207/Desktop/meep-1.1.1/missing --run automake-1.11'
AWK='gawk'
BLAS_LIBS=''
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CTL_H_CPPFLAG=''
CXX='g++'
CXXCPP=''
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
FGREP=''
FLIBS=''
GEN_CTL_IO=''
GREP=''
GUILE_CONFIG=''
HARMINV_CFLAGS=''
HARMINV_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LAPACK_LIBS=''
LATEX2HTML=''
LD=''
LDFLAGS=''
LIBCTL_DIR=''
LIBCTL_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/gl207/Desktop/meep-1.1.1/missing --run makeinfo'
MEEPLIBS=''
MEEP_SUFFIX=''
MKDIR_P='/bin/mkdir -p'
MPICXX='mpic++'
MPILIBS=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='meep'
PACKAGE_BUGREPORT='meep@ab-initio.mit.edu'
PACKAGE_NAME='meep'
PACKAGE_STRING='meep 1.1.1'
PACKAGE_TARNAME='meep'
PACKAGE_VERSION='1.1.1'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PRTDIAG=''
RANLIB=''
RUNCODE=''
SED=''
SET_MAKE=''
SHARED_VERSION_INFO='6:1:0'
SHELL='/bin/sh'
STRIP=''
VERSION='1.1.1'
WITH_LIBCTL_FALSE=''
WITH_LIBCTL_TRUE=''
ac_ct_CC=''
ac_ct_CXX='g++'
ac_ct_DUMPBIN=''
ac_ct_F77=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/gl207/Desktop/meep-1.1.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "meep"
#define PACKAGE_TARNAME "meep"
#define PACKAGE_VERSION "1.1.1"
#define PACKAGE_STRING "meep 1.1.1"
#define PACKAGE_BUGREPORT "meep@ab-initio.mit.edu"
#define PACKAGE "meep"
#define VERSION "1.1.1"
configure: exit 1
On dirait que j'ai deux versions de MPI installée ?