<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Arya,</div><div>first of all, do not work as root. You call dunecontrol with leading "sudo" - drop that.</div><div><br></div><div>You can build the parallel tests in dune-common/dune/common/parallel/test to make sure that MPI works in general on your computer.</div><div><br></div><div>I think you forgott adding the MPIFLAGS in your Makefile.am. Compare to the Makefile.am from the parallel dune-common tests. If you cannot figure it out by yourself, send us your Makefile.am.</div><div><br></div><div>Bye</div><div>Christoph</div><div><br><br></div><div><br>Am 03.06.2015 um 22:56 schrieb Arya Fallahi <<a href="mailto:arya.fallahi@gmail.com">arya.fallahi@gmail.com</a>>:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div>Hi Christoph,<br><br></div><div>Sorry for sending you the problems again and again. I could figure out a command which was doing everything correctly, till it came to the installation of my application. I am using the following line:<br><br>sudo CONFIGURE_FLAGS="MPICC='$HOME/extlib/openmpi-1.8/bin/mpicc' --enable-parallel --prefix='$HOME/extlib/cyrus' --with-metis='$HOME/extlib/metis-5.1' --with-alugrid='$HOME/extlib/alugrid-1.52'" ./dune-common/bin/dunecontrol --no-cmake all<br><br></div><div>It installs all the required modules and detects Alugrid and open mpi. Howver, when it comes to the installation of my application, it behaves as mpi is not found. Have a look at the following lines:<br><br>Now run ./configure to setup cyrus<br>--- calling configure for cyrus ---<br>----- using default flags $CONFIGURE_FLAGS from environment -----<br>./configure MPICC='/afs/<a href="http://desy.de/user/a/afallahi/extlib/openmpi-1.8/bin/mpicc">desy.de/user/a/afallahi/extlib/openmpi-1.8/bin/mpicc</a>' --enable-parallel --prefix='/afs/<a href="http://desy.de/user/a/afallahi/extlib/cyrus">desy.de/user/a/afallahi/extlib/cyrus</a>' --with-metis='/afs/<a href="http://desy.de/user/a/afallahi/extlib/metis-5.1">desy.de/user/a/afallahi/extlib/metis-5.1</a>' --with-alugrid='/afs/<a href="http://desy.de/user/a/afallahi/extlib/alugrid-1.52">desy.de/user/a/afallahi/extlib/alugrid-1.52</a>' "--with-dune-common=/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/">desy.de/user/a/afallahi/workspace/dune-common/</a>" "--with-dune-geometry=/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-geometry/">desy.de/user/a/afallahi/workspace/dune-geometry/</a>" "--with-dune-grid=/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-grid/">desy.de/user/a/afallahi/workspace/dune-grid/</a>" ACLOCAL_AMFLAGS="-I . -I m4 -I /afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4">desy.de/user/a/afallahi/workspace/dune-common/m4</a> -I /afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-geometry/m4">desy.de/user/a/afallahi/workspace/dune-geometry/m4</a> -I /afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-grid/m4">desy.de/user/a/afallahi/workspace/dune-grid/m4</a>"<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether build environment is sane... yes<br>checking for a thread-safe mkdir -p... /bin/mkdir -p<br>checking for gawk... no<br>checking for mawk... mawk<br>checking whether make sets $(MAKE)... yes<br>checking whether make supports nested variables... yes<br>checking how to create a pax tar archive... gnutar<br>checking whether make supports nested variables... (cached) yes<br>checking how to create a pax tar archive... (cached) gnutar<br>checking for inkscape... no<br>checking for doxygen... no<br>checking for latex... latex<br>checking for bibtex... bibtex<br>checking for dvipdf... dvipdf<br>checking for dvips... dvips<br>checking for wml... no<br>checking for dot... no<br>checking for perl... perl<br>checking for convert... convert<br>checking for pkg-config... /usr/bin/pkg-config<br>checking pkg-config is at least version 0.9.0... yes<br>checking for style of include used by make... GNU<br>checking for gcc... gcc<br>checking whether the C compiler works... yes<br>checking for C compiler default output file name... a.out<br>checking for suffix of executables... <br>checking whether we are cross compiling... no<br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>checking whether gcc understands -c and -o together... yes<br>checking dependency style of gcc... gcc3<br>checking dependency style of gcc... (cached) gcc3<br>checking how to run the C preprocessor... gcc -E<br>checking for g++... g++<br>checking whether we are using the GNU C++ compiler... yes<br>checking whether g++ accepts -g... yes<br>checking dependency style of g++... gcc3<br>checking dependency style of g++... (cached) gcc3<br>checking how to run the C++ preprocessor... g++ -E<br>checking for g77... no<br>checking for xlf... no<br>checking for f77... no<br>checking for frt... no<br>checking for pgf77... no<br>checking for cf77... no<br>checking for fort77... no<br>checking for fl32... no<br>checking for af77... no<br>checking for xlf90... no<br>checking for f90... no<br>checking for pgf90... no<br>checking for pghpf... no<br>checking for epcf90... no<br>checking for gfortran... gfortran<br>checking whether we are using the GNU Fortran 77 compiler... yes<br>checking whether gfortran accepts -g... yes<br>checking for gfortran... gfortran<br>checking whether we are using the GNU Fortran compiler... yes<br>checking whether gfortran accepts -g... yes<br>checking build system type... x86_64-unknown-linux-gnu<br>checking host system type... x86_64-unknown-linux-gnu<br>checking how to print strings... printf<br>checking for a sed that does not truncate output... /bin/sed<br>checking for grep that handles long lines and -e... /bin/grep<br>checking for egrep... /bin/grep -E<br>checking for fgrep... /bin/grep -F<br>checking for ld used by gcc... /usr/bin/ld<br>checking if the linker (/usr/bin/ld) is GNU ld... yes<br>checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B<br>checking the name lister (/usr/bin/nm -B) interface... BSD nm<br>checking whether ln -s works... yes<br>checking the maximum length of command line arguments... 1572864<br>checking whether the shell understands some XSI constructs... yes<br>checking whether the shell understands "+="... yes<br>checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop<br>checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop<br>checking for /usr/bin/ld option to reload object files... -r<br>checking for objdump... objdump<br>checking how to recognize dependent libraries... pass_all<br>checking for dlltool... no<br>checking how to associate runtime and link libraries... printf %s\n<br>checking for ar... ar<br>checking for archiver @FILE support... @<br>checking for strip... strip<br>checking for ranlib... ranlib<br>checking command to parse /usr/bin/nm -B output from gcc object... ok<br>checking for sysroot... no<br>checking for mt... mt<br>checking if mt is a manifest tool... no<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking for dlfcn.h... yes<br>checking for objdir... .libs<br>checking if gcc supports -fno-rtti -fno-exceptions... no<br>checking for gcc option to produce PIC... -fPIC -DPIC<br>checking if gcc PIC flag -fPIC -DPIC works... yes<br>checking if gcc static flag -static works... yes<br>checking if gcc supports -c -o file.o... yes<br>checking if gcc supports -c -o file.o... (cached) yes<br>checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking dynamic linker characteristics... GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking whether stripping libraries is possible... yes<br>checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... no<br>checking whether to build static libraries... yes<br>checking how to run the C++ preprocessor... g++ -E<br>checking for ld used by g++... /usr/bin/ld -m elf_x86_64<br>checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes<br>checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking for g++ option to produce PIC... -fPIC -DPIC<br>checking if g++ PIC flag -fPIC -DPIC works... yes<br>checking if g++ static flag -static works... yes<br>checking if g++ supports -c -o file.o... yes<br>checking if g++ supports -c -o file.o... (cached) yes<br>checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking dynamic linker characteristics... (cached) GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... no<br>checking whether to build static libraries... yes<br>checking for gfortran option to produce PIC... -fPIC<br>checking if gfortran PIC flag -fPIC works... yes<br>checking if gfortran static flag -static works... yes<br>checking if gfortran supports -c -o file.o... yes<br>checking if gfortran supports -c -o file.o... (cached) yes<br>checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking dynamic linker characteristics... (cached) GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... no<br>checking whether to build static libraries... yes<br>checking for gfortran option to produce PIC... -fPIC<br>checking if gfortran PIC flag -fPIC works... yes<br>checking if gfortran static flag -static works... yes<br>checking if gfortran supports -c -o file.o... yes<br>checking if gfortran supports -c -o file.o... (cached) yes<br>checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking dynamic linker characteristics... (cached) GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking for ranlib... (cached) ranlib<br>checking how to get verbose linking output from gfortran... -v<br>checking for Fortran 77 libraries of gfortran...  -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lgfortran -lm -lquadmath<br>checking for dummy main to link with Fortran 77 libraries... none<br>checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore<br>checking for sgemm_... no<br>checking for ATL_xerbla in -latlas... no<br>checking for sgemm_ in -lblas... no<br>checking for sgemm_ in -lcxml... no<br>checking for sgemm_ in -ldxml... no<br>checking for sgemm_ in -lscs... no<br>checking for sgemm_ in -lcomplib.sgimath... no<br>checking for sgemm_ in -lblas... (cached) no<br>checking for sgemm_ in -lblas... (cached) no<br>checking how to get verbose linking output from gfortran... -v<br>checking for Fortran libraries of gfortran...  -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lgfortran -lm -lquadmath<br>checking for dummy main to link with Fortran libraries... none<br>checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore<br>checking whether compiler is officially supported by DUNE... yes<br>checking whether g++ accepts -std=c++11... yes<br>checking whether nullptr is supported... yes<br>checking for C++11 constexpr... yes<br>checking for C++11 noexcept specifier... yes<br>checking for C++11 range-based for... yes<br>checking whether compiling C++ code works... yes<br>checking whether linking C++ objects works... yes<br>checking for __attribute__((deprecated))... yes<br>checking for __attribute__((deprecated("message")))... yes<br>checking for C++11 keyword 'final'... yes<br>checking for __attribute__((unused))... yes<br>checking for C++11 std::declval()... yes<br>checking whether the compiler properly supports testing for operator[]... yes<br>checking for abi::__cxa_demangle... yes<br>checking rpc/rpc.h usability... yes<br>checking rpc/rpc.h presence... yes<br>checking for rpc/rpc.h... yes<br>checking for mpicc... /afs/<a href="http://desy.de/user/a/afallahi/extlib/openmpi-1.8/bin/mpicc">desy.de/user/a/afallahi/extlib/openmpi-1.8/bin/mpicc</a><br>checking for MPI_Init... yes<br>checking for mpi.h... yes<br>configure: Trying to identify the version of MPI compiler /afs/<a href="http://desy.de/user/a/afallahi/extlib/openmpi-1.8/bin/mpicc">desy.de/user/a/afallahi/extlib/openmpi-1.8/bin/mpicc</a><br>checking for lam... no<br>checking for mpich... no<br>checking for OpenMPI... yes<br>checking whether compiling with OpenMPI works... yes<br>checking whether MPI is recent enough (MPI-2.1)... yes<br>configure: WARNING: Disabled test whether running with OpenMPI works.<br>checking for MPI_Finalized in -lm... yes<br>checking sys/mman.h usability... yes<br>checking sys/mman.h presence... yes<br>checking for sys/mman.h... yes<br>checking for the pthreads library -lpthreads... no<br>checking whether pthreads work without any flags... no<br>checking whether pthreads work with -Kthread... no<br>checking whether pthreads work with -kthread... no<br>checking for the pthreads library -llthread... no<br>checking whether pthreads work with -pthread... yes<br>checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE<br>checking if more special flags are required for pthreads... no<br>checking for cc_r... gcc<br>checking whether the linker needs -Wl,-no-as-needed... yes (Ubuntu)<br>checking libraries needed for std::thread... <br>checking linker flags needed for std::thread... -Wl,-no-as-needed -pthread<br>checking compiler flags needed for std::thread... -pthread<br>checking whether std::thread works... yes<br>checking for an ANSI C-conforming const... yes<br>checking for inline... inline<br>checking for size_t... yes<br>checking whether struct tm is in sys/time.h or time.h... time.h<br>checking for GMP... configure: searching for GMP in /usr...<br>checking gmpxx.h usability... no<br>checking gmpxx.h presence... no<br>checking for gmpxx.h... no<br>configure: WARNING: gmpxx.h not found in /usr<br>configure: searching for GMP in /usr/local...<br>checking for gmpxx.h... (cached) no<br>configure: WARNING: gmpxx.h not found in /usr/local<br>no<br>checking malloc.h usability... yes<br>checking malloc.h presence... yes<br>checking for malloc.h... yes<br>checking for string.h... (cached) yes<br>checking for pow in -lm... yes<br>checking for sqrt... yes<br>checking for strchr... yes<br>configure: creating ./<a href="http://config.lt">config.lt</a><br><a href="http://config.lt">config.lt</a>: creating libtool<br>checking for dune-common installation or source tree... testing /afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/CMakeCache.txt">desy.de/user/a/afallahi/workspace/dune-common/CMakeCache.txt</a><br>found in /afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common">desy.de/user/a/afallahi/workspace/dune-common</a><br>checking dune/common/stdstreams.hh usability... yes<br>checking dune/common/stdstreams.hh presence... yes<br>checking for dune/common/stdstreams.hh... yes<br>checking for libdunecommon... yes<br>configure: Searching for dune-geometry...<br>checking for dune-geometry installation or source tree... testing /afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-geometry/CMakeCache.txt">desy.de/user/a/afallahi/workspace/dune-geometry/CMakeCache.txt</a><br>found in /afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-geometry">desy.de/user/a/afallahi/workspace/dune-geometry</a><br>checking dune/geometry/quadraturerules.hh usability... yes<br>checking dune/geometry/quadraturerules.hh presence... yes<br>checking for dune/geometry/quadraturerules.hh... yes<br>checking for libdunegeometry... yes<br>checking for X... no<br>checking whether we are using the Microsoft C compiler... no<br>checking windows.h usability... no<br>checking windows.h presence... no<br>checking for windows.h... no<br>checking for OpenGL library... no<br>configure: WARNING: X libraries were not found and therefore not Grape check possible! See ./configure --help for X library options.<br>configure: PARMETIS: checking for /usr/local/include/parmetis <br>checking for METIS library... yes<br>checking for METIS_PartGraphKway in -lmetis... yes<br>checking for metis.h... yes<br>checking METIS in /afs/<a href="http://desy.de/user/a/afallahi/extlib/metis-5.1.">desy.de/user/a/afallahi/extlib/metis-5.1.</a>.. ok<br>checking parmetis.h usability... no<br>checking parmetis.h presence... no<br>checking for parmetis.h... no<br>configure: WARNING: parmetis.h not found in  with  -I -I/afs/<a href="http://desy.de/user/a/afallahi/extlib/metis-5.1/include">desy.de/user/a/afallahi/extlib/metis-5.1/include</a> -I/afs/<a href="http://desy.de/user/a/afallahi/extlib/openmpi-1.8/include">desy.de/user/a/afallahi/extlib/openmpi-1.8/include</a> -pthread -DMPIPP_H -DENABLE_MPI=1<br>checking ParMETIS in ... failed<br>configure: searching for ALBERTA in /usr...<br>configure: searching for ALBERTA in /usr/local...<br>configure: searching for ALBERTA in /usr/local/alberta...<br>configure: searching for ALBERTA in /opt/alberta...<br>checking alberta/alberta.h usability... no<br>checking alberta/alberta.h presence... no<br>checking for alberta/alberta.h... no<br>configure: WARNING: alberta/alberta.h not found in -I/include -I/include/alberta<br>Package libug was not found in the pkg-config search path.<br>Perhaps you should add the directory containing `libug.pc'<br>to the PKG_CONFIG_PATH environment variable<br>No package 'libug' found<br>Package libug was not found in the pkg-config search path.<br>Perhaps you should add the directory containing `libug.pc'<br>to the PKG_CONFIG_PATH environment variable<br>No package 'libug' found<br>checking for UG... no<br>configure: WARNING: UG not found<br>checking for amiramesh/AmiraMesh.h... no<br>configure: WARNING: AmiraMesh.h not found in /usr/local/amiramesh/include/amiramesh<br>checking for PSURFACE... no<br>configure: WARNING: PSurface >= 2.0 not found in /usr/local/psurface<br>checking psurface/PSurface.h usability... no<br>checking psurface/PSurface.h presence... no<br>checking for psurface/PSurface.h... no<br>configure: searching for ALUGrid in /afs/<a href="http://desy.de/user/a/afallahi/extlib/alugrid-1.52.">desy.de/user/a/afallahi/extlib/alugrid-1.52.</a>..<br>checking ALUGrid version >= 1.52... yes (ALUGrid-1.52)<br>checking alugrid_serial.h usability... yes<br>checking alugrid_serial.h presence... yes<br>checking for alugrid_serial.h... yes<br>configure: WARNING: "ALUGRID was not built for parallel support!"<br>checking for library containing malloc... none required<br>checking for dune-grid installation or source tree... testing /afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-grid/CMakeCache.txt">desy.de/user/a/afallahi/workspace/dune-grid/CMakeCache.txt</a><br>found in /afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-grid">desy.de/user/a/afallahi/workspace/dune-grid</a><br>checking dune/grid/onedgrid.hh usability... yes<br>checking dune/grid/onedgrid.hh presence... yes<br>checking for dune/grid/onedgrid.hh... yes<br>checking for libdunegrid... yes<br>checking that generated files are newer than configure... done<br>configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: creating cyrus/Makefile<br>config.status: creating m4/Makefile<br>config.status: creating cyrus.pc<br>config.status: creating config.h<br>config.status: executing depfiles commands<br>config.status: executing libtool commands<br><br>Found the following Dune-components: <br><br>----------------------------------------<br><br>dune-common.............: version 2.4-git<br>dune-geometry...........: version 2.4-git<br>dune-grid...............: version 2.4-git<br>ALBERTA.................: no<br>ALUGrid.................: version 1.52 (serial)<br>AmiraMesh...............: no<br>GMP.....................: no<br>Grape...................: no<br>METIS...................: yes<br>MPI.....................: yes (OpenMPI)<br>OpenGL..................: no<br>ParMETIS................: no<br>UG......................: no<br>psurface................: no<br><br>----------------------------------------<br><br>See ./configure --help and config.log for reasons why a component wasn't found<br><br>--- calling make for cyrus ---<br>build directory: <br>make <br>(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /afs/<a href="http://desy.de/user/a/afallahi/workspace/cyrus/missing">desy.de/user/a/afallahi/workspace/cyrus/missing</a> autoheader)<br>rm -f stamp-h1<br>touch <a href="http://config.h.in">config.h.in</a><br>cd . && /bin/bash ./config.status config.h<br>config.status: creating config.h<br>config.status: config.h is unchanged<br>make  all-recursive<br>make[1]: Entering directory `/afs/<a href="http://desy.de/user/a/afallahi/workspace/cyrus">desy.de/user/a/afallahi/workspace/cyrus</a>'<br>Making all in cyrus<br>make[2]: Entering directory `/afs/<a href="http://desy.de/user/a/afallahi/workspace/cyrus/cyrus">desy.de/user/a/afallahi/workspace/cyrus/cyrus</a>'<br>make[3]: Entering directory `/afs/<a href="http://desy.de/user/a/afallahi/workspace/cyrus/cyrus">desy.de/user/a/afallahi/workspace/cyrus/cyrus</a>'<br>g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -pthread -I/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common">desy.de/user/a/afallahi/workspace/dune-common</a> -I/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common">desy.de/user/a/afallahi/workspace/dune-common</a> -I/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-geometry">desy.de/user/a/afallahi/workspace/dune-geometry</a> -I/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-geometry">desy.de/user/a/afallahi/workspace/dune-geometry</a> -I/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-grid">desy.de/user/a/afallahi/workspace/dune-grid</a> -I/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-grid">desy.de/user/a/afallahi/workspace/dune-grid</a>  -I/afs/<a href="http://desy.de/user/a/afallahi/extlib/alugrid-1.52/include">desy.de/user/a/afallahi/extlib/alugrid-1.52/include</a> -I/afs/<a href="http://desy.de/user/a/afallahi/extlib/alugrid-1.52/include/serial">desy.de/user/a/afallahi/extlib/alugrid-1.52/include/serial</a> -I/afs/<a href="http://desy.de/user/a/afallahi/extlib/alugrid-1.52/include/duneinterface">desy.de/user/a/afallahi/extlib/alugrid-1.52/include/duneinterface</a> -DENABLE_ALUGRID -DWITH_INDEX_SETS -g -O2 -Wall -MT dgtd-dgtd.o -MD -MP -MF .deps/dgtd-dgtd.Tpo -c -o dgtd-dgtd.o `test -f '<a href="http://dgtd.cc">dgtd.cc</a>' || echo './'`<a href="http://dgtd.cc">dgtd.cc</a><br>In file included from <a href="http://dgtd.cc">dgtd.cc</a>:6:0:<br>../cyrus/dgtd.hh:26:17: fatal error: mpi.h: No such file or directory<br> #include <mpi.h><br>                 ^<br>compilation terminated.<br>make[3]: *** [dgtd-dgtd.o] Error 1<br>make[3]: Leaving directory `/afs/<a href="http://desy.de/user/a/afallahi/workspace/cyrus/cyrus">desy.de/user/a/afallahi/workspace/cyrus/cyrus</a>'<br>make[2]: *** [all-recursive] Error 1<br>make[2]: Leaving directory `/afs/<a href="http://desy.de/user/a/afallahi/workspace/cyrus/cyrus">desy.de/user/a/afallahi/workspace/cyrus/cyrus</a>'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/afs/<a href="http://desy.de/user/a/afallahi/workspace/cyrus">desy.de/user/a/afallahi/workspace/cyrus</a>'<br>make: *** [all] Error 2<br>--- Failed to build cyrus ---<br>Terminating dunecontrol due to previous errors!<br><br></div><div>I have also attached the config.log. I will be thankful if you share me any ideas which may solve the problem.<br><br></div><div>Thank you very much for your helps,<br></div><div>Arya<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 3, 2015 at 1:19 PM, Christoph GrĂ¼ninger <span dir="ltr"><<a href="mailto:christoph.grueninger@iws.uni-stuttgart.de" target="_blank">christoph.grueninger@iws.uni-stuttgart.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Arya,<br>
difficult to tell. You might have a look in to the configure script at<br>
line 6982<br>
<br>
> configure:6863: checking whether gfortran-4.7 accepts -g<br>
> configure:6874: gfortran-4.7 -c -g  conftest.f >&5<br>
> configure:6874: $? = 0<br>
> configure:6882: result: yes<br>
> configure:6971: checking build system type<br>
> configure:6982: error: /bin/sh ./config.sub<br>
>  failed<br>
<br>
Your opts file does the line breaks the wrong way. Within the string you<br>
have to indicate a line break with a backslash \ without trailing<br>
whitespace.<br>
<br>
When you try without the opts file, you have to pass the necessary flags<br>
like that in a single line:<br>
CC=/usr/bin/whatever CONFIGURE_FLAGS="--prefix=/home/myself/dune<br>
--enable-parallel" dunecontroll all<br>
<br>
Bye<br>
<span class="HOEnZb"><font color="#888888">Christoph<br>
<br>
--<br>
A mathematician is a scientist who can figure out anything, except<br>
such simple things as squaring the circle and trisecting an angle.<br>
[Evan Esar (1899-1995), Esar's Comic Dictionary]<br>
<br>
</font></span></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><config.log></div></blockquote></body></html>