Dear All,
I am attempting to install alps-1.3.5 release candidate 3.
I already have alps-1-3-4 installed, so I moved the ALPS directory to
another location. Presumably this ensures a fresh install. I have boost
and lapack in my home space. I am running Ubuntu 9.10.
I run ./configure:
[...]
Summary of configuration:
ALPS version 1.3.5
prefix /home/andrea/ALPS
compiler type gnu [g++]
optimization yes
exceptions yes
warnings no
Boost version 1_41
MPI support no
OpenMP support no
HDF5 support no
LAPACK support yes
SQLite support no
XML parser native
Documentation no
I run make, but this eventually exits with an error:
[...]
In file included from /usr/include/c++/4.4/backward/hash_set:59,
from /home/andrea/boost/boost/graph/adjacency_list.hpp:25,
from ../../src/alps/lattice/propertymap.h:37,
from ../../src/alps/lattice/graphproperties.h:34,
from ../../src/alps/lattice/graph.h:37,
from ../../src/alps/lattice/unitcell.h:37,
from ../../src/alps/lattice/disorder.h:38,
from ../../src/alps/lattice/latticegraph.h:36,
from ../../src/alps/lattice/latticelibrary.h:35,
from ../../src/alps/lattice/graph_helper.h:34,
from ../../src/alps/model/basisdescriptor.h:36,
from ../../src/alps/model/hamiltonian.h:36,
from ../../src/alps/model/modellibrary.h:38,
from ../../src/alps/model/model_helper.h:33,
from ../../src/alps/scheduler/montecarlo.h:37,
from ../../src/alps/scheduler.h:31,
from ../../src/alps/parapack/worker_factory.h:34,
from ../../src/alps/parapack/worker_factory.C:28:
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning
This file includes at least one deprecated or antiquated header which
may be removed without further notice at a future date. Please use a
non-deprecated interface with equivalent functionality instead. For a
listing of replacement headers and interfaces, consult the file
backward_warning.h. To disable this warning use -Wno-deprecated.
libtool: compile: g++ -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG
-I/home/andrea/boost -g -O2 -MT worker_factory.lo -MD -MP
-MF .deps/worker_factory.Tpo -c ../../src/alps/parapack/worker_factory.C
-o worker_factory.o >/dev/null 2>&1
mv -f .deps/worker_factory.Tpo .deps/worker_factory.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../../src -I../../src -DNDEBUG -I/home/andrea/boost -g -O2 -MT
filelock.lo -MD -MP -MF .deps/filelock.Tpo -c -o filelock.lo `test -f
'../../src/alps/parapack/filelock.C' || echo
'./'`../../src/alps/parapack/filelock.C
libtool: compile: g++ -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG
-I/home/andrea/boost -g -O2 -MT filelock.lo -MD -MP
-MF .deps/filelock.Tpo -c ../../src/alps/parapack/filelock.C -fPIC
-DPIC -o .libs/filelock.o
In file included from /usr/include/fcntl.h:217,
from ../../src/alps/parapack/filelock.C:31:
In function ‘int open(const char*, int, ...)’,
inlined from ‘void alps::filelock::lock(int)’
at ../../src/alps/parapack/filelock.C:93:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’
declared with attribute error: open with O_CREAT in second argument
needs 3 arguments
make[2]: *** [filelock.lo] Error 1
make[2]: Leaving directory `/home/andrea/alps-20091207/lib/alps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andrea/alps-20091207/lib'
make: *** [all-recursive] Error 1
This occurs even if I select an older gcc complier, using the flag
--with-compiler=gcc-4.1.3.
I've not had trouble installing ALPS libraries in the past, so this may
well be an issue with Ubuntu 9.10, rather than the release candidate
itself. In any case, any help would be really appreciated.
Many Thanks,
Andrea