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