Dear Thomas,

I just updated alps and solved this problem.

1. Find your path of mpi-ext.h. For example,

>locate mpi-ext.h
/usr/include/openmpi-i386/mpi-ext.h

2. Make sure your MPI_INCLUDE_PATH is set correctly. Using "ccmake ." and in the advanced mode to see:

MPI_INCLUDE_PATH             /usr/include/openmpi-i386


3. Change the include line in the source code src/alps/ngs/ulfm.hpp from
#include /opt/openmpi-ft/include/mpi-ext.h
to
#include <mpi-ext.h>

4. Recompile again.

Regards,
Kuang-Shing Chen

On Fri, Jan 11, 2013 at 1:46 AM, Prof. Dr. Thomas Pruschke <pruschke@theorie.physik.uni-goettingen.de> wrote:
After the svn update ALPS does not compile any more:
in file src/alps/ngs/ulfm.hpp there is an explicit

#include /opt/openmpi-ft/include/mpi-ext.h

which I guess in all but a very special installation will fail to load.

After erasing the absolute path the compilation dies with

[ 61%] Building CXX object example/ising/CMakeFiles/ngs_ising_mpi_ulfm.dir/mpi_ulfm.cpp.o
In file included from /Users/thomaspruschke/c/alps/example/ising/mpi_ulfm.cpp:31:0:
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp: In member function 'void alps::mpisim_ng<Impl>::save(const boost::filesystem::path&) const':
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:90:25: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:90:25: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:94:25: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:94:25: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp: In member function 'typename alps::results_type<Impl>::type alps::mpisim_ng<Impl>::collect_results(const typename alps::result_names_type<S>::type&) const':
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:120:25: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:120:25: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:124:25: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:124:25: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp: In member function 'void alps::mpisim_ng<Impl>::check_communication()':
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:141:25: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:141:25: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:148:37: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:148:37: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:157:37: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:157:37: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:162:41: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:162:41: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:167:41: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:167:41: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:193:37: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:193:37: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:197:33: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/src/alps/ngs/scheduler/proto/mpisim_ulfm.hpp:197:33: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/example/ising/mpi_ulfm.cpp: In function 'int main(int, char**)':
/Users/thomaspruschke/c/alps/example/ising/mpi_ulfm.cpp:52:5: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/example/ising/mpi_ulfm.cpp:52:5: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/example/ising/mpi_ulfm.cpp:61:5: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/example/ising/mpi_ulfm.cpp:61:5: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/example/ising/mpi_ulfm.cpp:65:5: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/example/ising/mpi_ulfm.cpp:65:5: error: 'MPI_ERR_REVOKED' was not declared in this scope
/Users/thomaspruschke/c/alps/example/ising/mpi_ulfm.cpp:70:5: error: 'MPI_ERR_PROC_FAILED' was not declared in this scope
/Users/thomaspruschke/c/alps/example/ising/mpi_ulfm.cpp:70:5: error: 'MPI_ERR_REVOKED' was not declared in this scope
make[2]: *** [example/ising/CMakeFiles/ngs_ising_mpi_ulfm.dir/mpi_ulfm.cpp.o] Error 1
make[1]: *** [example/ising/CMakeFiles/ngs_ising_mpi_ulfm.dir/all] Error 2
make: *** [all] Error 2


--
Prof. Dr. Thomas Pruschke
Institute for Theoretical Physics
Friedrich-Hund-Platz 1
37077 Goettingen
Germany
Phone +49 551 39 7683
FAX     +49 551 39 9263


Am 10.01.2013 um 13:12 schrieb evanloon@physnet.uni-hamburg.de:

> Dear all,
>
> It seems that the alps src-with-boost downloads still contain an old (1.40) version of the boost src, which will not allow to compile ALPS.
>
> Best regards,
>
> Erik




--
Kuang-Shing Chen