Hi, thanks for looking into this.

The disk didn't fill up.

My last attempt at building had been interrupted by an OS-crash. I rectified the cmake error by emptying the build folder and rebuilding alps, after referring to this url: http://stackoverflow.com/questions/5713894/file-not-recognized-file-truncated-gcc-error/5713937. I'm sure there is a more efficient way to do this by locating the spurious object file and getting rid of it, than the rebuild way.

With regards,
Pradeep.

On 30 June 2016 at 22:27, Matthias Troyer <troyer@phys.ethz.ch> wrote:
Hi, one clue might be the error message "CMakeFiles/real_tests.dir/real_tests.C.o: file not recognized: File truncated”. Did your disk fill up?

> On 30 Jun 2016, at 03:39, pradeep thakur <pskvkthakur@gmail.com> wrote:
>
> Dear All,
>
> I'm attempting to build alps on an ubuntu 16.04 machine (xubuntu 16.04 LTS). I downloaded the package "alps-2.2.b4-src.tar.gz" and after installing all the dependencies, executed the following commands in the build folder:
>
> $sudo cmake Boost_ROOT_DIR:PATH=/usr/include/boost /home/user/alps-2.2.b4-src/alps
> $sudo make
>
> The last 12 lines of the output are given below.
>
>  - - -
> [ 83%] Built target vector_functions
> [ 84%] Built target matrix_ublas_sparse_functions
> [ 85%] Built target vector_valarray_conversion
> [ 85%] Linking CXX executable real_tests
> CMakeFiles/real_tests.dir/real_tests.C.o: file not recognized: File truncated
> collect2: error: ld returned 1 exit status
> test/numeric/CMakeFiles/real_tests.dir/build.make:129: recipe for target 'test/numeric/real_tests' failed
> make[2]: *** [test/numeric/real_tests] Error 1
> CMakeFiles/Makefile2:10185: recipe for target 'test/numeric/CMakeFiles/real_tests.dir/all' failed
> make[1]: *** [test/numeric/CMakeFiles/real_tests.dir/all] Error 2
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
>  - - -
>
> Thanks in advance for any help.
>
> regards,
> Pradeep Thakur,
> Dept. of Physics,
> Savitribai Phule Pune University,
> Pune, India.
>
>
> ----
> Comp-phys-alps-users Mailing List for the ALPS Project
> http://alps.comp-phys.org/
>
> List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users
> Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
>
> Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.



----
Comp-phys-alps-users Mailing List for the ALPS Project
http://alps.comp-phys.org/

List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users

Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.