All users,
I have installed Alps.1.3.5 and got to my mind the good results ofconfiguration bellow. But after make command it shows very many error.What is wrong? I tried different boost options with prefix. Nothing changes after 'make' the same errorsare repeating. Something is connected with private note:class version_type {
private:
typedef uint_least32_t base_type;
base_type t;
public:
// should be private - but MPI fails if it's not!!!
version_type(): t(0) {};
explicit version_type(const unsigned int & t_) : t(t_){
assert(t_ <= boost::integer_traits<base_type>::const_max);
}orclass class_id_type {
private:
typedef int_least16_t base_type;
base_type t;
public:
// should be private - but then can't use BOOST_STRONG_TYPE below
class_id_type() : t(0) {};
explicit class_id_type(const int t_) : t(t_){
assert(t_ <= boost::integer_traits<base_type>::const_max);
}I can not edit: It is not possible! The boost prefix options doesn't influence to content of an archive file'basic_archive.h', where almost all errors are appeared. See, about all in attached make resultsThanks for your advises in advanceAlgis GarliauskasSummary of configuration:ALPS version 1.3.5prefix /home/ag/ALPScompiler type gnu [g++]optimization yesexceptions yeswarnings noBoost version svnMPI support noOpenMP support noHDF5 support noLAPACK support noSQLite support yesXML parser nativeDocumentation no..---...[ag@localhost ALPS]$ makeMaking all in libmake[1]: Entering directory `/ALPS/lib'Making all in comm-sglmake[2]: Entering directory `/ALPS/lib/comm-sgl'/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H-I../../src -I../../src -DNDEBUG -g -O2 -MT buffer.lo -MD -MP-MF .deps/buffer.Tpo -c -o buffer.lo `test -f'../../src/alps/osiris/buffer.C' || echo'./'`../../src/alps/osiris/buffer.Clibtool: compile: g++ -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG-g -O2 -MT buffer.lo -MD -MP -MF .deps/buffer.Tpo-c ../../src/alps/osiris/buffer.C -fPIC -DPIC -o .libs/buffer.oIn file included from ../../src/alps/osiris/dump.h:221:0,from ../../src/alps/osiris/buffer.C:32:/usr/include/boost/archive/basic_archive.hpp: In member function ‘voidalps::odump_archive::save_override(const boost::archive::version_type&,int)’:/usr/include/boost/archive/basic_archive.hpp:78:15: error:‘boost::archive::version_type::base_typeboost::archive::version_type::t’ is private../../src/alps/osiris/dumparchive.h:111:24: error: within this context/usr/include/boost/archive/basic_archive.hpp: In member function ‘voidalps::odump_archive::save_override(const boost::archive::class_id_type&,int)’:/usr/include/boost/archive/basic_archive.hpp:111:15: error:‘boost::archive::class_id_type::base_typeboost::archive::class_id_type::t’ is private../../src/alps/osiris/dumparchive.h:117:29: error: within this context/usr/include/boost/archive/basic_archive.hpp: In member function ‘voidalps::odump_archive::save_override(constboost::archive::class_id_reference_type&, int)’:/usr/include/boost/archive/basic_archive.hpp:111:15: error:‘boost::archive::class_id_type::base_typeboost::archive::class_id_type::t’ is private../../src/alps/osiris/dumparchive.h:123:29: error: within this context/usr/include/boost/archive/basic_archive.hpp: In member function ‘voidalps::odump_archive::save_override(constboost::archive::object_id_type&, int)’:/usr/include/boost/archive/basic_archive.hpp:150:15: error:‘boost::archive::object_id_type::base_typeboost::archive::object_id_type::t’ is private../../src/alps/osiris/dumparchive.h:129:30: error: within this context/usr/include/boost/archive/basic_archive.hpp: In member function ‘voidalps::odump_archive::save_override(constboost::archive::object_reference_type&, int)’:/usr/include/boost/archive/basic_archive.hpp:150:15: error:‘boost::archive::object_id_type::base_typeboost::archive::object_id_type::t’ is private../../src/alps/osiris/dumparchive.h:135:30: error: within this context../../src/alps/osiris/dumparchive.h: In member function ‘voidalps::idump_archive::load_override(boost::archive::class_id_reference_type&, int)’:../../src/alps/osiris/dumparchive.h:238:54: error: no matching functionfor call to‘boost::archive::class_id_reference_type::class_id_reference_type(int_least16_t&)’/usr/include/boost/archive/basic_archive.hpp:261:73: note: candidatesare:boost::archive::class_id_reference_type::class_id_reference_type(boost::archive::class_id_type)/usr/include/boost/archive/basic_archive.hpp:261:54: note:boost::archive::class_id_reference_type::class_id_reference_type(constboost::archive::class_id_reference_type&)../../src/alps/osiris/dumparchive.h: In member function ‘voidalps::idump_archive::load_override(boost::archive::object_reference_type&, int)’:../../src/alps/osiris/dumparchive.h:252:52: error: no matching functionfor call to‘boost::archive::object_reference_type::object_reference_type(uint_least32_t&)’/usr/include/boost/archive/basic_archive.hpp:263:72: note: candidatesare:boost::archive::object_reference_type::object_reference_type(boost::archive::object_id_type)/usr/include/boost/archive/basic_archive.hpp:263:53: note:boost::archive::object_reference_type::object_reference_type(constboost::archive::object_reference_type&)make[2]: *** [buffer.lo] Error 1make[2]: Leaving directory `/ALPS/lib/comm-sgl'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/ALPS/lib'make: *** [all-recursive] Error 1
--
Algis Garliauskas
Prof., Hab. dr. Vilnius UniversityInstitute of Mathematics & Informatics
Akademijos 4, LT-6883, Vilnius, Lithuania
Tel.:370 5 2109333