Hello.

I've installed ALPS with conda, following these instructions:

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@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