I was not able to compile ALPS 1.3.3 with GCC 4.3.1 but had no problems once I installed GCC 4.2.4 and compiled with that instead.
Hopefully this information will be of use to others who use a Linux distro which ships with GCC 4.3 and subsequently struggle to compile ALPS.
The only downside of this solution is that compiling GCC 4.2.4 takes a few hours with the default set of features.
Best,
Jeff
FYI, I have successfully compiled ALPS 1.3.3 with Boost 1.37.0 with GCC 4.3.1 as well as with GCC 4.3.2 on CentOS 5.2 (x86_64). This suggests that the compiler itself is not the problem.
Best, Synge
From: Jeff Hammond jeff.science@gmail.com Date: Wed, 21 Jan 2009 22:14:54 -0600
I was not able to compile ALPS 1.3.3 with GCC 4.3.1 but had no problems once I installed GCC 4.2.4 and compiled with that instead.
Hopefully this information will be of use to others who use a Linux distro which ships with GCC 4.3 and subsequently struggle to compile ALPS.
The only downside of this solution is that compiling GCC 4.2.4 takes a few hours with the default set of features.
Best,
Jeff
-- Jeff Hammond The University of Chicago http://home.uchicago.edu/~jhammond/
On Jan 21, 2009, at 8:14 PM, Jeff Hammond wrote:
I was not able to compile ALPS 1.3.3 with GCC 4.3.1 but had no problems once I installed GCC 4.2.4 and compiled with that instead.
Hopefully this information will be of use to others who use a Linux distro which ships with GCC 4.3 and subsequently struggle to compile ALPS.
The only downside of this solution is that compiling GCC 4.2.4 takes a few hours with the default set of features.
Which version of boost causes this problems with ALPS 1.3.3 and GCC 4.3.1?
I used Boost 1.34 that comes with openSUSE 11.0. Previously I downloaded and tried Boost 1.33 with GCC 4.3.1 and had problems there, too.
My basis for claiming that the issue was the compiler is that the only necessary step to solve the problem was to change from GCC 4.3.1 to 4.2.4. I also described this as "one solution" not the "exclusive solution" and I recognize that my issues using the openSUSE distro may not be identical to every other Linux distro on the planet.
Jeff
On Thu, Jan 22, 2009 at 1:07 AM, Matthias Troyer troyer@phys.ethz.ch wrote:
On Jan 21, 2009, at 8:14 PM, Jeff Hammond wrote:
I was not able to compile ALPS 1.3.3 with GCC 4.3.1 but had no problems once I installed GCC 4.2.4 and compiled with that instead.
Hopefully this information will be of use to others who use a Linux distro which ships with GCC 4.3 and subsequently struggle to compile ALPS.
The only downside of this solution is that compiling GCC 4.2.4 takes a few hours with the default set of features.
Which version of boost causes this problems with ALPS 1.3.3 and GCC 4.3.1?
On Jan 22, 2009, at 6:49 AM, Jeff Hammond wrote:
I used Boost 1.34 that comes with openSUSE 11.0. Previously I downloaded and tried Boost 1.33 with GCC 4.3.1 and had problems there, too.
My basis for claiming that the issue was the compiler is that the only necessary step to solve the problem was to change from GCC 4.3.1 to 4.2.4. I also described this as "one solution" not the "exclusive solution" and I recognize that my issues using the openSUSE distro may not be identical to every other Linux distro on the planet.
Thanks for your help! It might be easier to switch Boost versions than compiler. Could you or someone else with the same problem try to sownload Boost 1.37.0 and see whether that also solves the problem?
Matthias
I had no trouble compiling ALPS 1.33 with GCC 4.3.1 and Boost 1.37, and yes, it was much faster to do this than to install GCC.
Jeff
On Thu, Jan 22, 2009 at 9:36 AM, Matthias Troyer troyer@phys.ethz.ch wrote:
Thanks for your help! It might be easier to switch Boost versions than compiler. Could you or someone else with the same problem try to download Boost 1.37.0 and see whether that also solves the problem?
Matthias
comp-phys-alps-users@lists.phys.ethz.ch