Dear ALPS users,
I'm trying to get started with ALPS, and I would like to ask if you have a suggestion concerning the following two test failures I encountered. I have a hunch they may be related to my particular choice of Linux/Compilers but maybe you have seen them before.
My setup: $ more /etc/fedora-release Fedora Core release 5 (Bordeaux) $ uname -a Linux caiman 2.6.15-1.2054_FC5 #1 SMP Tue Mar 14 15:48:20 EST 2006 x86_64 x86_64 x86_64 GNU/Linux $ which icc /opt/intel/cce/9.1.044/bin/icc $ ls -l /opt/intel/mkl/8.1.1/lib/em64t/libmkl_lapack.a -r--r--r-- 1 root root 14955956 Aug 11 08:34 /opt/intel/mkl/8.1.1/lib/em64t/libmkl_lapack.a
Now I get the following:
$ cd ./alps-1.3b3/test/model/ $ ./example3 HHardcoreBosonSite = *** glibc detected *** /home/jeschke/alps-1.3b3/test/model/.libs/lt-example3: double free or corruption (out): 0x00002ab9377db010 *** ======= Backtrace: ========= /lib64/libc.so.6[0x3af126d7a3] /lib64/libc.so.6(__libc_free+0x84)[0x3af126d924] /home/jeschke/alps-1.3b3/test/model/.libs/lt-example3[0x421c2e] /home/jeschke/alps-1.3b3/test/model/.libs/lt-example3(__gxx_personality_v0+0x2a4)[0x41129c] /lib64/libc.so.6(__libc_start_main+0xf4)[0x3af121d084] /home/jeschke/alps-1.3b3/test/model/.libs/lt-example3(_ZNSt8ios_base4InitD1Ev+0x41)[0x411099] ======= Memory map: ======== [if helpful I can send the memory map also.]
I compiled a version of example3 with -g and ran it in idb; I then get a signal SEGV in /home/jeschke/alps-1.3b3/src/alps/model/siteoperator.h line 180 mat[i][j].second=false; with i=1 and j=32781 which is called from the same file, line 130 boost::multi_array<T,2> matrix(boost::extents[f_matrix.shape()[0]][f_matrix.shape()[1]]); which is called from example3.C line 50 std::cout << "HHardcoreBosonSite =\n" << alps::get_matrix(Expression_(),lib.get_hamiltonian("hardcore boson",p,true).site_term(), lib.get_hamiltonian("hardcore boson").basis().site_basis()) << "\n";
The other problem (identical for example4 and example8):
$ ./example4 HHardcoreBoson = Caught exception: St9bad_alloc
This seems to occur in example4.C line 79 std::cout << "HHardcoreBoson = \n" << bondmatrix(lib,"hardcore boson") << "\n\n"; but I haven't been able to trace it further.
Best regards,
Harald Jeschke.
--------------------------------------------------------------------- Dr. Harald O. Jeschke | Email: jeschke@itp.uni-frankfurt.de | http://www.itp.uni-frankfurt.de/~jeschke/ --------------------------------------------------------------------- Head of Emmy Noether Junior Research Group | Institut fuer theoretische Physik | Phone: +49-69-798-47827 Johann Wolfgang Goethe-Universitaet | FAX: +49-69-798-47832 Max-von-Laue-Strasse 1 | 60438 Frankfurt/Main, GERMANY | ---------------------------------------------------------------------
Dear Harald,
From: Harald Jeschke jeschke@itp.uni-frankfurt.de Date: Mon, 8 Jan 2007 14:22:46 +0100 (CET)
I'm trying to get started with ALPS, and I would like to ask if you
have a suggestion concerning the following two test failures I encountered. I have a hunch they may be related to my particular choice of Linux/Compilers but maybe you have seen them before.
I have encountered the same test failures when I used boost-1_33_1 on my x86_64 box (CentOS 4.3, kernel 2.6.9, icc 9.1.045). Please try a newer version of boost, i.e. RC_1_34_0 or CVS HEAD. Recent snapshots are available from http://looper.t.u-tokyo.ac.jp/alps-jp/download/boost.
Best regards, Synge
comp-phys-alps-users@lists.phys.ethz.ch