[Dune] Dune-1.0beta4 can not be configured

Andre Massing massing at zib.de
Wed Apr 4 16:49:15 CEST 2007


Hi,

On 2007-04-04, Oliver Sander wrote :
> Hi Andre!
> You do not need AmiraMesh to build Dune.  Everything else would be a bug.
> Could you please be a bit more specific about what goes wrong?

O.k. , I started with fresh dune-1.0beta4 from the tarballs (no prior 
configuration, compilation or whatsoever) using an option-file

# use these options for configure if no options a provided on the cmdline
#AUTOGEN_FLAGS="--ac=2.50 --am=-1.8"
CONFIGURE_FLAGS="--prefix='/usr/local/dune-1.0' --with-alberta='/usr/local/alberta-1.2' --with-alugrid='/usr/local/ALUGrid-0.41' --with-ug='/usr/local/ug-3.9.x'"
#MAKE_FLAGS=install

and built via
#./dune-common-1.0beta4/bin/dunecontrol --opts=example.opts all

UG was recognized as sequential version. While compiling within the grid-howto 
modul I encounter the following error (and this error *did not occur* when I 
configured DUNE to be built without UG and used the same procedure, again 
starting also from a clean directory-tree): 

g++ -g -O2 -o traversal 
traversal-traversal.o  -L/home/andre/homebase/mathe/angewandtemathe/numerik/dune-1.0/tmp/dune-common-1.0beta4/lib -L/home/andre/homebase/mathe/an 
gewandtemathe/numerik/dune-1.0/tmp/dune-grid-1.0beta4/lib /home/andre/homebase/mathe/angewandtemathe/numerik/dune-1.0/tmp/dune-grid-1.0beta4/lib/.libs/libdunegrid.a -L/u 
sr/local/ug-3.9.x/lib /home/andre/homebase/mathe/angewandtemathe/numerik/dune-1.0/tmp/dune-common-1.0beta4/lib/.libs/libdunecommon.a -L/usr/local/alberta-1.2/lib -L/usr/ 
lib -L/usr/local/ALUGrid-0.41/lib /usr/local/alberta-1.2/lib/libALBERTA22_0.a /usr/local/alberta-1.2/lib/libalberta_util.a -lSM -lICE /usr/local/ug-3.9.x/lib/libug2.a /u 
sr/local/ug-3.9.x/lib/libdomS2.a /usr/local/ug-3.9.x/lib/libgg2.a /usr/local/ug-3.9.x/lib/libug3.a /usr/local/ug-3.9.x/lib/libdomS3.a /usr/local/ug-3.9.x/lib/libgg3.a /u 
sr/local/ug-3.9.x/lib/libdevS.a -lblas -L/usr/lib/gcc/i486-linux-gnu/3.4.6 -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../ .. -L/lib/../lib -L/usr/lib/../lib -lfrtbegin /usr/lib/libg2c.so -lm /usr/local/ALUGrid-0.41/lib/libalugrid.a
if 
g++ -DHAVE_CONFIG_H -I. -I. -I.  -I/home/andre/homebase/mathe/angewandtemathe/numerik/dune-1.0/tmp/dune-common-1.0beta4 -I/home/andre/homebase/mathe/angewandtemathe/n 
umerik/dune-1.0/tmp/dune-grid-1.0beta4 -I.   -I/usr/local/alberta-1.2/include -I/usr/local/ug-3.9.x/include  -I/usr/include/superlu -I/usr/local/ALUGrid-0.41/include -I/ 
usr/local/ALUGrid-0.41/include/serial -I/usr/local/ALUGrid-0.41/include/duneinterface -I/home/andre/homebase/mathe/angewandtemathe/numerik/dune-1.0/tmp/dune-common-1.0be 
ta4 -I/home/andre/homebase/mathe/angewandtemathe/numerik/dune-1.0/tmp/dune-grid-1.0beta4 -g -O2 -MT 
integration-integration.o -MD -MP -MF ".deps/integration-integration. 
Tpo" -c -o integration-integration.o `test -f 'integration.cc' || 
echo './'`integration.cc; \
        then 
mv -f ".deps/integration-integration.Tpo" ".deps/integration-integration.Po"; 
else rm -f ".deps/integration-integration.Tpo"; exit 1; fi
In file included from unitcube_uggrid.hh:6,
                 from unitcube.hh:33,
                 from integration.cc:7:
/home/andre/homebase/mathe/angewandtemathe/numerik/dune-1.0/tmp/dune-grid-1.0beta4/dune/grid/io/file/amirameshreader.hh:6:33: 
error: amiramesh/AmiraMesh.h: Datei oder Ve rzeichnis nicht gefunden
/home/andre/homebase/mathe/angewandtemathe/numerik/dune-1.0/tmp/dune-grid-1.0beta4/dune/grid/io/file/amiramesh/amirameshreader.cc: 
In static member function 'static void  
Dune::AmiraMeshReader<GridType>::readFunction(DiscFuncType&, const 
std::string&)':
/home/andre/homebase/mathe/angewandtemathe/numerik/dune-1.0/tmp/dune-grid-1.0beta4/dune/grid/io/file/amiramesh/amirameshreader.cc:11: 
error: 'AmiraMesh' was not declared  in this scope
/home/andre/homebase/mathe/angewandtemathe/numerik/dune-1.0/tmp/dune-grid-1.0beta4/dune/grid/io/file/amiramesh/amirameshreader.cc:11: 
error: 'am' was not declared in this scope
/home/andre/homebase/mathe/angewandtemathe/numerik/dune-1.0/tmp/dune-grid-1.0beta4/dune/grid/io/file/amiramesh/amirameshreader.cc:11: 
error: 'AmiraMesh' is not a class or namespace
.
.
.

If you need any further informations I will be glad to provide more details, 
e.g. recording whole stdout/stderr messages, config.log, etc. 
Cheers,

Andre

-- 
Andre Massing			    phone:  + 49 30 84185-343
Zuse Institute Berlin		    fax:    + 49 30 84185-107
Numerical Analysis and Modelling    mail:   massing at zib.de
Takustrasse 7
D-14195 Berlin-Dahlem




More information about the Dune mailing list