Hello.
I've installed ALPS with conda, following these instructions:
http://alps.comp-phys.org/mediawiki/index.php/Installing_via_Conda_installer
Basically I've created the alps environment and installed it with the
following command: conda create -n alps -c conda-forge alps
It installs alps 2.3.0 py27_blas_openblas_5 and all the dependencies.
Well, here the problems started...
- Problem number one:
When I try to run the tutorial MC-01 Autocorrelations I received a lot of
errors related with HDF5, as shown below:
Halted Simulation 1
HDF5 error: -1
#0 H5D.c line 145 in H5Dcreate2(): unable to create dataset
#1 H5Dint.c line 490 in H5D__create_named(): unable to create and link
to dataset
#2 H5L.c line 1695 in H5L_link_object(): unable to create new link to
object
#3 H5L.c line 1939 in H5L_create_real(): can't insert link
#4 H5Gtraverse.c line 867 in H5G_traverse(): internal path traversal
failed
#5 H5Gtraverse.c line 639 in H5G_traverse_real(): traversal operator
failed
#6 H5L.c line 1731 in H5L_link_cb(): name already exists
Well, searching in the conda-forge I was able to check if another version
of alps was available...
So, I decided to install the alps 2.3.0 py27_blas_openblas_4 and it solved
my problem with HDF5.
With alps 2.3.0 py27_blas_openblas_4 version installed in the conda
environment I can run the MC-01 Autocorrelations tutorial with no errors,
but...
- Problem number two
At the documentation of the MC-01 Autocorrelations tutorial (and others) it
says if I want to run in parallel, using MPI, all I need to do is run the
following command:
mpirun -np 8 spinmc --mpi --Tmin 10 --write-xml parm1a.in.xml
But when I try to run (in my case -np 2) it returns the following messages:
This program has not been compiled for use with MPI
This program has not been compiled for use with MPI
When I ran it with the command: spinmc --Tmin 10 --write-xml parm1a.in.xml
it says:
using the ALPS parallelizing scheduler
copyright (c) 1994-2006 by Matthias Troyer <troyer(a)comp-phys.org>.
see Lecture Notes in Computer Science, Vol. 1505, p. 191 (1998).
But it seems not be the true
Remembering, I've installed ALPS with Conda in Ubuntu 20.04 because the
C/C++ compiler in my Ubuntu (version 9.3.0) does not compile ALPS sources,
it generates a lot of errors.
My question... is there a method to really run spinmc in parallel using
ALPS Conda installation?
Regards
--
Gilmar Bertolote Junior
Técnico em Informática - IFSC | USP
+55-16-3373-6818
www.ifsc.usp.br
Dear Sharareh Sayyad
alps + Z2 symmetry need to compile the source.
An installation note can be found in the following page.
https://www.jianshu.com/p/ae62c96d3224
I wish this note may be helpful.
Good luck.
Sun Zhao-Yu
sunzhaoyu2000(a)qq.com
----------------
---------- Origin message ----------
>From:comp-phys-alps-users-request(a)lists.phys.ethz.ch
>To:comp-phys-alps-users(a)lists.phys.ethz.ch
>Subject:Comp-phys-alps-users_Digest,_Vol_173,_Issue_1
>Date:2021-10-07 18:00:01Send Comp-phys-alps-users mailing list submissions to
comp-phys-alps-users(a)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(a)lists.phys.ethz.ch
You can reach the person managing the list at
comp-phys-alps-users-owner(a)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. Problem with running codes with Z2 symmetry (Sharareh SAYYAD)
----------------------------------------------------------------------
Message: 1
Date: Wed, 6 Oct 2021 12:47:44 +0200 (CEST)
From: Sharareh SAYYAD <sharareh.sayyad(a)neel.cnrs.fr>
To: comp-phys-alps-users <comp-phys-alps-users(a)lists.phys.ethz.ch>
Subject: [ALPS-users] Problem with running codes with Z2 symmetry
Message-ID:
<725616464.8601736.1633517264048.JavaMail.zimbra(a)neel.cnrs.fr>
Content-Type: text/plain; charset="utf-8"
Dear all,
I've been trying to run a code with Z2 symmetry.
I've first installed ALPS by the Conda installer.
The installation went well, and I was able to run test codes without the Z2 symmetry.
But upon turning on this symmetry to try "mps_optim," I received
Exception thrown:
I don't know this symmetry group. Please, check your compilation flags.
I've then found this issue on the GitHub
[ https://github.com/conda-forge/alps-feedstock/issues/12 | https://github.com/conda-forge/alps-feedstock/issues/12 ]
which seems to remain unresolved.
I've next attempted to run my code by ALPS installation using Mac ports.
I was again successful in installing and running tests except for codes with Z2 symmetry which a similar exception is raised.
I've also checked for the possibility of source package installation and followed steps suggested in this old thread
[ https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/2015/002815.html | https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/2015/002815.html ]
While the "CMake" step went well in this attempt, I got numerous errors when running "make," and this step failed around 22% progress.
I have tried to change my compiler by varying "CMAKE_CXX_FLAGS" but couldn't push the installation any further.
I have attached the "CMakeCache.txt" for reference.
Do you have any suggestions on making changes on either Conda or Port installation so that my code with Z2 symmetry starts working?
Best regards,
Sharareh Sayyad
Dear all,
I've been trying to run a code with Z2 symmetry.
I've first installed ALPS by the Conda installer.
The installation went well, and I was able to run test codes without the Z2 symmetry.
But upon turning on this symmetry to try "mps_optim," I received
Exception thrown:
I don't know this symmetry group. Please, check your compilation flags.
I've then found this issue on the GitHub
[ https://github.com/conda-forge/alps-feedstock/issues/12 | https://github.com/conda-forge/alps-feedstock/issues/12 ]
which seems to remain unresolved.
I've next attempted to run my code by ALPS installation using Mac ports.
I was again successful in installing and running tests except for codes with Z2 symmetry which a similar exception is raised.
I've also checked for the possibility of source package installation and followed steps suggested in this old thread
[ https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/2015/002815.html | https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/2015/002815.html ]
While the "CMake" step went well in this attempt, I got numerous errors when running "make," and this step failed around 22% progress.
I have tried to change my compiler by varying "CMAKE_CXX_FLAGS" but couldn't push the installation any further.
I have attached the "CMakeCache.txt" for reference.
Do you have any suggestions on making changes on either Conda or Port installation so that my code with Z2 symmetry starts working?
Best regards,
Sharareh Sayyad