Send Comp-phys-alps-users mailing list submissions to
comp-phys-alps-users@lists.phys.ethz.ch
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users
or, via email, send a message with subject or body 'help' to
comp-phys-alps-users-request@lists.phys.ethz.ch
You can reach the person managing the list at
comp-phys-alps-users-owner@lists.phys.ethz.ch
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Comp-phys-alps-users digest..."
Today's Topics:
1. Re: Challenge Installing Alps (Henry Otobrise)
2. Re: Challenge Installing Alps (Matthias Troyer)
3. Re: Challenge Installing Alps (Michele Dolfi)
4. Re: Defining Correlation Functions in Alps_mps_optim
(Michele Dolfi)
----------------------------------------------------------------------
Message: 1
Date: Mon, 9 Nov 2015 14:06:50 +0100
From: Henry Otobrise <henryotobrise@gmail.com>
To: comp-phys-alps-users@lists.phys.ethz.ch
Subject: Re: [ALPS-users] Challenge Installing Alps
Message-ID:
<CADM14OkM=+C-Gp5NMxJhcEjC+V=P5uET1RuuBArv4r7WJ0=UJA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Dear Prof. Troyer,
Thanks for the prompt response to my mail.
Yes, as advised in Bauer, et al (2011). I built Alps in /opt/alps
using the Cmake3.0 Gui.
The build process did not report any error until the make test stage
and the subsequent make install stage where I got the error messages I
reported earlier.
As you suggested, I, actually, ignored the warning on the Numpy API.
Thank you.
Best regards,
Henry Otobrise
Dept. Of Physics,
Obafemi Awolowo University,
Ile-Ife.
On 11/9/15, comp-phys-alps-users-request@lists.phys.ethz.ch
<comp-phys-alps-users-request@lists.phys.ethz.ch> wrote:
> Send Comp-phys-alps-users mailing list submissions to
> comp-phys-alps-users@lists.phys.ethz.ch
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users
> or, via email, send a message with subject or body 'help' to
> comp-phys-alps-users-request@lists.phys.ethz.ch
>
> You can reach the person managing the list at
> comp-phys-alps-users-owner@lists.phys.ethz.ch
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Comp-phys-alps-users digest..."
>
>
> Today's Topics:
>
> 1. Challenges Installing Alps 2.2.b4 version on Ubuntu 15.04
> (Henry Otobrise)
> 2. Re: Challenges Installing Alps 2.2.b4 version on Ubuntu 15.04
> (Matthias Troyer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 8 Nov 2015 16:30:42 +0100
> From: Henry Otobrise <henryotobrise@gmail.com>
> To: comp-phys-alps-users@lists.phys.ethz.ch
> Subject: [ALPS-users] Challenges Installing Alps 2.2.b4 version on
> Ubuntu 15.04
> Message-ID:
> <CADM14OkjcXzjxKr87smKCQxyExm9Li=V5g97zinE4D0+rzXZgQ@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Dear All,
> After waiting for the release of the Windows installer for the latest Alps
> 2.2.b4 version without success, I have eventually resolved to to build Alps
> from source on a Linux (Ubuntu 15.04) Os.
> However, I have some challenges that
> *I hope this platform can assit me with;*
>
> *1.) I am installing the Alps 2.2.b4 version using cmake-gui. However, I
> kept getting the following error messages after what looked like a
> successful make process when I*
>
>
>
>
>
>
>
> *i) 'make test':The following tests FAILED: 115 - expression
> (Failed)Errors while running CTestMakefile:137: recipe for target 'test'
> failedmake: *** [test] Error 8 *
>
>
> *and when I disregard the error from the 'make test' to*
>
> *ii) 'make install':*
>
>
>
>
>
>
>
>
>
> *CMake Error at lib/pyalps/cmake_install.cmake:490 (file): file INSTALL
> cannot find "/opt/alps/lib/pyalps/pyalea_c.so".Call Stack (most recent call
> first): cmake_install.cmake:131 (include)Makefile:66: recipe for target
> 'install' failedmake: *** [install] Error 1*
> Kindly advise on how to resolve these problems.
> 2.) While building Alps (i.e. while running make), I kept getting the
> warning; using deprecated Numpy API, disable it by" "#defining
> NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-wcpp]. Do I just ignore the
> warning or is there some thing I should do?
>
> Best regards,
>
> Henry K. Otobrise,
> Dept. of Physics and Engineering Physics,
> Obafemi Awolowo University,
> Ile-Ife,
> Nigeria.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20151108/2c231887/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 8 Nov 2015 17:17:43 +0000
> From: Matthias Troyer <troyer@phys.ethz.ch>
> To: comp-phys-alps-users@lists.phys.ethz.ch
> Subject: Re: [ALPS-users] Challenges Installing Alps 2.2.b4 version on
> Ubuntu 15.04
> Message-ID: <97C0A2DA-1503-41F9-BC87-5ABB6FC25700@phys.ethz.ch>
> Content-Type: text/plain; charset="us-ascii"
>
>
>> On 08 Nov 2015, at 15:30, Henry Otobrise <henryotobrise@gmail.com> wrote:
>>
>> Dear All,
>> After waiting for the release of the Windows installer for the latest
>> Alps 2.2.b4 version without success, I have eventually resolved to to
>> build Alps from source on a Linux (Ubuntu 15.04) Os.
>> However, I have some challenges that I hope this platform can assit me
>> with;
>> 1.) I am installing the Alps 2.2.b4 version using cmake-gui. However, I
>> kept getting the following error messages after what looked like a
>> successful make process when I
>> i) 'make test':
>> The following tests FAILED:
>> 115 - expression (Failed)
>> Errors while running CTest
>> Makefile:137: recipe for target 'test' failed
>> make: *** [test] Error 8
>>
>> and when I disregard the error from the 'make test' to
>>
>> ii) 'make install':
>>
>> CMake Error at lib/pyalps/cmake_install.cmake:490 (file):
>> file INSTALL cannot find "/opt/alps/lib/pyalps/pyalea_c.so".
>> Call Stack (most recent call first):
>> cmake_install.cmake:131 (include)
>>
>> Makefile:66: recipe for target 'install' failed
>> make: *** [install] Error 1
>>
>> Kindly advise on how to resolve these problems.
>
> This is a strange error. Can you please tell us in which directory and how
> you build ALPS? Do you by chance built it in /opt/alps?
>
>> 2.) While building Alps (i.e. while running make), I kept getting the
>> warning; using deprecated Numpy API, disable it by" "#defining
>> NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-wcpp]. Do I just ignore the
>> warning or is there some thing I should do?
>
> Yes, just ignore it.
>
>>
>> Best regards,
>>
>> Henry K. Otobrise,
>> Dept. of Physics and Engineering Physics,
>> Obafemi Awolowo University,
>> Ile-Ife,
>> Nigeria.
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20151108/9869c221/attachment-0001.html>
>
> End of Comp-phys-alps-users Digest, Vol 116, Issue 3
> ****************************************************
>
------------------------------
Message: 2
Date: Mon, 9 Nov 2015 14:15:54 +0100
From: Matthias Troyer <troyer@phys.ethz.ch>
To: comp-phys-alps-users@lists.phys.ethz.ch
Subject: Re: [ALPS-users] Challenge Installing Alps
Message-ID: <907B23E7-DC67-40F7-9922-B35B5A9B9250@phys.ethz.ch>
Content-Type: text/plain; charset=us-ascii
> On 09 Nov 2015, at 14:06, Henry Otobrise <henryotobrise@gmail.com> wrote:
>
> Dear Prof. Troyer,
> Thanks for the prompt response to my mail.
> Yes, as advised in Bauer, et al (2011). I built Alps in /opt/alps
> using the Cmake3.0 Gui.
ALPS should be installed in /opt/alps but may not be *built* there.
> The build process did not report any error until the make test stage
> and the subsequent make install stage where I got the error messages I
> reported earlier.
The errors you get are because you build in the install directory
> As you suggested, I, actually, ignored the warning on the Numpy API.
> Thank you.
> Best regards,
> Henry Otobrise
> Dept. Of Physics,
> Obafemi Awolowo University,
> Ile-Ife.
>
> On 11/9/15, comp-phys-alps-users-request@lists.phys.ethz.ch
> <comp-phys-alps-users-request@lists.phys.ethz.ch> wrote:
>> Send Comp-phys-alps-users mailing list submissions to
>> comp-phys-alps-users@lists.phys.ethz.ch
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users
>> or, via email, send a message with subject or body 'help' to
>> comp-phys-alps-users-request@lists.phys.ethz.ch
>>
>> You can reach the person managing the list at
>> comp-phys-alps-users-owner@lists.phys.ethz.ch
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Comp-phys-alps-users digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Challenges Installing Alps 2.2.b4 version on Ubuntu 15.04
>> (Henry Otobrise)
>> 2. Re: Challenges Installing Alps 2.2.b4 version on Ubuntu 15.04
>> (Matthias Troyer)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sun, 8 Nov 2015 16:30:42 +0100
>> From: Henry Otobrise <henryotobrise@gmail.com>
>> To: comp-phys-alps-users@lists.phys.ethz.ch
>> Subject: [ALPS-users] Challenges Installing Alps 2.2.b4 version on
>> Ubuntu 15.04
>> Message-ID:
>> <CADM14OkjcXzjxKr87smKCQxyExm9Li=V5g97zinE4D0+rzXZgQ@mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Dear All,
>> After waiting for the release of the Windows installer for the latest Alps
>> 2.2.b4 version without success, I have eventually resolved to to build Alps
>> from source on a Linux (Ubuntu 15.04) Os.
>> However, I have some challenges that
>> *I hope this platform can assit me with;*
>>
>> *1.) I am installing the Alps 2.2.b4 version using cmake-gui. However, I
>> kept getting the following error messages after what looked like a
>> successful make process when I*
>>
>>
>>
>>
>>
>>
>>
>> *i) 'make test':The following tests FAILED: 115 - expression
>> (Failed)Errors while running CTestMakefile:137: recipe for target 'test'
>> failedmake: *** [test] Error 8 *
>>
>>
>> *and when I disregard the error from the 'make test' to*
>>
>> *ii) 'make install':*
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *CMake Error at lib/pyalps/cmake_install.cmake:490 (file): file INSTALL
>> cannot find "/opt/alps/lib/pyalps/pyalea_c.so".Call Stack (most recent call
>> first): cmake_install.cmake:131 (include)Makefile:66: recipe for target
>> 'install' failedmake: *** [install] Error 1*
>> Kindly advise on how to resolve these problems.
>> 2.) While building Alps (i.e. while running make), I kept getting the
>> warning; using deprecated Numpy API, disable it by" "#defining
>> NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-wcpp]. Do I just ignore the
>> warning or is there some thing I should do?
>>
>> Best regards,
>>
>> Henry K. Otobrise,
>> Dept. of Physics and Engineering Physics,
>> Obafemi Awolowo University,
>> Ile-Ife,
>> Nigeria.
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20151108/2c231887/attachment-0001.html>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Sun, 8 Nov 2015 17:17:43 +0000
>> From: Matthias Troyer <troyer@phys.ethz.ch>
>> To: comp-phys-alps-users@lists.phys.ethz.ch
>> Subject: Re: [ALPS-users] Challenges Installing Alps 2.2.b4 version on
>> Ubuntu 15.04
>> Message-ID: <97C0A2DA-1503-41F9-BC87-5ABB6FC25700@phys.ethz.ch>
>> Content-Type: text/plain; charset="us-ascii"
>>
>>
>>> On 08 Nov 2015, at 15:30, Henry Otobrise <henryotobrise@gmail.com> wrote:
>>>
>>> Dear All,
>>> After waiting for the release of the Windows installer for the latest
>>> Alps 2.2.b4 version without success, I have eventually resolved to to
>>> build Alps from source on a Linux (Ubuntu 15.04) Os.
>>> However, I have some challenges that I hope this platform can assit me
>>> with;
>>> 1.) I am installing the Alps 2.2.b4 version using cmake-gui. However, I
>>> kept getting the following error messages after what looked like a
>>> successful make process when I
>>> i) 'make test':
>>> The following tests FAILED:
>>> 115 - expression (Failed)
>>> Errors while running CTest
>>> Makefile:137: recipe for target 'test' failed
>>> make: *** [test] Error 8
>>>
>>> and when I disregard the error from the 'make test' to
>>>
>>> ii) 'make install':
>>>
>>> CMake Error at lib/pyalps/cmake_install.cmake:490 (file):
>>> file INSTALL cannot find "/opt/alps/lib/pyalps/pyalea_c.so".
>>> Call Stack (most recent call first):
>>> cmake_install.cmake:131 (include)
>>>
>>> Makefile:66: recipe for target 'install' failed
>>> make: *** [install] Error 1
>>>
>>> Kindly advise on how to resolve these problems.
>>
>> This is a strange error. Can you please tell us in which directory and how
>> you build ALPS? Do you by chance built it in /opt/alps?
>>
>>> 2.) While building Alps (i.e. while running make), I kept getting the
>>> warning; using deprecated Numpy API, disable it by" "#defining
>>> NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-wcpp]. Do I just ignore the
>>> warning or is there some thing I should do?
>>
>> Yes, just ignore it.
>>
>>>
>>> Best regards,
>>>
>>> Henry K. Otobrise,
>>> Dept. of Physics and Engineering Physics,
>>> Obafemi Awolowo University,
>>> Ile-Ife,
>>> Nigeria.
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20151108/9869c221/attachment-0001.html>
>>
>> End of Comp-phys-alps-users Digest, Vol 116, Issue 3
>> ****************************************************
>>
>
------------------------------
Message: 3
Date: Mon, 9 Nov 2015 14:39:59 +0100
From: Michele Dolfi <dolfim@phys.ethz.ch>
To: comp-phys-alps-users@lists.phys.ethz.ch
Subject: Re: [ALPS-users] Challenge Installing Alps
Message-ID: <29B5754E-C136-490A-B076-20A146E18343@phys.ethz.ch>
Content-Type: text/plain; charset="us-ascii"
Dear Henry,
On Ubuntu you can install ALPS with the following commands:
## Get dependencies
apt-get -yq install build-essential gfortran cmake subversion \
libhdf5-serial-dev libfftw3-dev gfortran python-matplotlib \
python-scipy liblapack-dev xsltproc python-dev libboost-all-dev
## Download sources
mkdir -p $HOME/src/alps && cd $HOME/src/alps
svn co https://alps.comp-phys.org/svn/alps1/trunk/alps
## Compile and install ALPS
cd $HOME/src/alps
mkdir build && cd build
cmake ../alps
make -j4 # replace 4 by the number of cores on your (virtual) machine. make sure you have ca. 1GB of memory per core
make install
Michele
--
ETH Zurich
Michele Dolfi
Institute for Theoretical Physics
HIT G 32.4
Wolfgang-Pauli-Str. 27
8093 Zurich
Switzerland
dolfim@phys.ethz.ch
www.itp.phys.ethz.ch
+41 44 633 78 56 phone
+41 44 633 11 15 fax
> On Nov 9, 2015, at 2:15 PM, Matthias Troyer <troyer@phys.ethz.ch> wrote:
>
>
>> On 09 Nov 2015, at 14:06, Henry Otobrise <henryotobrise@gmail.com> wrote:
>>
>> Dear Prof. Troyer,
>> Thanks for the prompt response to my mail.
>> Yes, as advised in Bauer, et al (2011). I built Alps in /opt/alps
>> using the Cmake3.0 Gui.
>
> ALPS should be installed in /opt/alps but may not be *built* there.
>
>> The build process did not report any error until the make test stage
>> and the subsequent make install stage where I got the error messages I
>> reported earlier.
>
> The errors you get are because you build in the install directory
>
>> As you suggested, I, actually, ignored the warning on the Numpy API.
>> Thank you.
>> Best regards,
>> Henry Otobrise
>> Dept. Of Physics,
>> Obafemi Awolowo University,
>> Ile-Ife.
>>
>> On 11/9/15, comp-phys-alps-users-request@lists.phys.ethz.ch
>> <comp-phys-alps-users-request@lists.phys.ethz.ch> wrote:
>>> Send Comp-phys-alps-users mailing list submissions to
>>> comp-phys-alps-users@lists.phys.ethz.ch
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users
>>> or, via email, send a message with subject or body 'help' to
>>> comp-phys-alps-users-request@lists.phys.ethz.ch
>>>
>>> You can reach the person managing the list at
>>> comp-phys-alps-users-owner@lists.phys.ethz.ch
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of Comp-phys-alps-users digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>> 1. Challenges Installing Alps 2.2.b4 version on Ubuntu 15.04
>>> (Henry Otobrise)
>>> 2. Re: Challenges Installing Alps 2.2.b4 version on Ubuntu 15.04
>>> (Matthias Troyer)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Sun, 8 Nov 2015 16:30:42 +0100
>>> From: Henry Otobrise <henryotobrise@gmail.com>
>>> To: comp-phys-alps-users@lists.phys.ethz.ch
>>> Subject: [ALPS-users] Challenges Installing Alps 2.2.b4 version on
>>> Ubuntu 15.04
>>> Message-ID:
>>> <CADM14OkjcXzjxKr87smKCQxyExm9Li=V5g97zinE4D0+rzXZgQ@mail.gmail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Dear All,
>>> After waiting for the release of the Windows installer for the latest Alps
>>> 2.2.b4 version without success, I have eventually resolved to to build Alps
>>> from source on a Linux (Ubuntu 15.04) Os.
>>> However, I have some challenges that
>>> *I hope this platform can assit me with;*
>>>
>>> *1.) I am installing the Alps 2.2.b4 version using cmake-gui. However, I
>>> kept getting the following error messages after what looked like a
>>> successful make process when I*
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *i) 'make test':The following tests FAILED: 115 - expression
>>> (Failed)Errors while running CTestMakefile:137: recipe for target 'test'
>>> failedmake: *** [test] Error 8 *
>>>
>>>
>>> *and when I disregard the error from the 'make test' to*
>>>
>>> *ii) 'make install':*
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *CMake Error at lib/pyalps/cmake_install.cmake:490 (file): file INSTALL
>>> cannot find "/opt/alps/lib/pyalps/pyalea_c.so".Call Stack (most recent call
>>> first): cmake_install.cmake:131 (include)Makefile:66: recipe for target
>>> 'install' failedmake: *** [install] Error 1*
>>> Kindly advise on how to resolve these problems.
>>> 2.) While building Alps (i.e. while running make), I kept getting the
>>> warning; using deprecated Numpy API, disable it by" "#defining
>>> NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-wcpp]. Do I just ignore the
>>> warning or is there some thing I should do?
>>>
>>> Best regards,
>>>
>>> Henry K. Otobrise,
>>> Dept. of Physics and Engineering Physics,
>>> Obafemi Awolowo University,
>>> Ile-Ife,
>>> Nigeria.
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL:
>>> <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20151108/2c231887/attachment-0001.html>
>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Sun, 8 Nov 2015 17:17:43 +0000
>>> From: Matthias Troyer <troyer@phys.ethz.ch>
>>> To: comp-phys-alps-users@lists.phys.ethz.ch
>>> Subject: Re: [ALPS-users] Challenges Installing Alps 2.2.b4 version on
>>> Ubuntu 15.04
>>> Message-ID: <97C0A2DA-1503-41F9-BC87-5ABB6FC25700@phys.ethz.ch>
>>> Content-Type: text/plain; charset="us-ascii"
>>>
>>>
>>>> On 08 Nov 2015, at 15:30, Henry Otobrise <henryotobrise@gmail.com> wrote:
>>>>
>>>> Dear All,
>>>> After waiting for the release of the Windows installer for the latest
>>>> Alps 2.2.b4 version without success, I have eventually resolved to to
>>>> build Alps from source on a Linux (Ubuntu 15.04) Os.
>>>> However, I have some challenges that I hope this platform can assit me
>>>> with;
>>>> 1.) I am installing the Alps 2.2.b4 version using cmake-gui. However, I
>>>> kept getting the following error messages after what looked like a
>>>> successful make process when I
>>>> i) 'make test':
>>>> The following tests FAILED:
>>>> 115 - expression (Failed)
>>>> Errors while running CTest
>>>> Makefile:137: recipe for target 'test' failed
>>>> make: *** [test] Error 8
>>>>
>>>> and when I disregard the error from the 'make test' to
>>>>
>>>> ii) 'make install':
>>>>
>>>> CMake Error at lib/pyalps/cmake_install.cmake:490 (file):
>>>> file INSTALL cannot find "/opt/alps/lib/pyalps/pyalea_c.so".
>>>> Call Stack (most recent call first):
>>>> cmake_install.cmake:131 (include)
>>>>
>>>> Makefile:66: recipe for target 'install' failed
>>>> make: *** [install] Error 1
>>>>
>>>> Kindly advise on how to resolve these problems.
>>>
>>> This is a strange error. Can you please tell us in which directory and how
>>> you build ALPS? Do you by chance built it in /opt/alps?
>>>
>>>> 2.) While building Alps (i.e. while running make), I kept getting the
>>>> warning; using deprecated Numpy API, disable it by" "#defining
>>>> NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-wcpp]. Do I just ignore the
>>>> warning or is there some thing I should do?
>>>
>>> Yes, just ignore it.
>>>
>>>>
>>>> Best regards,
>>>>
>>>> Henry K. Otobrise,
>>>> Dept. of Physics and Engineering Physics,
>>>> Obafemi Awolowo University,
>>>> Ile-Ife,
>>>> Nigeria.
>>>
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL:
>>> <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20151108/9869c221/attachment-0001.html>
>>>
>>> End of Comp-phys-alps-users Digest, Vol 116, Issue 3
>>> ****************************************************
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20151109/e16f787d/attachment-0001.html>
------------------------------
Message: 4
Date: Mon, 9 Nov 2015 14:52:51 +0100
From: Michele Dolfi <dolfim@phys.ethz.ch>
To: comp-phys-alps-users@lists.phys.ethz.ch
Cc: Henry Otobrise <henryotobrise@gmail.com>
Subject: Re: [ALPS-users] Defining Correlation Functions in
Alps_mps_optim
Message-ID: <16F86924-9CC6-4F44-9C60-55D415E8A22F@phys.ethz.ch>
Content-Type: text/plain; charset="utf-8"
Dear Henry,
Here I will only reply to the measurements question, since you already posted the installation problem to the ALPS-Users mailing list, which is actually the right place for it.
You are lucky that you just want to measure something very similar to what a colleague of us is doing.
In general, special and models and measurements can be implemented in the XML description of the model library, which is documented on the ALPS website.
models: https://alps.comp-phys.org/mediawiki/index.php/Tutorials:ModelHOWTO
measurements: https://alps.comp-phys.org/mediawiki/index.php/Tutorials:MeasureHOWTO
As you find in the measurement tutorials, they the actual implementation may change a bit from application to application. What follows is specific to the MPS codes. You find more in our paper and in the online documentation of the input parameters
http://alps.comp-phys.org/static/mps_doc/parameters.html
1) Structure factor
We don?t support is directly in the MPS codes, but you can measure the density-density correlation function and then do the Fourier transform yourself.
MEASURE_CORRELATIONS[Density correlation] = ?n:n?
or (only for MPS codes) if you ok having only <Psi | n_i n_j | Psi> with i<j:
MEASURE_HALF_CORRELATIONS[Density correlation] = ?n:n?
2) String operator
You need to define the corresponding operator in you basis, e.g. (highlighted in red are the new parts)
<SITEBASIS name="boson">
<PARAMETER name="Nmax" default="infinity"/>
<PARAMETER name="rho" />
<QUANTUMNUMBER name="N" min="0" max="Nmax"/>
<OPERATOR name="bdag" matrixelement="sqrt(N+1)">
<CHANGE quantumnumber="N" change="1"/>
</OPERATOR>
<OPERATOR name="b" matrixelement="sqrt(N)">
<CHANGE quantumnumber="N" change="-1"/>
</OPERATOR>
<OPERATOR name="n" matrixelement="N"/>
<OPERATOR name="dn" matrixelement="rho-N" />
<OPERATOR name="String" matrixelement="cos(pi*(rho-N))" />
</SITEBASIS>
You can then use the MEASURE_LOCAL_AT measurement type (see documentation). Example in the parameters
Nmax=4
rho=2
MEASURE_LOCAL_AT[String - 2] = ?dn:String:String:dn|(1,2,3,4),(2,3,4,5),(3,4,5,6)"
MEASURE_LOCAL_AT[String - 4] = ?dn:String:String:String:String:dn|(1,2,3,4,5,6),(2,3,4,5,6,7),(3,4,5,6,7,8)"
3) Parity
You could proceed very similar to the String operator, but you have to define a full string with the size of your system.
Best regards,
Michele
--
ETH Zurich
Michele Dolfi
Institute for Theoretical Physics
HIT G 32.4
Wolfgang-Pauli-Str. 27
8093 Zurich
Switzerland
dolfim@phys.ethz.ch
www.itp.phys.ethz.ch
+41 44 633 78 56 phone
+41 44 633 11 15 fax
> On Nov 8, 2015, at 4:16 PM, Henry Otobrise <henryotobrise@gmail.com> wrote:
>
> Dear Michel,
> Thank you for your previous help on getting and using the Alps_mps_optim code. After waiting for the release of the Windows installer for the latest Alps version without success, I have eventually resolved to to build Alps from source on a Linux (Ubuntu 15.04) Os.
> However, I have some urgent question that I hope you can assit me with;
> 1.) I am installing the Alps 2.2.b4 version using cmake-gui. However, I kept getting the following error messages after what looked like a successful make process when I
> i) make test
> The following tests FAILED:
> 115 - expression (Failed)
> Errors while running CTest
> Makefile:137: recipe for target 'test' failed
> make: *** [test] Error 8
>
> and when I disregard the error from the make test to
>
> ii) make install
>
> CMake Error at lib/pyalps/cmake_install.cmake:490 (file):
> file INSTALL cannot find "/opt/alps/lib/pyalps/pyalea_c.so".
> Call Stack (most recent call first):
> cmake_install.cmake:131 (include)
>
> Makefile:66: recipe for target 'install' failed
> make: *** [install] Error 1
>
> Kindly advise on how to resolve these problems.
> 2.) While building Alps (i.e. while running make), I kept getting the warning; using deprecated Numpy API, disable it by" "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-wcpp]. Do I just ignore the warning or is there some thing I should do?
> 3.) How do I define, in the input parameter file for the Alps_mps_Optim code, the following correlation functions - Structure factor, S_k, the Parity Operator and the String Operator. Their definitions are given in the attached pdf file.
> Thank you,
> <HenrysDoc.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20151109/a2cfa0d4/attachment-0001.html>
End of Comp-phys-alps-users Digest, Vol 116, Issue 4
****************************************************