Message: Re: file DOWNLOAD HASH mismatch Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: file DOWNLOAD HASH mismatch 

Forum: Installation and Configuration
Re: Question file DOWNLOAD HASH mismatch (Adel Pirnia)
Date: 24 Sep, 2014
From: Ben Morgan <Ben Morgan>

On Tue, 23 Sep 2014 16:51:14 GMT, Adel Pirnia wrote:
> It seems this is not just my problem... when I try make command after
> cmake command with the option "-DGEANT4_INSTALL_DATA=ON" in the end,
> this error will bw appeared:
> 
> [100%] Built target G4physicslists
> -- [download 32% complete]
> -- [download 33% complete]
> -- [download 34% complete]
> -- [download 35% complete]
> -- [download 36% complete]
> -- [download 37% complete]
> -- [download 38% complete]
> -- [download 39% complete]
> -- [download 40% complete]
> -- [download 41% complete]
> -- [download 42% complete]
> -- [download 43% complete]
> -- [download 44% complete]
> -- [download 45% complete]
> -- [download 46% complete]
> -- [download 47% complete]
> -- [download 48% complete]
> -- [download 49% complete]
> CMake Error at /home/adel/GEANT4/geant4.10.00.p02-build/Externals/G4NDL-4.4/src/G4NDL-stamp/download-G4NDL.cmake:9 (file):
>   file DOWNLOAD HASH mismatch
> 
>     for file: [/home/adel/GEANT4/geant4.10.00.p02-build/Externals/G4NDL-4.4/src/G4NDL.4.4.tar.gz]
>       expected hash: [cd8cc1d96aeb9b9ed37189edda26f5ad]
>         actual hash: [e8f98079cd8571d1d0d87d8a7a491b20]
> 
> make[2]: *** [Externals/G4NDL-4.4/src/G4NDL-stamp/G4NDL-download] Error
> 1 make[1]: *** [CMakeFiles/G4NDL.dir/all] Error 2 make: *** [all] Error
> 2
> 
> what is the problem and what should I do?
> 

This looks like the download of G4NDL.4.4.tar.gz timed out - it only gets to 49 percent complete. The NDL library is quite large, so if your connection is slow or drops frequently that can cause this kind of issue. The default time allowed for download is 1500 seconds (25 minutes), but this can be extended by setting the CMake variable GEANT4_INSTALL_DATA_TIMEOUT to a larger number, e.g. 3600 for 1 hour of allowed time. That can be donw via the ccmake interface, on on the command line via

$ cmake -DGEANT4_INSTALL_DATA_TIMEOUT=3600  

Cheers,

Ben.

 Add Message Add Message
to: "Re: file DOWNLOAD HASH mismatch"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]