Hi Robert,

I was unable to reproduce the error. May you send me the complete build log?

Cheers 

Jens

Am Donnerstag, 19. Januar 2017 19:01:23 UTC+1 schrieb Robert Elder:
>
> Hi Users:
>
> I just wanted to share a Votca compilation problem and solution I 
> encountered recently. When running the build.sh script, as described here (
> https://github.com/votca/csg/wiki/Installing#from-source), I encountered 
> this error:
>
> [snip]
>
> cleaning tools
> buidling tools
> Scanning dependencies of target votca_tools_manpages
> [  0%] Built target votca_tools_manpages
> Scanning dependencies of target intel
> Scanning dependencies of target gitversion
> Current git revision is 7ca4a6d
> [  0%] Built target gitversion
> Scanning dependencies of target votca_tools
> [  2%] Creating directories for 'intel'
> [  4%] Performing download step (download, verify and extract) for 'intel'
> [  7%] -- downloading...
>      src='
> http://software.intel.com/sites/default/files/managed/76/8c/intel-mkl-and-boost-example.zip
> '
>      dst=
> '/p/home/elderr/src/votca/src/tools/intel/src/intel-mkl-and-boost-example.zip'
>      timeout='none'
> [  9%] Building CXX object src/libtools/CMakeFiles/votca_tools.dir/
> datacollection.cc.o
> CMake Error at intel-stamp/download-intel.cmake:9 (file):
>   file DOWNLOAD HASH mismatch
>
>     for file: [/p/home/elderr/src/votca/src/tools/intel/src/intel-mkl-and-
> boost-example.zip]
>       expected hash: [b957ee63a2167ad21b650b47726cd55c]
>         actual hash: [d41d8cd98f00b204e9800998ecf8427e]
>
>
>
> make[2]: *** [intel/src/intel-stamp/intel-download] Error 1
> make[1]: *** [CMakeFiles/intel.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
>
> [snip]
>
> Basically CMake failed because the hashes on 
> intel-mkl-and-boost-example.zip did not match -- the reason being that the 
> downloaded intel-mkl-and-boost-example.zip was a zero byte file! I have no 
> idea why; perhaps some obscure problem on our machine. I don't know CMake 
> well enough, but it seems to be running with multiple threads -- maybe a 
> race condition on download vs. hash? Just speculation.
>
> Anyway I solved this by downloading the 'src' file from 
> http://software.intel.com manually and putting it in the required 
> location ('dst'). Then I reran the build script, it picked up where it left 
> off and completed without a problem.
>
> Hopefully that helps someone. Thanks for this great tool!
> -Robert Elder
>

-- 
You received this message because you are subscribed to the Google Groups 
"votca" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/votca.
For more options, visit https://groups.google.com/d/optout.

Reply via email to