Package Details: alps 2.2.b3_r7462-1

Git Clone URL: https://aur.archlinux.org/alps.git (read-only)
Package Base: alps
Description: Provides physics simulation code for strongly correlated quantum mechanical systems
Upstream URL: http://alps.comp-phys.org
Licenses: custom:ALPS
Submitter: kjslag
Maintainer: kjslag
Last Packager: kjslag
Votes: 3
Popularity: 0.000000
First Submitted: 2012-01-05 00:49
Last Updated: 2015-06-09 03:34

Latest Comments

kjslag commented on 2014-01-01 20:46

Awesome, that worked for me also. I fixed the PKGBUILD and upgraded it to ALPS 2.2.b1-r7195 (ALPS 2.1.1-r6176 still doesn't compile).

morealaz commented on 2014-01-01 05:20

I try installing alps 2.2 but those errors happened again, by advise from one of members of alps-user mailing list after cmake complain about those variables, I simply set them to empty string and configure again and it works for me and I finally install alps 2.2 on my system

morealaz commented on 2013-12-31 11:12

I think maybe its happen because of wrong boost version.
according to ALPS installation guide, ALPS 2.1.1 does not support Boost >= 1.51.0
but my current boost version is boost 1.55.0-4.
I didnt test it yet with Boost <= 1.51.0. and also alps 2.2.

kjslag commented on 2013-12-31 08:28

I get the same error. I don't know how to fix it.

morealaz commented on 2013-12-31 07:12

hi every one
I try to install alps, but I get following error from cmake:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
HDF5_dl_LIBRARY_DEBUG (ADVANCED)
HDF5_hdf5_LIBRARY_DEBUG (ADVANCED)
HDF5_hdf5_hl_LIBRARY_DEBUG (ADVANCED)
HDF5_m_LIBRARY_DEBUG (ADVANCED)
HDF5_pthread_LIBRARY_DEBUG (ADVANCED)
HDF5_z_LIBRARY_DEBUG (ADVANCED)

kjslag commented on 2012-07-24 01:34

I had to rebuild due to the recent boost update (1.49 -> 1.50)
I also changed 2 things:
- I uncommented the 'make' line (this was commented out by accident)
- I added 'ln -s ../../pyalps usr/lib/python2.7/site-packages/' to make python see alps (the alternative is to run with alpspython)

ziodm commented on 2012-06-06 14:27

As for the failed tests: all of them not very important, but developers promised to investigate this issue. When I build ALPS last time python-related tests was OK.
As for another package-related questions, I'm not familiar yet with the way how pacman installs/removes packages, so I can't say anything valuable.

kjslag commented on 2012-06-03 23:37

I updated the package. Only 6 of 98 tests failed.
I'm also installing into /usr now (instead of /opt/alps). I don't have a strong preference. I only changed it since I haven't written a setup file (to set any needed paths).

After installing, in order to get python2 to 'import pyalps', I had to do
sudo ln -s /usr/lib/pyalps /usr/lib/python2.7/site-packages/
Is there a way I'm supposed to do this? Or should I just add that into the package (it's currently commented out)?

94% tests passed, 6 tests failed out of 98
The following tests FAILED:
23 - test_deque (Failed)
24 - test_vector (Failed)
95 - python_hlist_test (Failed)
96 - python_mcdata (Failed)
97 - python_pyhdf5 (Failed)
98 - python_mcanalyze (Failed)

kjslag commented on 2012-06-03 19:50

Wow, thanks! I'll update the package.

ziodm commented on 2012-06-03 13:40

I've asked developers and they made some patches. Now latest version compiles without problems. Most of the tests also passed.

kjslag commented on 2012-05-13 20:18

It seems like a compiler version issue, but I'm not sure. However, even when the v2.0.2 package did compile, it didn't even pass the tests. So maybe there are other problems.

ziodm commented on 2012-05-13 11:18

I've tried all available versions of ALPS. With some of them I have the same error, with older ALPS releases I have errors

%] Building CXX object applications/dmft/qmc/CMakeFiles/dmft_qmc_impl.dir/externalsolver.C.o
In file included from /home/temp/alps_build/alps/applications/dmft/qmc/solver.h:39:0,
from /home/temp/alps_build/alps/applications/dmft/qmc/externalsolver.h:39,

Changing compiler from 4.7 to 4.4 helps to compile that files, but linking error appears immediately.

So, can it be compiler/libraries version issue?

kjslag commented on 2012-05-12 21:01

I get a build error when trying to build alps-2.0.3. Any ideas before I send an email upstream?

[ 33%] Building CXX object tool/CMakeFiles/convert2xml.dir/convert2xml.C.o
In file included from /home/k/alps/src/alps-2.0.3-src/alps/src/alps/python/pymcdata.cpp:34:0:
/home/k/alps/src/alps-2.0.3-src/alps/src/alps/alea/mcdata.hpp: In instantiation of ‘alps::alea::mcdata<T> alps::alea::asinh(alps::alea::mcdata<T>) [with T = std::vector<double>]’:
/home/k/alps/src/alps-2.0.3-src/alps/src/alps/python/pymcdata.cpp:326:104: required from here
/home/k/alps/src/alps-2.0.3-src/alps/src/alps/alea/mcdata.hpp:1050:9: error: invalid static_cast from type ‘<unresolved overloaded function type>’ to type ‘alps::alea::mcdata<std::vector<double> >::value_type (*)(alps::alea::mcdata<std::vector<double> >::value_type) {aka std::vector<double> (*)(std::vector<double>)}’
/home/k/alps/src/alps-2.0.3-src/alps/src/alps/alea/mcdata.hpp: In instantiation of ‘alps::alea::mcdata<T> alps::alea::acosh(alps::alea::mcdata<T>) [with T = std::vector<double>]’:
/home/k/alps/src/alps-2.0.3-src/alps/src/alps/python/pymcdata.cpp:327:104: required from here
/home/k/alps/src/alps-2.0.3-src/alps/src/alps/alea/mcdata.hpp:1051:9: error: invalid static_cast from type ‘<unresolved overloaded function type>’ to type ‘alps::alea::mcdata<std::vector<double> >::value_type (*)(alps::alea::mcdata<std::vector<double> >::value_type) {aka std::vector<double> (*)(std::vector<double>)}’
/home/k/alps/src/alps-2.0.3-src/alps/src/alps/alea/mcdata.hpp: In instantiation of ‘alps::alea::mcdata<T> alps::alea::atanh(alps::alea::mcdata<T>) [with T = std::vector<double>]’:
/home/k/alps/src/alps-2.0.3-src/alps/src/alps/python/pymcdata.cpp:328:104: required from here
/home/k/alps/src/alps-2.0.3-src/alps/src/alps/alea/mcdata.hpp:1052:9: error: invalid static_cast from type ‘<unresolved overloaded function type>’ to type ‘alps::alea::mcdata<std::vector<double> >::value_type (*)(alps::alea::mcdata<std::vector<double> >::value_type) {aka std::vector<double> (*)(std::vector<double>)}’
Linking CXX executable convert2xml

kjslag commented on 2012-01-05 00:50

The package builds (tested on x64). However most of the tests failed.