Hi,
The function generate_spline_matrix in fouriertransform.C in the dmft
folder shows the comments as follows:
// A is the matrix whose inverse defines spline_matrix
//
// 6 6
// 1 4 1
// 1 4 1
// A = ...
//
// 1 4 1
// -2 0 0 2
However, the following codes,
dense_matrix A =
4*dt/6.*boost::numeric::ublas::identity_matrix<double>(Np1);
for (int i=1; i<Np1-1; i++) {
A(i,i-…
[View More]1) = dt/6.;
A(i,i+1) = dt/6.;
}
A(0,0) = 1.;
A(0, Np1-1) = 1.;
A(Np1-1, 0) = -2.*dt/6.;
A(Np1-1, 1) = -1.*dt/6.;
A(Np1-1, Np1-2) = 1*dt/6.;
A(Np1-1, Np1-1) = 2*dt/6.;
the red lines will make the matrix looks like
// 6 6
// 1 4 1
// 1 4 1
// A = ...
//
// 1 4 1
// -2 *-1* *1* 2
Is the comment correct or the code correct? Any reference for this
algorithm?
Thank you,
Kuang-Shing Chen
[View Less]
Dear All,
I'm using DMRG (bose-hubbard) with complex tunneling amplitudes, the
hamiltonian being hermitian, of course. The results in simple situation is
reasonable, i.e. the energy and local density are invariant by local U(1)
transformation. In addition, I am measuring the ODLRO, i.e. I have the
following line in the input file:
'MEASURE_CORRELATIONS[ODLRO]' : "bdag:b",
However, the results are always real numbers, whereas I would expect
complex numbers. Do they correspond to the real part …
[View More]of the correlation
function? Is there a way to get the imaginary part? thank you for you help.
my version of alps is: alps-2.1.1-r6176
regards,
Benoît Grémaud
--
--------------------
Researcher at CNRS, Laboratoire Kastler Brossel (Paris, France)
Visiting Associate Professor at the Centre for Quantum Technologies (NUS,
Singapore)
[View Less]
Dear All,
I'm using DMRG (bose-hubbard) with complex tunneling amplitudes, the
hamiltonian being hermitian, of course. The results in simple situation is
reasonable, i.e. the energy and local density are invariant by local U(1)
transformation. In addition, I am measuring the ODLRO, i.e. I have the
following line in the input file:
'MEASURE_CORRELATIONS[ODLRO]' : "bdag:b",
However, the results are always real numbers, whereas I would expect
complex numbers. Do they correspond to the real part …
[View More]of the correlation
function? Is there a way to get the imaginary part? thank you for you help.
my version of alps is: alps-2.1.1-r6176
regards,
Benoît Grémaud
--
--------------------
Researcher at CNRS, Laboratoire Kastler Brossel (Paris, France)
Visiting Associate Professor at the Centre for Quantum Technologies (NUS,
Singapore)
[View Less]
Hi all,
For a long time I used alps on ubuntu 12.04 and I had no problem with the
installation. Right know I wanted to try installing alps on ubuntu 13.10
and I encounter an problem that I can't solve.
I have extracted alps and boost (from
alps-2.1.1-r6176-src-with-boost.tar.gz) into separated folders in ~/src/.
I made an folder for building. I installed dependencies with
sudo apt-get install cmake-curses-gui libboost-all-dev libhdf5-serial-dev
libfftw3-dev gfortran python-matplotlib python-…
[View More]scipy python-h5py
liblapack-dev xsltproc python-dev
I found some problem with hdf5 when building alps, that does not existed in
ubuntu 12.04, so I installed hdf5 from sources like in:
http://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/release_docs/INSTALL
adding --enable-fortran configure option.
then I tried to execute in the build folder following command:
sudo cmake -D BLAS_LIBRARY=/usr/lib/libblas.so -D
LAPACK_LIBRARY=/usr/lib/liblapack.so -D PYTHON_LIBRARY=/usr/lib/
libpython2.7.so -D Boost_ROOT_DIR:PATH=/home/arymanus/src/alps2/boost
HDF5_LIBRARIES=/usr/local/hdf5/lib -D
HDF5_INCLUDE_DIR=/usr/local/hdf5/include/ /home/arymanus/src/alps2/alps
and result is below.
-- Build type: Release
-- Python interpreter /usr/bin/python
-- Python interpreter ok : version 2.7.5+
-- PYTHON_INCLUDE_DIRS = /usr/include/python2.7
-- PYTHON_NUMPY_INCLUDE_DIR =
/usr/lib/python2.7/dist-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages
-- PYTHON_LIBRARY = /usr/lib/libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- ALPS version: 2.1.1
-- Looking for Boost Source
-- Found Boost Source: /home/arymanus/src/alps2/boost
-- Boost Version: 1_49_0
-- MPI compiler was /usr/bin/mpicxx
-- SQLite Library: not found
-- LPSolve Library: not found
-- Could NOT find SZIP (missing: SZIP_LIBRARIES SZIP_INCLUDE_DIRS)
-- Found HDF5:
debug;/usr/lib/x86_64-linux-gnu/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;optimized;/usr/lib/x86_64-linux-gnu/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- HDF5: /usr/local/hdf5/include/;/usr/include
debug;/usr/lib/x86_64-linux-gnu/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;optimized;/usr/lib/x86_64-linux-gnu/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- Python interpreter /usr/bin/python
-- Python interpreter ok : version 2.7.5+
-- PYTHON_INCLUDE_DIRS = /usr/include/python2.7
-- PYTHON_NUMPY_INCLUDE_DIR =
/usr/lib/python2.7/dist-packages/numpy/core/include
-- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages
-- PYTHON_LIBRARY = /usr/lib/libpython2.7.so
-- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions
-- Numpy include in /usr/lib/python2.7/dist-packages/numpy/core/include
-- ALPS XML dir is /opt/alps/lib/xml
-- Adding Boost dir: /home/arymanus/src/alps2/boost
-- HDF5: /usr/local/hdf5/include/;/usr/include
debug;/usr/lib/x86_64-linux-gnu/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;optimized;/usr/lib/x86_64-linux-gnu/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- HDF5: /usr/local/hdf5/include/;/usr/include
debug;/usr/lib/x86_64-linux-gnu/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;optimized;/usr/lib/x86_64-linux-gnu/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND;HDF5_DLL-NOTFOUND;HDF5_HL_DLL-NOTFOUND
-- tebd will not be built
-- Configuring done
-- Generating done
-- Build files have been written to: /home/arymanus/src
I have no idea how to solve this problem I will be very glad for your help.
Best regards,
Rafał Skolasinski
[View Less]
Dear ALPS developers,
According to the new Tutorial(MC-01)[1], the default configuration interval
is set to 0.63. Why do you choose this value as default?
If this value is meant to be inside $\pm \sigma$, it should be around 0.6827
and not 0.63.
Is there a specific reason you choose this value?
[1] https://alps.comp-phys.org/mediawiki/index.php/ALPS_2_Tutorials:MC-01_Equil…
Best regards,
--
Ryo IGARASHI, Ph.D.
rigarash(a)issp.u-tokyo.ac.jp
OpenPGP fingerprint: BAD9 71E3 28F3 8952 5640 …
[View More]6A53 EC79 A280 6A19 2319
[View Less]