[Dune] dune installation problem

Arya Fallahi arya.fallahi at gmail.com
Wed Jun 3 12:29:08 CEST 2015


Hi Christoph

Thank you very much for the reply. Unfortunately, when I remove the comment
line (and actually when I remove any line from my opts file), the
compilation stops at the very beginning. The following is the terminal
output and the config file is also attached. I could not still figure out
why this has happened.

[cfel-kaert-lx1] ~/workspace $ sudo ./dune-common/bin/dunecontrol
--opts=cyrus.opts all
--- going to build dune-common dune-geometry dune-grid cyrus  ---
--- calling all for dune-common ---
--- calling autogen for dune-common ---
Skipping dune-autogen
--- calling configure for dune-common ---
----- using default flags $CONFIGURE_FLAGS from /afs/
desy.de/user/a/afallahi/workspace/cyrus.opts -----
./configure MPICC='/afs/desy.de/user/a/afallahi/extlib/openmpi-1.8/bin/mpicc'
CC=gcc-4.7 CFLAGS='-O3 -g0 --no-strict-aliasing' CPP=cpp-4.7 CPPFLAGS='-O3
-g0 --no-strict-aliasing' CXX=g++-4.7 CXXFLAGS='-O3 -g0
--no-strict-aliasing' F77=gfortran-4.7 FFLAGS='-O3 -g0
--no-strict-aliasing' FC=gfortran-4.7 FCFLAGS='-O3 -g0
--no-strict-aliasing' --enable-parallel --prefix='/afs/
desy.de/user/a/afallahi/extlib/cyrus' --with-metis='/afs/
desy.de/user/a/afallahi/extlib/metis-5.1' - ACLOCAL_AMFLAGS="-I . -I
m4"ser/a/afallahi/extlib/alugrid-1.52'
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:
configure: WARNING: unrecognized options: --with-metis, --with-alugrid
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... yes
checking how to create a pax tar archive... (cached) gnutar
checking for inkscape... inkscape
checking for doxygen... doxygen
checking for latex... latex
checking for bibtex... bibtex
checking for dvipdf... dvipdf
checking for dvips... dvips
checking for wml... no
checking for dot... dot
checking for perl... perl
checking for convert... convert
-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for style of include used by make... GNU
-gcc... gcc-4.7
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-4.7 accepts -g... yes
checking for gcc-4.7 option to accept ISO C89... none needed
checking dependency style of gcc-4.7... gcc3
checking dependency style of gcc-4.7... (cached) gcc3
checking how to run the C preprocessor... cpp-4.7
checking whether we are using the GNU C++ compiler... yes
checking whether g++-4.7 accepts -g... yes
checking dependency style of g++-4.7... gcc3
checking dependency style of g++-4.7... (cached) gcc3
checking how to run the C++ preprocessor... g++-4.7 -E
-g77... gfortran-4.7
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran-4.7 accepts -g... yes
-gfortran... gfortran-4.7
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran-4.7 accepts -g... yes
' not recognizedystem type... Invalid configuration `
 failedre: error: /bin/sh ./config.sub
--- Failed to build dune-common ---
Terminating dunecontrol due to previous errors!


On Wed, Jun 3, 2015 at 6:08 AM, Christoph GrĂ¼ninger <
christoph.grueninger at iws.uni-stuttgart.de> wrote:

> Hi Arya,
> you are not allowed to put comments within a shell variable. In your case
> the FCCFLAGS.
>
>             FC=gfortran-4.7
>             #FCFLAGS='-O3 -g0 --no-strict-aliasing'
>             --enable-parallel
>
> To config.log might have helped to find the problem. And you should have
> tried to compile withput an opts file at all.
>
> Hth
> Christoph
>
> > Am 03.06.2015 um 04:58 schrieb Arya Fallahi <arya.fallahi at gmail.com>:
> >
> >             FC=gfortran-4.7
> >             #FCFLAGS='-O3 -g0 --no-strict-aliasing'
> >             --enable-parallel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150603/7a93194a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 21914 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150603/7a93194a/attachment.obj>


More information about the Dune mailing list