[Dune] MPI version exception

Christoph GrĂ¼ninger christoph.grueninger at iws.uni-stuttgart.de
Mon Mar 2 18:35:15 CET 2015


Hi Ganesh,
Dune 2.4 is not yet released, so you used Dune's Git master that will
become 2.4.

You can pass the mpicc compiler to CMake via -DCMAKE_MPICC_COMPILER=..
Both MPI libraries should provide one, you can try one or the other.

But that's not the actual problem, see the extract from your error log.
I am puzzled by the error message "No rule to make target
`/usr/local/lib/libmpi.so'". Does this library exist on your system?

Bye
Christoph


> Run Build Command:/usr/bin/make "cmTryCompileExec3317251541/fast"
> /usr/bin/make -f CMakeFiles/cmTryCompileExec3317251541.dir/build.make CMakeFiles/cmTryCompileExec3317251541.dir/build
> make[1]: Entering directory `/home/gcd3/Documents/dune_src/dune-common/build-cmake/CMakeFiles/CMakeTmp'
> /usr/bin/cmake -E cmake_progress_report /home/gcd3/Documents/dune_src/dune-common/build-cmake/CMakeFiles/CMakeTmp/CMakeFiles 1
> Building C object CMakeFiles/cmTryCompileExec3317251541.dir/CheckFunctionExists.c.o
> /usr/bin/cc  -DENABLE_MPI=1 -DMPICH_SKIP_MPICXX -DMPIPP_H -DCHECK_FUNCTION_EXISTS=MPI_Finalized  -DHAVE_MEMORY=1 -I/usr/local/include    -o CMakeFiles/cmTryCompileExec3317251541.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c
> make[1]: *** No rule to make target `/usr/local/lib/libmpi.so', needed by `cmTryCompileExec3317251541'. Stop.
> make[1]: Leaving directory `/home/gcd3/Documents/dune_src/dune-common/build-cmake/CMakeFiles/CMakeTmp'
> make: *** [cmTryCompileExec3317251541/fast] Error 2
> 
> 
> Performing C++ SOURCE FILE Test MPI_VERSION_SUPPORTED failed with the following output:
> Change Dir: /home/gcd3/Documents/dune_src/dune-common/build-cmake/CMakeFiles/CMakeTmp
> 
> Run Build Command:/usr/bin/make "cmTryCompileExec1984591069/fast"
> /usr/bin/make -f CMakeFiles/cmTryCompileExec1984591069.dir/build.make CMakeFiles/cmTryCompileExec1984591069.dir/build
> make[1]: Entering directory `/home/gcd3/Documents/dune_src/dune-common/build-cmake/CMakeFiles/CMakeTmp'
> /usr/bin/cmake -E cmake_progress_report /home/gcd3/Documents/dune_src/dune-common/build-cmake/CMakeFiles/CMakeTmp/CMakeFiles 1
> Building CXX object CMakeFiles/cmTryCompileExec1984591069.dir/src.cxx.o
> /usr/bin/c++   -DENABLE_MPI=1 -DMPICH_SKIP_MPICXX -DMPIPP_H -std=c++11  -DMPI_VERSION_SUPPORTED  -DHAVE_MEMORY=1 -I/usr/local/include    -o CMakeFiles/cmTryCompileExec1984591069.dir/src.cxx.o -c /home/gcd3/Documents/dune_src/dune-common/build-cmake/CMakeFiles/CMakeTmp/src.cxx
> make[1]: *** No rule to make target `/usr/local/lib/libmpi.so', needed by `cmTryCompileExec1984591069'. Stop.
> make[1]: Leaving directory `/home/gcd3/Documents/dune_src/dune-common/build-cmake/CMakeFiles/CMakeTmp'
> make: *** [cmTryCompileExec1984591069/fast] Error 2


-- 
GDB does hate your application, expresses its contempt through the
design of its command-line interface.   -- Tom Tromey, FOSDEM 2014

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150302/5ca3fef5/attachment.sig>


More information about the Dune mailing list