I have put the current ALPS version (1.3b4) on the web. Before the final release there are only a few things that need to be fixed:
* correct structure factors for non-square and non-cubic lattices * add evaluation of custom measurements to fulldiag * finalize the documentation
Best regards
Matthias
I tried to install Alps 1.3b4 with Boost 1.34b on Bassi at NERSC (http://www.nersc.gov/nusers/systems/bassi/) which is a 64-bit Power5 system with XL compilers.
I posted the config and make log files online because the former was rather large.
http://mazziotti.uchicago.edu/jeff/config.log http://mazziotti.uchicago.edu/jeff/make.log
It should be noted that I have to decompress the Boost library in my scratch directory because of file system limitations in my home directory.
Here's the beginning of the error message:
"/scratch/scratchdirs/jhammond/boost_1_34_0/boost/filesystem/operations.hpp", line 732.72: 1540-1118 (S) The declaration of "end_itr" uses the undefined class "boost::filesystem::basic_directory_iterator<boost::filesystem::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char>
,boost::filesystem::path_traits> >" when the class must be complete.
I apologize if I missed something simple to arrive at this problem.
If anyone has installed ALPS at NERSC on any machines, please let me know. I don't really care which machine I can run on but I've had problems on most of them.
Thanks,
Jeff
Hi,
Yes, we are aware that Boost 1.34 does not work on the IBM. I suggest to continue using Boost 1.33.1 instead.
Matthias
On 1 May 2007, at 19:38, Jeff Hammond wrote:
I tried to install Alps 1.3b4 with Boost 1.34b on Bassi at NERSC (http://www.nersc.gov/nusers/systems/bassi/) which is a 64-bit Power5 system with XL compilers.
I posted the config and make log files online because the former was rather large.
http://mazziotti.uchicago.edu/jeff/config.log http://mazziotti.uchicago.edu/jeff/make.log
It should be noted that I have to decompress the Boost library in my scratch directory because of file system limitations in my home directory.
Here's the beginning of the error message:
"/scratch/scratchdirs/jhammond/boost_1_34_0/boost/filesystem/ operations.hpp", line 732.72: 1540-1118 (S) The declaration of "end_itr" uses the undefined class "boost::filesystem::basic_directory_iterator<boost::filesystem::basic_ path<std::basic_string<char,std::char_traits<char>,std::allocator<char
,boost::filesystem::path_traits> >" when the class must be
complete.
I apologize if I missed something simple to arrive at this problem.
If anyone has installed ALPS at NERSC on any machines, please let me know. I don't really care which machine I can run on but I've had problems on most of them.
Thanks,
Jeff
I used Boost 1.33 as suggested, and I still get an error. I think this is a compiler bug/error, not an ALPS problem, but I'd like some confirmation from people who know more than I.
Thanks,
Jeff
Configure command:
./configure --prefix=$HOME/alps --with-boost=$SCRATCH/boost_1_33_1 --with-compiler=ibm64 --with-essl="$ESSL" -with-lapack="$ESSL"
ESSL=-lesslsmp -lpesslsmp -lblacssmp -I/usr/lpp/pessl.rte.common/include/64
SCRATCH=/scratch/scratchdirs/jhammond
Compilation command:
make
Making all in lib Making all in alps source='../../src/alps/copyright.C' object='copyright.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/sh ../../config/depcomp /bin/sh ../../libtool --tag=CXX --mode=compile xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti -DBOOST_DISABLE_ASSERTS -w -c -o copyright.lo `test -f '../../src/alps/copyright.C' || echo './'`../../src/alps/copyright.C xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti -DBOOST_DISABLE_ASSERTS -w -c -M ../../src/alps/copyright.C -o copyright.o source='../../src/alps/expression/evaluator.C' object='evaluator.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/sh ../../config/depcomp /bin/sh ../../libtool --tag=CXX --mode=compile xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti -DBOOST_DISABLE_ASSERTS -w -c -o evaluator.lo `test -f '../../src/alps/expression/evaluator.C' || echo './'`../../src/alps/expression/evaluator.C xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti -DBOOST_DISABLE_ASSERTS -w -c -M ../../src/alps/expression/evaluator.C -o evaluator.o source='../../src/alps/osiris/xdrdump.C' object='xdrdump.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/sh ../../config/depcomp /bin/sh ../../libtool --tag=CXX --mode=compile xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti -DBOOST_DISABLE_ASSERTS -w -c -o xdrdump.lo `test -f '../../src/alps/osiris/xdrdump.C' || echo './'`../../src/alps/osiris/xdrdump.C xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti -DBOOST_DISABLE_ASSERTS -w -c -M ../../src/alps/osiris/xdrdump.C -o xdrdump.o source='../../src/alps/osiris/xdrcore.C' object='xdrcore.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/sh ../../config/depcomp /bin/sh ../../libtool --tag=CXX --mode=compile xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti -DBOOST_DISABLE_ASSERTS -w -c -o xdrcore.lo `test -f '../../src/alps/osiris/xdrcore.C' || echo './'`../../src/alps/osiris/xdrcore.C xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti -DBOOST_DISABLE_ASSERTS -w -c -M ../../src/alps/osiris/xdrcore.C -o xdrcore.o source='../../src/alps/parameter/parameter.C' object='parameter.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/sh ../../config/depcomp /bin/sh ../../libtool --tag=CXX --mode=compile xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti -DBOOST_DISABLE_ASSERTS -w -c -o parameter.lo `test -f '../../src/alps/parameter/parameter.C' || echo './'`../../src/alps/parameter/parameter.C xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti -DBOOST_DISABLE_ASSERTS -w -c -M ../../src/alps/parameter/parameter.C -o parameter.o source='../../src/alps/parameter/parameterlist.C' object='parameterlist.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/sh ../../config/depcomp /bin/sh ../../libtool --tag=CXX --mode=compile xlC_r -DHAVE_CONFIG_H -I../../src -I../.. /src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti -DBOOST_DISABLE_ASSERTS -w -c -o parameterlist.lo `test -f '../../src/alps/parameter/parameterlist.C' || echo './'`../../src/alps/parameter/parameterlist.C xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti -DB OOST_DISABLE_ASSERTS -w -c -M ../../src/alps/parameter/parameterlist.C -o parameterlist.o xlC_r: 1501-224 fatal error in /usr/vacpp/exe/xlCentry: signal 24 received make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop.
Matthias Troyer wrote:
Hi,
Yes, we are aware that Boost 1.34 does not work on the IBM. I suggest to continue using Boost 1.33.1 instead.
Matthias
On 1 May 2007, at 19:38, Jeff Hammond wrote:
I tried to install Alps 1.3b4 with Boost 1.34b on Bassi at NERSC (http://www.nersc.gov/nusers/systems/bassi/) which is a 64-bit Power5 system with XL compilers.
I posted the config and make log files online because the former was rather large.
http://mazziotti.uchicago.edu/jeff/config.log http://mazziotti.uchicago.edu/jeff/make.log
It should be noted that I have to decompress the Boost library in my scratch directory because of file system limitations in my home directory.
Here's the beginning of the error message:
"/scratch/scratchdirs/jhammond/boost_1_34_0/boost/filesystem/operations.hpp", line 732.72: 1540-1118 (S) The declaration of "end_itr" uses the undefined class "boost::filesystem::basic_directory_iterator<boost::filesystem::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char>
,boost::filesystem::path_traits> >" when the class must be complete.
I apologize if I missed something simple to arrive at this problem.
If anyone has installed ALPS at NERSC on any machines, please let me know. I don't really care which machine I can run on but I've had problems on most of them.
Thanks,
Jeff
The xlC compiler is indeed tricky but I managed to get things to work with xlC 6 and xlC 8. xlC 6 at least needs some patches to boost which I can send, but first please ll me which compiler you are using?
Matthias
On 3 May 2007, at 18:15, Jeff Hammond wrote:
I used Boost 1.33 as suggested, and I still get an error. I think this is a compiler bug/error, not an ALPS problem, but I'd like some confirmation from people who know more than I.
Thanks,
Jeff
Configure command:
./configure --prefix=$HOME/alps --with-boost=$SCRATCH/boost_1_33_1 --with-compiler=ibm64 --with-essl="$ESSL" -with-lapack="$ESSL"
ESSL=-lesslsmp -lpesslsmp -lblacssmp -I/usr/lpp/pessl.rte.common/ include/64
SCRATCH=/scratch/scratchdirs/jhammond
Compilation command:
make
Making all in lib Making all in alps source='../../src/alps/copyright.C' object='copyright.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/sh ../../config/depcomp / bin/sh ../../libtool --tag=CXX --mode=compile xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/ boost_1_33_1 -q64 -O2 -qrtti -DBOOST_DISABLE_ASSERTS -w -c -o copyright.lo `test -f '../../src/alps/copyright.C' || echo './'`../../src/alps/copyright.C xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/ scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti - DBOOST_DISABLE_ASSERTS -w -c -M ../../src/alps/copyright.C -o copyright.o source='../../src/alps/expression/evaluator.C' object='evaluator.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/ sh ../../config/depcomp /bin/sh ../../libtool --tag=CXX -- mode=compile xlC_r -DHAVE_CONFIG_H -I../../src -I../../src - DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 - qrtti -DBOOST_DISABLE_ASSERTS -w -c -o evaluator.lo `test -f '../../ src/alps/expression/evaluator.C' || echo './'`../../src/alps/ expression/evaluator.C xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/ scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti - DBOOST_DISABLE_ASSERTS -w -c -M ../../src/alps/expression/ evaluator.C -o evaluator.o source='../../src/alps/osiris/xdrdump.C' object='xdrdump.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/ sh ../../config/depcomp /bin/sh ../../libtool --tag=CXX -- mode=compile xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti - DBOOST_DISABLE_ASSERTS -w -c -o xdrdump.lo `test -f '../../src/alps/ osiris/xdrdump.C' || echo './'`../../src/alps/osiris/xdrdump.C xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/ scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti - DBOOST_DISABLE_ASSERTS -w -c -M ../../src/alps/osiris/xdrdump.C -o xdrdump.o source='../../src/alps/osiris/xdrcore.C' object='xdrcore.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/ sh ../../config/depcomp /bin/sh ../../libtool --tag=CXX -- mode=compile xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti - DBOOST_DISABLE_ASSERTS -w -c -o xdrcore.lo `test -f '../../src/alps/ osiris/xdrcore.C' || echo './'`../../src/alps/osiris/xdrcore.C xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/ scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti - DBOOST_DISABLE_ASSERTS -w -c -M ../../src/alps/osiris/xdrcore.C -o xdrcore.o source='../../src/alps/parameter/parameter.C' object='parameter.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/ sh ../../config/depcomp /bin/sh ../../libtool --tag=CXX -- mode=compile xlC_r -DHAVE_CONFIG_H -I../../src -I../../src - DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -q64 -O2 - qrtti -DBOOST_DISABLE_ASSERTS -w -c -o parameter.lo `test -f '../../ src/alps/parameter/parameter.C' || echo './'`../../src/alps/ parameter/parameter.C xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/ scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti - DBOOST_DISABLE_ASSERTS -w -c -M ../../src/alps/parameter/ parameter.C -o parameter.o source='../../src/alps/parameter/parameterlist.C' object='parameterlist.lo' libtool=yes DEPDIR=.deps depmode=aix / bin/sh ../../config/depcomp /bin/sh ../../libtool --tag=CXX -- mode=compile xlC_r -DHAVE_CONFIG_H -I../../src -I../.. /src -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 - q64 -O2 -qrtti -DBOOST_DISABLE_ASSERTS -w -c -o parameterlist.lo `test -f '../../src/alps/parameter/parameterlist.C' || echo './'`../../src/alps/parameter/parameterlist.C xlC_r -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -I/scratch/ scratchdirs/jhammond/boost_1_33_1 -q64 -O2 -qrtti -DB OOST_DISABLE_ASSERTS -w -c -M ../../src/alps/parameter/ parameterlist.C -o parameterlist.o xlC_r: 1501-224 fatal error in /usr/vacpp/exe/xlCentry: signal 24 received make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop.
Matthias Troyer wrote:
Hi, Yes, we are aware that Boost 1.34 does not work on the IBM. I suggest to continue using Boost 1.33.1 instead. Matthias On 1 May 2007, at 19:38, Jeff Hammond wrote:
I tried to install Alps 1.3b4 with Boost 1.34b on Bassi at NERSC (http://www.nersc.gov/nusers/systems/bassi/) which is a 64-bit Power5 system with XL compilers.
I posted the config and make log files online because the former was rather large.
http://mazziotti.uchicago.edu/jeff/config.log http://mazziotti.uchicago.edu/jeff/make.log
It should be noted that I have to decompress the Boost library in my scratch directory because of file system limitations in my home directory.
Here's the beginning of the error message:
"/scratch/scratchdirs/jhammond/boost_1_34_0/boost/filesystem/ operations.hpp", line 732.72: 1540-1118 (S) The declaration of "end_itr" uses the undefined class "boost::filesystem::basic_directory_iterator<boost::filesystem::basi c_path<std::basic_string<char,std::char_traits<char>,std::allocator< char> >,boost::filesystem::path_traits> >" when the class must be complete.
I apologize if I missed something simple to arrive at this problem.
If anyone has installed ALPS at NERSC on any machines, please let me know. I don't really care which machine I can run on but I've had problems on most of them.
Thanks,
Jeff
Matthias,
The default, which I used, is 7.0.0.2, and I just now tried 8.0.0.0 which gave a different error at a later point. Fortunately, Googling gave me the fix (C/F)FLAGS=-qnorm (turn off licensing) and got me through until linking. Linking did not go well (see below) but I suspect the fixes you alluded to will solve the problem.
I'm happy to use either compiler, whichever you say is better. I appreciate your help very much.
Jeff
==================================================================
Making all in lib Making all in alps Target "all" is up to date. Making all in comm-sgl Target "all" is up to date. Making all in comm-mpi Target "all" is up to date. Making all in heap Target "all" is up to date. Making all in xml Target "all" is up to date. Making all in . Target "all-am" is up to date. Target "all" is up to date. Making all in src Target "all" is up to date. Making all in tool source='compactrun.C' object='compactrun.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../config/depcomp xlC_r -DHAVE_CONFIG_H -I../src -I../src -qnolm -DNDEBUG -I/scratch/scratchdirs/jhammond/boost_1_33_1 -qnolm -c -o compactrun.o compactrun.C "/scratch/scratchdirs/jhammond/boost_1_33_1/boost/date_time/special_values_formatter.hpp", line 44.46: 1540-2907 (W) The subscript 3 is out of range. The valid range is 0 to 2. "/scratch/scratchdirs/jhammond/boost_1_33_1/boost/date_time/special_values_formatter.hpp", line 41.5: 1540-0700 (I) The previous message was produced while processing "boost::date_time::special_values_formatter<char,std::ostreambuf_iterator <char,std::char_traits<char> > >::special_values_formatter()". "/scratch/scratchdirs/jhammond/boost_1_33_1/boost/date_time/date_facet.hpp", line 82.7: 1540-0700 (I) The previous message was produced while processing "boost::date_time::date_facet<boost::gregorian::date,char,std::ostreambuf_iterator<char ,std::char_traits<char> > >::date_facet(::size_t)". "/scratch/scratchdirs/jhammond/boost_1_33_1/boost/date_time/gregorian/gregorian_io.hpp", line 56.30: 1540-0700 (I) The previous message was produced while processing "boost::gregorian::operator<< <char,std::char_traits<char>
(basic_ostream
<char,std::char_traits<char> > &, const date &)". "/scratch/scratchdirs/jhammond/boost_1_33_1/boost/date_time/gregorian/conversion.hpp", line 41.50: 1540-0700 (I) The previous message was produced while processing "boost::gregorian::to_tm(const date &)". /bin/sh ../libtool --tag=CXX --mode=link xlC_r -qnolm -qnolm -o compactrun compactrun.o ../lib/alps/libalps.la ../lib/comm-sgl/libcomm-sgl.la -lpthread -lm mkdir .libs xlC_r -qnolm -qnolm -o compactrun compactrun.o ../lib/alps/.libs/libalps.a ../lib/comm-sgl/.libs/libcomm-sgl.a -lpthread -lm
==================================================================
That was the last line which was not an error, and then the linker bombs and goes nuts with errors. The make.log file was 2GB, lines 371 on are errors just like below. Here is the last error message, indicative of the whole:
==================================================================
ld: 0711-212 SEVERE ERROR: Symbol .std::_Ptrit<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS,boost::property<alps::coordinate_t,std::vector<double,std::allocator<double>
,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> > >,boost::property<alps::edge_type_t,unsigned int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing,boost::property<alps::edge_vector_t,std::vector<double,std::allocator<double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std::allocator<double> ,boost::no_property> > > > ,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>
,boost::no_property> ,boost::vecS>,boost::vecS,boost::vecS,boost::undirectedS,boost::property<alps::coordinate_t,std::vector<double,std::allocator<double> ,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> > >,boost::property<alps::edge_type_t,unsigned int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing,boost::property<alps::edge_vector_t,std::vector<double,std::allocator<double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std::allocator<double> ,boost::no_property> > > > ,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>
,boost::no_property> ,boost::vecS>::config::stored_vertex,long,boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS,boost::property<alps::coordinate_t,std::vector<double,std::allocator<double> ,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> > >,boost::property<alps::edge_type_t,unsigned int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing,boost::property<alps::edge_vector_t,std::vector<double,std::allocator<double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std::allocator<double> ,boost::no_property> > > > ,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>
,boost::no_property> ,boost::vecS>,boost::vecS,boost::vecS,boost::undirectedS,boost::property<alps::coordinate_t,std::vector<double,std::allocator<double> ,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> > >,boost::property<alps::edge_type_t,unsigned int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing,boost::property<alps::edge_vector_t,std::vector<double,std::allocator<double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std::allocator<double> ,boost::no_property> > > > ,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>
,boost::no_property> ,boost::vecS>::config::stored_vertex*,boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS,boost::property<alps::coordinate_t,std::vector<double,std::allocator<double> ,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> > >,boost::property<alps::edge_type_t,unsigned int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing,boost::property<alps::edge_vector_t,std::vector<double,std::allocator<double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std::allocator<double> ,boost::no_property> > > > ,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>
,boost::no_property> ,boost::vecS>,boost::vecS,boost::vecS,boost::undirectedS,boost::property<alps::coordinate_t,std::vector<double,std::allocator<double> ,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> > >,boost::property<alps::edge_type_t,unsigned int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing,boost::property<alps::edge_vector_t,std::vector<double,std::allocator<double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std::allocator<double> ,boost::no_property> > > > ,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>
,boost::no_property> ,boost::vecS>::config::stored_vertex&,boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS,boost::property<alps::coordinate_t,std::vector<double,std::allocator<double> ,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> > >,boost::property<alps::edge_type_t,unsigned int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing,boost::property<alps::edge_vector_t,std::vector<double,std::allocator<double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std::allocator<double> ,boost::no_property> > > > ,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>
,boost::no_property> ,boost::vecS>,boost::vecS,boost::vecS,boost::undirectedS,boost::property<alps::coordinate_t,std::vector<double,std::allocator<double> ,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> > >,boost::property<alps::edge_type_t,unsigned int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing,boost::property<alps::edge_vector_t,std::vector<double,std::allocator<double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std::allocator<double> ,boost::no_property> > > > ,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>
,boost::no_property> ,boost::vecS>::config::stored_vertex*,boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS,boost::property<alps::coordinate_t,std::vector<double,std::allocator<double> ,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> > >,boost::property<alps::edge_type_t,unsigned int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing,boost::property<alps::edge_vector_t,std::vector<double,std::allocator<double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std::allocator<double> ,boost::no_property> > > > ,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>
,boost::no_property> ,boost::vecS>,boost::vecS,boost::vecS,boost::undirectedS,boost::property<alps::coordinate_t,std::vector<double,std::allocator<double> ,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> > >,boost::property<alps::edge_type_t,unsigned int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing,boost::property<alps::edge_vector_t,std::vector<double,std::allocator<double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std::allocator<double> ,boost::no_property> > > > ,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>
,boost::no_property> ,boost::vecS>::config::stored_vertex&>::operator--(), found in the
global symbol table of archive ../lib/alps/.libs/libalps.a, was not defined in archive member xml_oarchive.o. make: 1254-004 The error code from the last command is 12.
Stop. make: 1254-004 The error code from the last command is 1.
Stop.
Jeff,
I'm on my way from Berkeley to Zurich today and cannot access our IBM machine for enough time to test it today. When I'm home on the weekend I will check the current status on our IBM with 8.0.0.0 and will then let you know.
Matthias
On 4 May 2007, at 05:10, Jeff Hammond wrote:
Matthias,
The default, which I used, is 7.0.0.2, and I just now tried 8.0.0.0 which gave a different error at a later point. Fortunately, Googling gave me the fix (C/F)FLAGS=-qnorm (turn off licensing) and got me through until linking. Linking did not go well (see below) but I suspect the fixes you alluded to will solve the problem.
I'm happy to use either compiler, whichever you say is better. I appreciate your help very much.
Jeff
==================================================================
Making all in lib Making all in alps Target "all" is up to date. Making all in comm-sgl Target "all" is up to date. Making all in comm-mpi Target "all" is up to date. Making all in heap Target "all" is up to date. Making all in xml Target "all" is up to date. Making all in . Target "all-am" is up to date. Target "all" is up to date. Making all in src Target "all" is up to date. Making all in tool source='compactrun.C' object='compactrun.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../config/depcomp xlC_r - DHAVE_CONFIG_H -I../src -I../src -qnolm -DNDEBUG -I/scratch/ scratchdirs/jhammond/boost_1_33_1 -qnolm -c -o compactrun.o compactrun.C "/scratch/scratchdirs/jhammond/boost_1_33_1/boost/date_time/ special_values_formatter.hpp", line 44.46: 1540-2907 (W) The subscript 3 is out of range. The valid range is 0 to 2. "/scratch/scratchdirs/jhammond/boost_1_33_1/boost/date_time/ special_values_formatter.hpp", line 41.5: 1540-0700 (I) The previous message was produced while processing "boost::date_time::special_values_formatter<char,std::ostreambuf_itera tor <char,std::char_traits<char> > >::special_values_formatter()". "/scratch/scratchdirs/jhammond/boost_1_33_1/boost/date_time/ date_facet.hpp", line 82.7: 1540-0700 (I) The previous message was produced while processing "boost::date_time::date_facet<boost::gregorian::date,char,std::ostream buf_iterator<char ,std::char_traits<char> > >::date_facet(::size_t)". "/scratch/scratchdirs/jhammond/boost_1_33_1/boost/date_time/ gregorian/gregorian_io.hpp", line 56.30: 1540-0700 (I) The previous message was produced while processing "boost::gregorian::operator<< <char,std::char_traits<char> >(basic_ostream <char,std::char_traits<char> > &, const date &)". "/scratch/scratchdirs/jhammond/boost_1_33_1/boost/date_time/ gregorian/conversion.hpp", line 41.50: 1540-0700 (I) The previous message was produced while processing "boost::gregorian::to_tm (const date &)". /bin/sh ../libtool --tag=CXX --mode=link xlC_r -qnolm - qnolm -o compactrun compactrun.o ../lib/alps/libalps.la ../lib/ comm-sgl/libcomm-sgl.la -lpthread -lm mkdir .libs xlC_r -qnolm -qnolm -o compactrun compactrun.o ../lib/alps/.libs/ libalps.a ../lib/comm-sgl/.libs/libcomm-sgl.a -lpthread -lm
==================================================================
That was the last line which was not an error, and then the linker bombs and goes nuts with errors. The make.log file was 2GB, lines 371 on are errors just like below. Here is the last error message, indicative of the whole:
==================================================================
ld: 0711-212 SEVERE ERROR: Symbol .std::_Ptrit<boost::detail::adj_list_gen<boost::adjacency_list< boost::vecS,boost::vecS,boost::undirectedS,boost::property<alps::coord inate_t,std::vector<double,std::allocator<double>
,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> >
,boost::property<alps::edge_type_t,unsigned
int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing, boost::property<alps::edge_vector_t,std::vector<double,std::allocator< double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std:
:allocator<double> >,boost::no_property> > > >
,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::ch ar_traits<char>,std::allocator<char> >,boost::no_property>
,boost::vecS>,boost::vecS,boost::vecS,boost::undirectedS,boost::prope
rty<alps::coordinate_t,std::vector<double,std::allocator<double>
,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> >
,boost::property<alps::edge_type_t,unsigned
int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing, boost::property<alps::edge_vector_t,std::vector<double,std::allocator< double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std:
:allocator<double> >,boost::no_property> > > >
,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::ch ar_traits<char>,std::allocator<char> >,boost::no_property>
,boost::vecS>::config::stored_vertex,long,boost::detail::adj_list_gen
<boost::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS,boos t::property<alps::coordinate_t,std::vector<double,std::allocator<doubl e> >,boost::property<alps::parity_t,signed char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> >
,boost::property<alps::edge_type_t,unsigned
int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing, boost::property<alps::edge_vector_t,std::vector<double,std::allocator< double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std:
:allocator<double> >,boost::no_property> > > >
,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::ch ar_traits<char>,std::allocator<char> >,boost::no_property>
,boost::vecS>,boost::vecS,boost::vecS,boost::undirectedS,boost::prope
rty<alps::coordinate_t,std::vector<double,std::allocator<double>
,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> >
,boost::property<alps::edge_type_t,unsigned
int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing, boost::property<alps::edge_vector_t,std::vector<double,std::allocator< double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std:
:allocator<double> >,boost::no_property> > > >
,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::ch ar_traits<char>,std::allocator<char> >,boost::no_property>
,boost::vecS>::config::stored_vertex*,boost::detail::adj_list_gen<boo
st::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS,boost::p roperty<alps::coordinate_t,std::vector<double,std::allocator<double> > ,boost::property<alps::parity_t,signed char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> >
,boost::property<alps::edge_type_t,unsigned
int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing, boost::property<alps::edge_vector_t,std::vector<double,std::allocator< double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std:
:allocator<double> >,boost::no_property> > > >
,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::ch ar_traits<char>,std::allocator<char> >,boost::no_property>
,boost::vecS>,boost::vecS,boost::vecS,boost::undirectedS,boost::prope
rty<alps::coordinate_t,std::vector<double,std::allocator<double>
,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> >
,boost::property<alps::edge_type_t,unsigned
int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing, boost::property<alps::edge_vector_t,std::vector<double,std::allocator< double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std:
:allocator<double> >,boost::no_property> > > >
,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::ch ar_traits<char>,std::allocator<char> >,boost::no_property>
,boost::vecS>::config::stored_vertex&,boost::detail::adj_list_gen<boo
st::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS,boost::p roperty<alps::coordinate_t,std::vector<double,std::allocator<double> > ,boost::property<alps::parity_t,signed char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> >
,boost::property<alps::edge_type_t,unsigned
int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing, boost::property<alps::edge_vector_t,std::vector<double,std::allocator< double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std:
:allocator<double> >,boost::no_property> > > >
,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::ch ar_traits<char>,std::allocator<char> >,boost::no_property>
,boost::vecS>,boost::vecS,boost::vecS,boost::undirectedS,boost::prope
rty<alps::coordinate_t,std::vector<double,std::allocator<double>
,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> >
,boost::property<alps::edge_type_t,unsigned
int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing, boost::property<alps::edge_vector_t,std::vector<double,std::allocator< double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std:
:allocator<double> >,boost::no_property> > > >
,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::ch ar_traits<char>,std::allocator<char> >,boost::no_property>
,boost::vecS>::config::stored_vertex*,boost::detail::adj_list_gen<boo
st::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS,boost::p roperty<alps::coordinate_t,std::vector<double,std::allocator<double> > ,boost::property<alps::parity_t,signed char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> >
,boost::property<alps::edge_type_t,unsigned
int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing, boost::property<alps::edge_vector_t,std::vector<double,std::allocator< double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std:
:allocator<double> >,boost::no_property> > > >
,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::ch ar_traits<char>,std::allocator<char> >,boost::no_property>
,boost::vecS>,boost::vecS,boost::vecS,boost::undirectedS,boost::prope
rty<alps::coordinate_t,std::vector<double,std::allocator<double>
,boost::property<alps::parity_t,signed
char,boost::property<alps::vertex_type_t,unsigned int,boost::no_property> >
,boost::property<alps::edge_type_t,unsigned
int,boost::property<boost::edge_index_t,unsigned int,boost::property<alps::boundary_crossing_t,alps::boundary_crossing, boost::property<alps::edge_vector_t,std::vector<double,std::allocator< double>
,boost::property<alps::edge_vector_relative_t,std::vector<double,std:
:allocator<double> >,boost::no_property> > > >
,boost::property<alps::dimension_t,unsigned
long,boost::property<alps::graph_name_t,std::basic_string<char,std::ch ar_traits<char>,std::allocator<char> >,boost::no_property>
,boost::vecS>::config::stored_vertex&>::operator--(), found in the
global symbol table of archive ../lib/alps/.libs/libalps.a, was not defined in archive member xml_oarchive.o. make: 1254-004 The error code from the last command is 12.
Stop. make: 1254-004 The error code from the last command is 1.
Stop.
Hi Jeff,
I just tried again on our IBM system (which was down for a few days) and have no problem with xlC 8. I will nevertheless forward the patches which we needed for xlC 6 and xlC 7, although there we had compiler and not linker problems.
Another possibility to explore is to change the version number 700 to 800 in line 85 of src/alps/lattice/graphproperties.h . There is apparently a problem that when typenames get too long on some IBM systems the linker does not manage to mangle them correctly. We dropped some graph properties for these systems - the change will disable the calculation of superfluid densities and spin stiffnesses, but I guess it should then link.
Matthias
On May 4, 2007, at 2:10 PM, Jeff Hammond wrote:
Matthias,
The default, which I used, is 7.0.0.2, and I just now tried 8.0.0.0 which gave a different error at a later point. Fortunately, Googling gave me the fix (C/F)FLAGS=-qnorm (turn off licensing) and got me through until linking. Linking did not go well (see below) but I suspect the fixes you alluded to will solve the problem.
I'm happy to use either compiler, whichever you say is better. I appreciate your help very much.
Jeff
Matthias,
Don't worry about the xlC 6/7 patches. I got v.8 to work finally except for errors related to memory limits on the head-node, which NERSC told me how to fix.
Thanks,
Jeff
Matthias Troyer wrote:
Hi Jeff,
I just tried again on our IBM system (which was down for a few days) and have no problem with xlC 8. I will nevertheless forward the patches which we needed for xlC 6 and xlC 7, although there we had compiler and not linker problems.
Another possibility to explore is to change the version number 700 to 800 in line 85 of src/alps/lattice/graphproperties.h . There is apparently a problem that when typenames get too long on some IBM systems the linker does not manage to mangle them correctly. We dropped some graph properties for these systems - the change will disable the calculation of superfluid densities and spin stiffnesses, but I guess it should then link.
Matthias
On May 4, 2007, at 2:10 PM, Jeff Hammond wrote:
Matthias,
The default, which I used, is 7.0.0.2, and I just now tried 8.0.0.0 which gave a different error at a later point. Fortunately, Googling gave me the fix (C/F)FLAGS=-qnorm (turn off licensing) and got me through until linking. Linking did not go well (see below) but I suspect the fixes you alluded to will solve the problem.
I'm happy to use either compiler, whichever you say is better. I appreciate your help very much.
Jeff
Once you get it to run, please tell me what you needed to change so that we can update the configure script to support the NERSC machines.
Matthias
On May 10, 2007, at 2:46 PM, Jeff Hammond wrote:
Matthias,
Don't worry about the xlC 6/7 patches. I got v.8 to work finally except for errors related to memory limits on the head-node, which NERSC told me how to fix.
Thanks,
Jeff
Matthias Troyer wrote:
Hi Jeff, I just tried again on our IBM system (which was down for a few days) and have no problem with xlC 8. I will nevertheless forward the patches which we needed for xlC 6 and xlC 7, although there we had compiler and not linker problems. Another possibility to explore is to change the version number 700 to 800 in line 85 of src/alps/lattice/graphproperties.h . There is apparently a problem that when typenames get too long on some IBM systems the linker does not manage to mangle them correctly. We dropped some graph properties for these systems - the change will disable the calculation of superfluid densities and spin stiffnesses, but I guess it should then link. Matthias On May 4, 2007, at 2:10 PM, Jeff Hammond wrote:
Matthias,
The default, which I used, is 7.0.0.2, and I just now tried 8.0.0.0 which gave a different error at a later point. Fortunately, Googling gave me the fix (C/F)FLAGS=-qnorm (turn off licensing) and got me through until linking. Linking did not go well (see below) but I suspect the fixes you alluded to will solve the problem.
I'm happy to use either compiler, whichever you say is better. I appreciate your help very much.
Jeff
Hi,
I would like to know if it is possible to implement within ALPS hamiltonians with imaginary terms like:
H=-i*Sum_{<i,j>} ( K_{ij}*[b(i)*bdag(j)-bdag(i)*b(j)])
(b and bdag are the usual creation/annihilation operators, K_{ij} is a parameter and i is the complex unit, i^2=-1)
Thanks in advance.
J. Vijande University of Valencia.
Dear Javier Vijande,
I would like to know if it is possible to implement within ALPS hamiltonians with imaginary terms like:
H=-i*Sum_{<i,j>} ( K_{ij}*[b(i)*bdag(j)-bdag(i)*b(j)])
(b and bdag are the usual creation/annihilation operators, K_{ij} is a parameter and i is the complex unit, i^2=-1)
To express unit imaginary in model XML files, please use 'I' instead of 'i'. The ALPS expression and model libraries themselves fully support the complex numbers in the Hamiltonian. I believe full and sparse diag applications also support (complex) Hermitian matrices.
Best, Synge
Hi,
I have another question, I would like to include a term in the hamiltonian to be solved in a 2D 4x4 square lattice of the form
H_s= -alpha * (x_i y_j - x_j y_i)
where the x and y reflect the position of the nearest neighbors, i=(x_i,y_i) and j=(x_j,y_j). I was thinking to use a term in the model definition like
<BONDTERM type="1" source="i" target="j"> -alpha*(x(i)*y(j)-x(j)*y(i))) </BONDTERM>
Is this correct or I need to define x and y and modify the lattice somewhere?.
Thanks in advance.
J. Vijande University of Valencia.
From: Javier Vijande vijande@usal.es Date: Wed, 27 Jun 2007 10:17:33 +0200
I have another question, I would like to include a term in the hamiltonian to be solved in a 2D 4x4 square lattice of the form
H_s= -alpha * (x_i y_j - x_j y_i)
where the x and y reflect the position of the nearest neighbors, i=(x_i,y_i) and j=(x_j,y_j). I was thinking to use a term in the model definition like
<BONDTERM type="1" source="i" target="j"> -alpha*(x(i)*y(j)-x(j)*y(i))) </BONDTERM>
Is this correct or I need to define x and y and modify the lattice somewhere?.
No, currently site coordinate in BONDTERM is not supported. Although you can still use symbol 'x', 'y', etc, if you add
<INHOMOGENEOUS><EDGE/></INHOMOGENEOUS>
in your lattice definition (see, e.g., "inhomogeneous square lattice"), these symbols just return the coordinate of the bond center (not the coordinates of ends).
Best, Synge
On 29 Jun 2007, at 17:36, Synge Todo wrote:
From: Javier Vijande vijande@usal.es Date: Wed, 27 Jun 2007 10:17:33 +0200
I have another question, I would like to include a term in the hamiltonian to be solved in a 2D 4x4 square lattice of the form
H_s= -alpha * (x_i y_j - x_j y_i)
where the x and y reflect the position of the nearest neighbors, i=(x_i,y_i) and j=(x_j,y_j). I was thinking to use a term in the model definition like
<BONDTERM type="1" source="i" target="j"> -alpha*(x(i)*y(j)-x(j)*y(i))) </BONDTERM>
Is this correct or I need to define x and y and modify the lattice somewhere?.
No, currently site coordinate in BONDTERM is not supported. Although you can still use symbol 'x', 'y', etc, if you add
<INHOMOGENEOUS><EDGE/></INHOMOGENEOUS>
in your lattice definition (see, e.g., "inhomogeneous square lattice"), these symbols just return the coordinate of the bond center (not the coordinates of ends).
We can add the function x(i) and y(j) in the next release if there is a need and this cannot be done differentky. x and y are the bond0center coordinates. would they also be fine?
Matthias
Note: This isn't on the same machine as my other install problems thread.
This is for jacquard at NERSC, which is AMD with Pathscale and MVAPICH. I get the following error, and it's pretty obvious what the problem is, but I wonder if there is a way to get around this with compiler flags or something else. If not, NERSC tech support is going to fix it on their end.
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
///usr/common/nsg/mvapich/pathscale/mvapich-0.9.5-mlx1.0.3/lib/libpmpich++.a(intercepts.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC ///usr/common/nsg/mvapich/pathscale/mvapich-0.9.5-mlx1.0.3/lib/libpmpich++.a:
could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libcomm-mpi.la] Error 1 make[2]: Leaving directory `/u3/jhammond/ALPS/alps-1.3b5/lib/comm-mpi' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/u3/jhammond/ALPS/alps-1.3b5/lib' make: *** [install-recursive] Error 1
Here's my configure command:
./configure --prefix="$HOME/ALPS" --with-compiler=generic --with-boost="$SCRATCH/boost_1_33_1" --with-blas="$ACML" --with-lapack="$ACML" --with-mpi="$MPIHOME"
ACML=-L/usr/common/usg/acml/3.6.0/pathscale64/lib -lacml -lacml_mv
SCRATCH=/scratch/scratchdirs/jhammond
MPIHOME=/usr/common/nsg/mvapich/pathscale/mvapich-0.9.5-mlx1.0.3
Thanks,
Jeff
Two suggestions come to my mind:
1. try to compile only statically (use --disable-shared when configuring)
2. use xlC instead of xlC_r as the compiler (set the CXX environment variable when configuring)
On 3 May 2007, at 18:16, Jeff Hammond wrote:
Note: This isn't on the same machine as my other install problems thread.
This is for jacquard at NERSC, which is AMD with Pathscale and MVAPICH. I get the following error, and it's pretty obvious what the problem is, but I wonder if there is a way to get around this with compiler flags or something else. If not, NERSC tech support is going to fix it on their end.
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse- linux/bin/ld: ///usr/common/nsg/mvapich/pathscale/mvapich-0.9.5-mlx1.0.3/lib/ libpmpich++.a(intercepts.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC ///usr/common/nsg/mvapich/pathscale/mvapich-0.9.5-mlx1.0.3/lib/ libpmpich++.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libcomm-mpi.la] Error 1 make[2]: Leaving directory `/u3/jhammond/ALPS/alps-1.3b5/lib/comm-mpi' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/u3/jhammond/ALPS/alps-1.3b5/lib' make: *** [install-recursive] Error 1
Here's my configure command:
./configure --prefix="$HOME/ALPS" --with-compiler=generic --with-boost="$SCRATCH/boost_1_33_1" --with-blas="$ACML" --with-lapack="$ACML" --with-mpi="$MPIHOME"
ACML=-L/usr/common/usg/acml/3.6.0/pathscale64/lib -lacml -lacml_mv
SCRATCH=/scratch/scratchdirs/jhammond
MPIHOME=/usr/common/nsg/mvapich/pathscale/mvapich-0.9.5-mlx1.0.3
Thanks,
Jeff
comp-phys-alps-users@lists.phys.ethz.ch