Dear all,
I am reinstall alps-1.3.3 on my new Ubuntu. During the installation of alps-applications-1.3.3, I got the following message:
spinmc_factory.C: In constructor ?AbstractSpinSim<MAT>::AbstractSpinSim(const alps::ProcessList&, const alps::Parameters&, int) [with MAT = DiagMatrix<double, 3>]?: spinmc_factory.C:194: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.3/README.Bugs for instructions. make[2]: *** [spinmc_factory.o] Error 1 make[2]: Leaving directory `/usr/local/src/alps-applications-1.3.3/mc/spins' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/alps-applications-1.3.3/mc' make: *** [install-recursive] Error 1
I guess that this comes from boost library. Although I have tried many version, from 1.33.1 to 1.37.0, it does not work. Searching on the web does help, too.
Could anybody have a hint for me?
Thanks Huan Tran
----------------------------------------------------------------
Huan Tran wrote:
Dear all,
I am reinstall alps-1.3.3 on my new Ubuntu. During the installation of alps-applications-1.3.3, I got the following message:
spinmc_factory.C: In constructor ?AbstractSpinSim<MAT>::AbstractSpinSim(const alps::ProcessList&, const alps::Parameters&, int) [with MAT = DiagMatrix<double, 3>]?: spinmc_factory.C:194: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.3/README.Bugs for instructions. make[2]: *** [spinmc_factory.o] Error 1 make[2]: Leaving directory `/usr/local/src/alps-applications-1.3.3/mc/spins' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/alps-applications-1.3.3/mc' make: *** [install-recursive] Error 1
I guess that this comes from boost library. Although I have tried many version, from 1.33.1 to 1.37.0, it does not work. Searching on the web does help, too.
Could anybody have a hint for me?
Huan,
I had the same problem with Fedora, I guess there's something wrong with optimization flags in gcc 4.3. If you compile spinmc with -O0 or downgrade to gcc 4.2 it will work.
Miguel
Thanks Huan Tran
On 14 Jan 2009, at 08:52, Miguel Dias Costa wrote:
Huan Tran wrote:
Dear all,
I am reinstall alps-1.3.3 on my new Ubuntu. During the installation of alps-applications-1.3.3, I got the following message:
spinmc_factory.C: In constructor ? AbstractSpinSim<MAT>::AbstractSpinSim(const alps::ProcessList&, const alps::Parameters&, int) [with MAT = DiagMatrix<double, 3>]?: spinmc_factory.C:194: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.3/README.Bugs for instructions. make[2]: *** [spinmc_factory.o] Error 1 make[2]: Leaving directory `/usr/local/src/alps-applications-1.3.3/ mc/spins' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/alps-applications-1.3.3/ mc' make: *** [install-recursive] Error 1
I guess that this comes from boost library. Although I have tried many version, from 1.33.1 to 1.37.0, it does not work. Searching on the web does help, too.
Could anybody have a hint for me?
Huan,
I had the same problem with Fedora, I guess there's something wrong with optimization flags in gcc 4.3. If you compile spinmc with -O0 or downgrade to gcc 4.2 it will work.
-O0 makes for very slow codes. The error is in the compiler, not in the optimization flags.
Matthias
Based upon this:
spinmc_factory.C:194: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate.
it would seem that the compiler - not Boost - is the problem. It appears you're using GCC 4.3 but no information is provided about what platform you're on (results of `cat /proc/cpuinfo` and `uname -a`) or what compiler flags you're using (the default?). How much memory is on your machine? If you have a modest laptop, you may have to turn down optimization.
Try rolling back to GCC 4.2 or check to see if there is an update to GCC 4.3 which may solve your problem.
Best,
Jeff
On Wed, Jan 14, 2009 at 10:22 AM, Huan Tran tran@magnet.fsu.edu wrote:
Dear all,
I am reinstall alps-1.3.3 on my new Ubuntu. During the installation of alps-applications-1.3.3, I got the following message:
spinmc_factory.C: In constructor ?AbstractSpinSim<MAT>::AbstractSpinSim(const alps::ProcessList&, const alps::Parameters&, int) [with MAT = DiagMatrix<double, 3>]?: spinmc_factory.C:194: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.3/README.Bugs for instructions. make[2]: *** [spinmc_factory.o] Error 1 make[2]: Leaving directory `/usr/local/src/alps-applications-1.3.3/mc/spins' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/alps-applications-1.3.3/mc' make: *** [install-recursive] Error 1
I guess that this comes from boost library. Although I have tried many version, from 1.33.1 to 1.37.0, it does not work. Searching on the web does help, too.
Could anybody have a hint for me?
Thanks Huan Tran
comp-phys-alps-users@lists.phys.ethz.ch